script.Parent.Touched:connect(function()
script.Parent:FindFirstChild("Humanoid") -- Checks for player
local Scrip = script.Parent
Instance.new("Explosion", game.Workspace.Part) -- Puts Explosion into a part
local Explosion = game.Workspace.Part.Explosion
game.Workspace.Part.Explosion.Position = Scrip.Position -- Gives explosion a Position
end)
Vs.
script.Parent.Touched:connect(function()
script.Parent:FindFirstChild("Humanoid") -- Checks for player
local Explosion = Instance.new("Explosion",script.Parent) -- Explosion instance and location
Explosion.Position = script.Parent.Position -- Gives Explosion a position
end)
Why does script 2 works better than Script 1? Script 1 explodes in two different places at the same time, the workspace at (0, 0, 0) and in the brick.
Script 2 Explodes in the brick only.
What's the difference? I've been reading this for a while, and both of them gives the explosion a Location, a Position, and even a Parent. What's wrong here?

1 comment
But, I used the Explosion variable only once and it's fine.