RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"there is a button at the top of the screen when you click it you grow by 1"
-- local script (StarterGUI) local player = game.Players.LocalPlayer local screenGui = Instance.new("ScreenGui", player.PlayerGui) local growButton = Instance.new("TextButton", screenGui) growButton.Text = "Grow" growButton.TextColor3 = Color3.fromRGB(255, 255, 255) growButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0) growButton.Position = UDim2.new(0.5, 0, 0, 0) growButton.AnchorPoint = Vector2.new(0.5, 0) local function growPlayer() local character = player.Character if character then local humanoid = character:FindFirstChild("Humanoid") if humanoid then humanoid.BodyHeightScale.Value = humanoid.BodyHeightScale.Value + 1 humanoid.BodyWidthScale.Value = humanoid.BodyWidthScale.Value + 1 humanoid.BodyDepthScale.Value = humanoid.BodyDepthScale.Value + 1 end end end growButton.MouseButton1Click:Connect(growPlayer)