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

Touched event not working on my bullet?

Asked by 3 years ago

I was just about to make a kill giver to my leaderstats and tested it at first with printing, but somehow it's not registering anything.

bulletTemplate.Touched:Connect(function(hit)
    local player = game.Players:GetPlayerFromCharacter(hit.Parent)
    if hit then
        print("Detected" .. hit.Name)
    end
end)

There is no error or anyhing printing in my output. By the way I am using FastCast for my gun.

0
the raycast can detect if it hit a player MarkedTomato 810 — 3y
0
This guy made a good video on Fastcast module https://www.youtube.com/watch?v=mJZWY3G7wa4 MarkedTomato 810 — 3y

Answer this question