Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local re = Instance.new("RemoteEvent",game.ReplicatedStorage)
- re.Name = "Size"
- NLS([[print("hm")
- owner.Chatted:Connect(function(message)
- print("think")
- if message:sub(1,6) == "//size" then
- size = message:sub(8)
- game.ReplicatedStorage.Size:FireServer(size)
- 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement