Im adding a value to stop killing for some time but it doesnt work.
I tried to make the tool that im using not damage the player if they have the value but it doesnt work.
what should i do?
Im adding a value to stop killing for some time but it doesnt work.
I tried to make the tool that im using not damage the player if they have the value but it doesnt work.
Try adding print statements to check what works and what doesn’t work inside your script
Your functions look fine, but it could be that your checkTeams(human)
may return back true
or something
alright ill try to see if that will work
I tried printing the Safe function and i got this
why would you print a function? that will not work
I thought it would print what the Safe function returned
Did you print it using checkTeams()
or checkTeams(human)
, I believe it’ll only print the bool if you call it using checkTeams()
yeah, where should i be printing it?
nevermind i fired it like this and i got true
but im not sure why it is true
Found out the problem, when i put otherhuman.Parent or otherHuman.Parent.Parent:FIndFirstChild(“Safe”) i forgot to call a function for the otherhuman.Parent