I am trying to make a trigger block to activate an explosion script on some other block. I have this block called parter, and there is this trigger script inside him:
local BindableEvent = game.Workspace:WaitForChild("BindableEvent")
local part = script.Parent
part.Touched.Connect()
BindableEvent:Fire()
And I have this block called Partner and this script inside him + event:
local BindableEvent = game.Workspace.Partner:WaitForChild("BindableEvent")
BindableEvent.Event:Connect(function))
local.explosionPart = script.Parent
local.explosion = Instance.new("Explosion", game.Workspace)
explosion.Position = explosionPart.Position
explosionPart:Destroy()
end
But It's still not working, help
