Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Vector3 relative to torso position help?

Asked by 7 years ago
        local p = Instance.new("Part")
        p.Position = handle.Position + Vector3(0,5,0) -- wot???
        p.TopSurface = "Smooth" 
        p.BottomSurface = "Smooth" 
        p.Shape = Enum.PartType.Ball 
        p.Size = Vector3.new(0.7, 0.7, 0.7) 
        p.Transparency = (0.5)
        p.CanCollide = false
        p.Material = "Neon"
        p.BrickColor = BrickColor.new("Black")
        p.Parent = ws

So basically this part gets launched using body velocity. handle is player's torso, vector3 won't work and I have no idea how to use this properly, I've searched the ROBLOX wiki but they're unhelpful as always ;-; help is very much appreciated!!

1 answer

Log in to vote
1
Answered by 7 years ago

Try Vector3.new(0,5,0)

0
yes Azarth 3141 — 7y
0
Yep works, sorry for the month late upvote lmao Shadowthaumaturge 97 — 7y
Ad

Answer this question