Advertisement
Guest User

Untitled

a guest
Mar 16th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. function onTouch(part)
  2. local human = part.Parent:FindFirstChild("Humanoid")
  3. if human ~= nil then
  4. game:GetService("Players").PlayerAdded:Connect(function(Player)
  5. Player.CharacterAdded:Connect(function(Character)
  6. local Humanoid = Character:WaitForChild("Humanoid")
  7. Player:GetPropertyChangedSignal("Team"):Connect(function()
  8. if Humanoid.RigType == Enum.HumanoidRigType.R15 then
  9. Humanoid.BodyHeightScale.Value = 1.12
  10. Humanoid.BodyWidthScale.Value = 1.12
  11. Humanoid.BodyDepthScale.Value = 1.12
  12. Humanoid.HeadScale.Value = 1.12
  13. end
  14. end)
  15. end)
  16. end)
  17. end
  18. end
  19.  
  20.  
  21. script.Parent.Touched:Connect(onTouch)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement