#plzz help
1 messages · Page 1 of 1 (latest)
local Workspace = game:GetService("Workspace")
local ServerScriptService = game:GetService("ServerScriptService")
local moveLeft = require(ServerScriptService:FindFirstChild("NoobMoveLeft"))
local function getNoobAndSpawn()
local noob = Workspace:FindFirstChild("Noob")
local spawnnoob = Workspace:FindFirstChild("spawnnoob")
return noob, spawnnoob
end
while true do
local noob, spawnnoob = getNoobAndSpawn()
if noob and spawnnoob and noob:IsA("Model") and spawnnoob:IsA("BasePart") then
local clone = noob:Clone()
clone.Parent = Workspace
-- Set CFrame to spawnnoob's position, but with no rotation
local spawnPosition = spawnnoob.Position
clone:PivotTo(CFrame.new(spawnPosition))
-- Make the clone walk to its left
moveLeft(clone, 13) -- 13 studs per second as in your example
end
task.wait(5)
end
im sure ai can fix it just like how it created the script