Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a starter character grow by touching a part?

Asked by
R_G0d -2
6 years ago

My last question was closed because I forgot to put in the code so people can correct it (lol, and now I have -2 rep :() so I typed in a script.. local human = script.Parent:FindFirstChild('Humanoid') if human then local torso = human.Parent.Torso Torso.Size = Torso.Size + 3.5 end script.Parent.Touched:connect(OnTouch) Can u please correct guys?

0
Lua code box please DominousSyndicate 41 — 6y

1 answer

Log in to vote
0
Answered by
R_G0d -2
6 years ago
local human = script.Parent:FindFirstChild('Humanoid')
if human then 
local torso = human.Parent.Torso
Torso.Size = Torso.size + 3.5
end
script.Parent.Touched:Connect(OnTouch)
Ad

Answer this question