I have this simple code.
local ex = Instance.new("Explosion",script.Parent:WaitForChild("Handle")) ex.Position = Vector3.new(script.Parent.Handle.Position) print(ex.Position)
For some reason it won't change the explosion position to my desired. And when printed it just prints: "0,0,0
".
How do I change the position of that explosion?
Ty
That happened to me. I think how I got it to work was by doing that:
local ex = Instance.new("Explosion",script.Parent:WaitForChild("Handle")) local ab = script.Parent.Handle.Position ex.Position = Vector3.new(ab.x, ab.y, ab.z) print(ex.Position)