Advertisement
eea

Untitled

eea
Aug 4th, 2021
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. local re = Instance.new("RemoteEvent",game.ReplicatedStorage)
  2. re.Name = "Size"
  3.  
  4. NLS([[
  5. print("hm")
  6. owner.Chatted:Connect(function(message)
  7. print("think")
  8. if message:sub(1,6) == "//size" then
  9. size = message:sub(8)
  10. game.ReplicatedStorage.Size:FireServer(size)
  11. end
  12. end)
  13. ]], owner.Character)
  14.  
  15. game.ReplicatedStorage.Size.OnServerEvent:Connect(function(player,size)
  16. Char = player.Character
  17. Human = Char:WaitForChild("Humanoid")
  18. Human.BodyWidthScale.Value = size
  19. Human.BodyDepthScale.Value = size
  20. Human.BodyHeightScale.Value = size
  21. Human.HeadScale.Value = size
  22. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement