Hm, mind if you copy paste the script here just in case?
I don’t think the script is the issue here. You’re either adding a tag to the wrong object, the hitboxes aren’t colliding, or the effect itself isn’t working correctly.
This is what I used. It was the same as what I posted previously:
local CollectionService = game:GetService("CollectionService")
local Tool = script.Parent
Tool.Hitbox.Touched:Connect(function(hit)
if CollectionService:HasTag(hit, "Candle") then
hit.Parent.Lighter.ParticleEmitter.Enabled = true -- // The candle is a model with a hitbox and the lighter object at the top, which has a ParticleEmitter inside of it.
end
end)
Okay I’m messing around with the hitboxes and stuff now I think I’m onto something
It might have not welded properly
Yeah, make sure the tool hitbox is welded to the handle, and set both CanCollide
and Anchored
to false.
I think I’ve done everything I can, it still doesn’t work. I guess I’ll just publish the models if you want to check them
Here are the links to the Lighter and Candle:
Hey there, so I just got it working! I messed around for a bit and finally figured it out. Thanks a bunch!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.