while true do
if script.Parent.Parent.Torso == nil then
wait(5)
elseif script.Parent ~= nil and script.Parent.Parent.Torso ~= nil then
wait(.000000000001)
script.Parent.CFrame.X = script.Parent.Parent.Torso.CFrame.X + Vector3.new(5,0,0)
script.Parent.CFrame.Y = script.Parent.Parent.Torso.CFrame.Y + Vector3.new(0,2.5,0)
end
end
This script is supposed to make the block follow the player (drooling zombie in my case as a demo). And it is meant to not mess with the Z factor due to my levitation script. And Roblox gives me this feedback: PHOTO OF CONSOLE
Thanks, -RadioactiveSherbet
