How would I make a model follow me?
01 | local LocalPlayer = game:GetService( "Players" ).LocalPlayer |
02 | local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait() |
04 | local Orb = Instance.new( "Part" , Character) |
06 | Orb.Shape = Enum.PartType.Block |
08 | Orb.BrickColor = BrickColor.new( "Really black" ) |
09 | Orb.Material = Enum.Material.Neon |
11 | Orb.Size = Vector 3. new( 1 , 1 , 1 ) |
12 | Orb.TopSurface = Enum.SurfaceType.Smooth |
13 | Orb.BottomSurface = Enum.SurfaceType.Smooth |
15 | local BodyPosition = Instance.new( "BodyPosition" , Orb) |
18 | BodyPosition.Position = Character.Head.CFrame:pointToWorldSpace(Vector 3. new( 2 , 1 , 0 )) |
Right now only a part follows me, how would I incorporate a model?