I'm trying to make a kind of music player thing, but whenever I load my script into Script Builder, the brick just appears at the side of me, instead of in front of me. I tried adjusting the CFrame and Rotation values, but that didn't seem to work. I really want to complete this script, so I hope I will get some helpful answers. Here is the script:
local player = game.Players:WaitForChild('28nard') local torso = player.Character.Torso local tab = Instance.new("Part",player.Character.Torso) tab.Size = Vector3.new(0.1,12,12) tab.Anchored = true tab.Transparency = 0.4 tab.CanCollide = true tab.BrickColor = BrickColor.Black() local float = coroutine.wrap(function() while wait() do tab.CFrame = tab.CFrame:lerp(torso.CFrame * CFrame.new(10,7,0),0.7) end end) float()
Help would really be appreciated! :D