So I have code that when you click a part it creates a part and welds it to you:
01 | script.Parent.MouseClick:Connect( function (player) |
03 | local wel = Instance.new( "Weld" , workspace) |
05 | local part = Instance.new( "Part" , workspace) |
07 | local prt = game.ReplicatedStorage.lemon:Clone() |
13 | part.CanCollide = false |
17 | prt.Position = game.workspace.grass.Part.Position |
19 | part.CanCollide = false |
29 | wel.Part 1 = player.Character.LowerTorso |
31 | wel.Parent = player.Character.LowerTorso |
33 | wel.C 0 = CFrame.new( 0.46 ,- 0.8 , 1 ) |
35 | local rocpro = Instance.new( "RocketPropulsion" ,prt) |
51 | local wel 2 = Instance.new( "Weld" ,workspace) |
55 | wel.Part 1 = player.Character.LowerTorso |
57 | wel.C 0 = CFrame.new( 0.46 ,- 0.8 , 1 ) |
How would I make it so it is always where your camera is moving???
When I look down, the object is not facing the same.
Does anyone know how to do this??