Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onTouch(part)
- local human = part.Parent:FindFirstChild("Humanoid")
- if human ~= nil then
- game:GetService("Players").PlayerAdded:Connect(function(Player)
- Player.CharacterAdded:Connect(function(Character)
- local Humanoid = Character:WaitForChild("Humanoid")
- Player:GetPropertyChangedSignal("Team"):Connect(function()
- if Humanoid.RigType == Enum.HumanoidRigType.R15 then
- Humanoid.BodyHeightScale.Value = 1.12
- Humanoid.BodyWidthScale.Value = 1.12
- Humanoid.BodyDepthScale.Value = 1.12
- Humanoid.HeadScale.Value = 1.12
- end
- end)
- end)
- end)
- end
- end
- script.Parent.Touched:Connect(onTouch)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement