Advertisement
eea

Untitled

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