Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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)

1 comment

0

Why would you need the mouse? I also recommend doing this in a ServerScript so the whole server sees it.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.