#How to have code run if a tool touches a part?

1 messages · Page 1 of 1 (latest)

topaz rivet
#

In a game I'm making, the player will obtain a hammer, and with it they need to swing it and hit a picture to progress with the game (I have the swinging animation and tool all working). How do I do this?

obsidian linden
#

Or Shapecast

#

Or rayecast

#

whatever you want really

knotty dune
#

Literally just use touched:connect()

knotty dune
graceful mist
#

Assuming the movement of the part is made by script, Touched only activates from moves made by physic

zenith cypress
knotty dune
#

Oh I get it