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

How do I make a part follow right infront of my character?

Asked by 4 years ago

I have this script where it makes a part but I want the part to follow my character, But when it follows me, I don't want it to go right inside my body, I want it to just be infront of me always following.

Heres what I have (it doesnt follow yet so thats what i want added)

mouse = game.Players.LocalPlayer:GetMouse()

x = Instance.new("Part", game.Workspace)
x.Anchored = true
x.Name = "kah"
x.CanCollide = false
x.Size = Vector3.new(10,10,10)
x.Rotation = Vector3.new(0, 0, 0)

Answer this question