Alright im assuming that this is Inside of a local script.
I will just fix this, and PM me on roblox or add a comment here asking for an explanation Im tired right now so I am just going to try and help you to get this done.
Player = game.Players.LocalPlayer
Character = Player.Character
local Torso = Character:WaitForChild("Torso")
while wait(.1) do
local Ball = Instance.new("Part")
Ball.Position = Torso.Position
end
local plr = game:GetService("Players").LocalPlayer
local char = plr.Character
local torso = char:FindFirstChild("Torso")
local ball = Instane.new("Part")
ball.FormFactor = Enum.Sphere
function pos()
ball.Position =CFrame.new( torso.Position.X+1, torso.Position.Y, torso.Position.Z)
end
while wait(.1) do
pos()
end
I believe this should work, as it fires a function that litteraly grabs the torsos' X,Y, Z positions and adds a +1 to its X position, so that it is I believe 1 stud in front of you.
If it does not work tell me!
1 comment
Did not work.