Advertisement
eea

Untitled

eea
Aug 4th, 2021
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 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. if message:sub(1,6) == "//size" then
  7. size = message:sub(8)
  8. game.ReplicatedStorage.Size:FireServer(size)
  9. end
  10. end)
  11. ]], owner.Character)
  12.  
  13. game.ReplicatedStorage.Size.OnServerEvent:Connect(function(player,size)
  14. Char = player.Character
  15. Human = Char:WaitForChild("Humanoid")
  16. Human.BodyWidthScale.Value = size
  17. Human.BodyDepthScale.Value = size
  18. Human.BodyHeightScale.Value = size
  19. Human.HeadScale.Value = size
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement