-
What do you want to achieve?
I want to make a cannon so that when I drag the bullet in front of it and it touches the detector part in front of it, the bullet disappears and a currently transparent bullet that was already in the cannon appears so it looks like the bullet was chambered into the cannon. -
What is the issue?
https://gyazo.com/1b0efd454f3af97c59f514df3a9e6188
Nothing happens, nor does anything even print out
DETECTOR PART SCRIPT
script.Parent.Touched:Connect(function(hit)
print(hit)
if hit:FindFirstChild("DragDetector") then
hit.Parent = game.ReplicatedStorage
script.Parent.Parent.Bullet.Transparency = 0
end
end)
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I cannot find much on the devforum about drag detectors but I know that they are new and may be a beta testing object, but Iām not 100% sure if they are anymore.
Please let me know if you know how to fix this or make it work.