Answered by
4 years ago Edited 4 years ago
You did bit wrong:
2 Connects on One Function
To Connect Use The ":" Instead of "."
What part to touch? (line 1)
To change Propeties, hit.Parent is the Character, Character has the "Head" Child.
Try this script, put it on the part you want thats the player will touch:
In A Basic Script:
1 | local part = script.Parent |
3 | part.Touched:Connect( function (hit) |
4 | local hum = hit.Parent:FindFirstChild( "Humanoid" ) |
6 | hit.Parent.Head.BrickColor = BrickColor.new( "Ghost grey" ) |
7 | hit.Parent.Head.Size = Vector 3. new( 4 , 4 , 4 ) |
If it worked, please Give a Soultion!
for More Body Parts, Heres some:
LeftUpperArm, LeftHand, LeftLowerArm: Left Arm
LeftLowerLeg, LeftFoot, LeftUpperLeg: Left Leg
RightUpperArm, RightHand, RightLowerArm: Right Arm
RightLowerLef, RightFoot, RightUpperLeg: Right Leg