local cylinder = script.Parent
local bomb = game.Workspace.Wedge1
local tsar = game.Workspace.Wedge2
local fireOn = Instance.new("Fire")
--when something is touched, it will set tsar and bomba on fire (not sure what the parameter is for, followed a tutorial)
local function exploder(guythattouchedthecylinder)
--not sure what this is for either, i know that the variable is referring to the parent of the parameter, but dont understand what it really does or how it knows that the parameter is referring to the player or humanoid that touched
local master = guythattouchedthecylinder.Parent
--searching for humanoid parts
local humanoid = master:FindFirstChildWhichIsA("Humanoid")
--if there is, then tsar and bomba will have a new fire instance
if humanoid then
fireOn.Size = 10
fireOn.Parent = tsar
fireOn.Parent = bomb
end
end
--when cylinder is touched, function will fire
cylinder.Touched:Connect(exploder)
The problem here is that only the tsar variable is on fire, so my best bet is that there can be only one parent to the fireOn variable, which is the first. Don't know how to make it have multiple parents, though.
I'd also be happy to receive some advice regarding this code.

1 comment
damn, so it really was that simple. Thanks for the answer tho