I'm trying to make a shockwave effect, and I want to make the meshpart spawn in my torso, but when I set it to the torso's position, It spawns above my head?
plr = game.Players.LocalPlayer
char = plr.Character
mouse = plr:GetMouse()
Instance.new("ForceField", char)
function die()
plr = game.Players.LocalPlayer
char = plr.Character
local ex = Instance.new("Part", game.Workspace)
local mesh = Instance.new("SpecialMesh", ex)
ex.Position = char.Torso.Position
mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
ex.CanCollide = false
ex.BrickColor = BrickColor.new("Gold")
end
mouse.Button1Down:connect(die)
EDIT:::: I've tried this aswell but it still doesn't work.
plr = game.Players.LocalPlayer
char = plr.Character
mouse = plr:GetMouse()
Instance.new("ForceField", char)
function die()
plr = game.Players.LocalPlayer
char = plr.Character
local ex = Instance.new("Part", game.Workspace)
local mesh = Instance.new("SpecialMesh", ex)
ex.Position = char.Torso.Position + Vector3.new(0, -5, 0)
mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
ex.CanCollide = false
ex.BrickColor = BrickColor.new("Gold")
end
mouse.Button1Down:connect(die)

2 comments
Since you can't collide with your object, it can't really go into your torso. Try setting CanCollide to true (before you define the position as well)
I tried it but it is still spawning above my head.