I want to make the players head grow when they use a certain tool so I made a touch function so when the player used there tool they would be touching the handle so then it would activate the touch function.
Code:
local function touch(hit)
local hum = hit.Parent:FindFirstChild("Humanoid")
if hum~=nil then
hit.Head.Size = Vector3.new(10,10,10)
print(hit.Name.."'s head just got bigger!")
end
end
Tool.Handle.Touched:Connect(touch)
|