Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Function to increase head size and adjust transparency
- local function increaseHeadSize(newSize)
- for _, player in ipairs(game.Players:GetPlayers()) do
- if player ~= game.Players.LocalPlayer then -- Exclude the local player
- local character = player.Character
- if character then
- local humanoid = character:FindFirstChildOfClass("Humanoid")
- if humanoid then
- humanoid.PlatformStand = false -- Make player movable
- local head = character:FindFirstChild("Head")
- if head then
- head.Size = Vector3.new(newSize, newSize, newSize)
- head.Transparency = 0.5
- end
- end
- end
- end
- end
- end
- -- Create GUI
- local gui = Instance.new("ScreenGui")
- gui.IgnoreGuiInset = true -- Hide from other players
- gui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- local frame = Instance.new("Frame")
- frame.Size = UDim2.new(0, 200, 0, 150)
- frame.Position = UDim2.new(0.5, -100, 0.5, -75)
- frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- frame.BorderSizePixel = 2
- frame.Active = true
- frame.Draggable = true
- frame.Parent = gui
- local scriptName = Instance.new("TextLabel")
- scriptName.Size = UDim2.new(1, 0, 0, 30)
- scriptName.Position = UDim2.new(0, 0, 0, 0)
- scriptName.Text = "Head Hitbox Expander V1 by chatgpt and Mawin_CK"
- scriptName.TextColor3 = Color3.fromRGB(0, 0, 0)
- scriptName.TextSize = 18
- scriptName.Parent = frame
- local button = Instance.new("TextButton")
- button.Size = UDim2.new(0, 150, 0, 50)
- button.Position = UDim2.new(0.5, -75, 0.5, -25)
- button.BackgroundColor3 = Color3.fromRGB(100, 200, 100)
- button.TextColor3 = Color3.fromRGB(255, 255, 255)
- button.Text = "Press Me"
- button.Parent = frame
- local numberSelection = Instance.new("TextBox")
- numberSelection.Size = UDim2.new(0, 150, 0, 20)
- numberSelection.Position = UDim2.new(0.5, -75, 1, -40)
- numberSelection.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- numberSelection.TextColor3 = Color3.fromRGB(0, 0, 0)
- numberSelection.Text = "Enter Size"
- numberSelection.Parent = frame
- -- Connect button click event
- button.MouseButton1Click:Connect(function()
- print("Pressed") -- Print "Pressed" to output
- local newSize = tonumber(numberSelection.Text)
- if newSize then
- increaseHeadSize(newSize)
- game.Players.LocalPlayer.Character:WaitForChild("Humanoid").PlatformStand = false -- Make local player movable
- else
- print("Invalid size")
- end
- end)
Advertisement
Comments
-
- Here the short execute of this script
- loadstring(game:HttpGet("https://pastefy.app/nN4ADZ93/raw"))()
- WARNING IF YOU PUT TOO MUCH VALUE THAN 5 I RECOMMEND PUT VAULE "5" ON PLAYER HEAD IS WILL MAKE PLAYER FREEZE
- (Actually you can put as much as you want if you didn't use it for cheat)
Add Comment
Please, Sign In to add comment
Advertisement