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

Is the "onTouch" function the correct function to use to destroy a tool a player has?

Asked by
coa_st 0
5 years ago
function onTouch(part) 
    ("ReefBall"):Destory()
end

The reefball is a tool that the player can through, just like a basketball, but I need this script so if the ball touches the scripts parent then the ball with be destroyed! Thanks if you mind helping out!

0
Do line 2 part.Backpack(“ReefBall”):Destroy i think* MaxDev_BE 55 — 5y
0
No do part name it player and onTouch(player) MaxDev_BE 55 — 5y
0
@max didn't work :( coa_st 0 — 5y
0
And try a .Parent after ) MaxDev_BE 55 — 5y
0
Post the full code, where is ReefBall located? User#19524 175 — 5y

Answer this question