#How do I make this work? Not working as of now and no errors
13 messages · Page 1 of 1 (latest)
Supposed to happen when the player enters an object
but the end) is just after the function
meaning nothing happens
you're supposed to do it like this:
part.Touched:Connect(CheckIfPlayerIsInArea)
💀
and also part.character replace with hit
part.Touched:Connect(function(part)
if part.Parent:FindFirstChild("Humanoid") then
checkifplayerisinarea(part,part.Parent)
End
end)