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

.Touched event not working?

Asked by
legosweat 334 Moderation Voter
8 years ago

Herro, so I'm making a tool that move's models and stuff, and I was wondering why this .touched event wouldn't work while CFraming.

In my script the model is attached to my mouse, and is moving by CFrame (not Vector3). When the model hits a part, it does not print that it actually hit it, why is that?

*But, when I hit my player, it'll print which part of my body I hit. *

IN LOCALSCRIPT

Item.PrimaryPart.Touched:connect(function(hit)
    print(hit)
    -- other stuff
end)

HOW WILL I BE ABLE TO USE THIS WHEN ITS CFRAMED

0
Since you're CFraming the model Touched events will not be triggered. DevSean 270 — 8y
0
How would I be able to do this then? legosweat 334 — 8y

Answer this question