Untitled
local ScreenGui = Instance.new("ScreenGui") local main = Instance.new("Frame") local label = Instance.new("TextLabel") local Hitbox = Instance.new("TextButton") ScreenGui.Parent = game.CoreGui main.Name = "main" main.Parent = ScreenGui main.BackgroundColor3 = Color3.fromRGB(255, 0, 0) main.Position = UDim2.new(0.404, 0, 0.346, 0) main.Size = UDim2.new(0, 100, 0, 100) main.Active = true main.Draggable = true label.Name = "label" label.Parent = main label.BackgroundColor3 = Color3.fromRGB(139, 0, 0) label.Size = UDim2.new(0, 100, 0, 20) label.Font = Enum.Font.SourceSans label.Text = "Hitbox Gui" label.TextColor3 = Color3.fromRGB(0, 0, 0) label.TextScaled = true label.TextSize = 5.000 label.TextWrapped = true Hitbox.Name = "Hitbox" Hitbox.Parent = main Hitbox.BackgroundColor3 = Color3.fromRGB(0, 0, 255) Hitbox.Position = UDim2.new(0.114, 0, 0.372, 0) Hitbox.Size = UDim2.new(0, 90, 0, 40) Hitbox.Font = Enum.Font.SourceSans Hitbox.Text = "Hitbox" Hitbox.TextColor3 = Color3.fromRGB(0, 0, 0) Hitbox.TextSize = 40.000 local legSize = 12 local isDisabled = true Hitbox.MouseButton1Down:Connect(function() game:GetService('RunService').RenderStepped:Connect(function() if isDisabled then for _, player in ipairs(game:GetService('Players'):GetPlayers()) do if player ~= game:GetService('Players').LocalPlayer and player.Character then local leftLeg = player.Character:FindFirstChild("LeftLeg") local rightLeg = player.Character:FindFirstChild("RightLeg") if leftLeg and rightLeg then pcall(function() leftLeg.Size = Vector3.new(legSize, legSize, legSize) leftLeg.Transparency = 0.7 leftLeg.BrickColor = BrickColor.new("Really black") leftLeg.Material = Enum.Material.Neon leftLeg.CanCollide = false rightLeg.Size = Vector3.new(legSize, legSize, legSize) rightLeg.Transparency = 0.7 rightLeg.BrickColor = BrickColor.new("Really black") rightLeg.Material = Enum.Material.Neon rightLeg.CanCollide = false end) end end end end end) end)
Leave a Comment