1 | script.Parent.Touched:connect( function () |
2 | script.Parent:FindFirstChild( "Humanoid" ) |
3 | local Scrip = script.Parent |
4 | Instance.new( "Explosion" , game.Workspace.Part) |
5 | local Explosion = game.Workspace.Part.Explosion |
6 | game.Workspace.Part.Explosion.Position = Scrip.Position |
7 | end ) |
How come the position isn't in the script's Parent's position? It just does into workspace. And I don't see any CratersAndDebris when it explodes neither. Can you help?
Try this
1 | script.Parent.Touched:connect( function () |
2 | local Scrip = script.Parent |
3 | Instance.new( "Explosion" , game.Workspace.Part) |
4 | local Explosion = game.Workspace.Part.Explosion |
5 | game.Workspace.Part.Explosion.Position = Scrip.Position |
6 | end ) |
Worked for me
Best of Luck