Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local re = Instance.new("RemoteEvent",game.ReplicatedStorage)
- re.Name = "Size"
- local Re = Instance.new("RemoteEvent",game.ReplicatedStorage)
- Re.Name = "Jump"
- NLS([[
- owner.Chatted:Connect(function(message)
- if message:sub(1,6) == "//size" then
- size = message:sub(8)
- game.ReplicatedStorage.Size:FireServer(size)
- end
- if message:sub(1,6) == "//jump" then
- jump = message:sub(8)
- game.ReplicatedStorage.Jump:FireServer(jump)
- end)
- ]], owner.Character)
- game.ReplicatedStorage.Size.OnServerEvent:Connect(function(player,size)
- Char = player.Character
- Human = Char:WaitForChild("Humanoid")
- Human.BodyWidthScale.Value = size
- Human.BodyDepthScale.Value = size
- Human.BodyHeightScale.Value = size
- Human.HeadScale.Value = size
- end)
- game.ReplicatedStorage.Jump.OnServerEvent:Connect(function(player, jump)
- Char = owner.Character
- Human = Char:WaitForChild("Humanoid")
- Human.JumpPower = jump
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement