Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- owner.Chatted:Connect(function(message)
- if message:sub(1,6) == "//size" then
- local size = message:sub(8)
- local Char = owner.Character
- local Human = Char:WaitForChild("Humanoid")
- for s = Human.BodyHeightScale.Value,tonumber(size),(tonumber(size) - Human.BodyHeightScale.Value)/100 do
- Human.BodyWidthScale.Value = s
- Human.BodyDepthScale.Value = s
- Human.BodyHeightScale.Value = s
- Human.HeadScale.Value = s
- wait()
- end
- end
- if message:sub(1,6) == "//jump" then
- local jump = message:sub(8)
- local Char = owner.Character
- local Human = Char:WaitForChild("Humanoid")
- Human.JumpPower = jump
- end
- if message:sub(1,7) == "//speed" then
- local speed = message:sub(9)
- local Char = owner.Character
- local Human = Char:WaitForChild("Humanoid")
- Human.WalkSpeed = speed
- end
- if message:sub(1, 8) == "//health" then
- local health = tonumber(message:sub(10))
- local hum = owner.Character.Humanoid
- if health > hum.MaxHealth then
- hum.MaxHealth = health
- hum.Health = health
- else
- hum.Health = health
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement