Advertisement
eea

Untitled

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