Idk if this is just me being stupid but it probably is but my code wont run after i play a function
local function BeingGrabbed()
while Enemy:FindFirstChild("BeingGrabbed") do
wait()
EnemyHumRp.Orientation = Char.HumanoidRootPart.Orientation - Vector3.new(0,0,0)
EnemyHumRp.CFrame = Char.HumanoidRootPart.CFrame * CFrame.new(0,0,-1)
end
end
BeingGrabbed()
game.Workspace.Baseplate:Destroy()
After the BeingGrabbed() runs nothing else will