提问人:anonymous 提问时间:12/24/2022 更新时间:12/24/2022 访问量:28
预计在 <EOF> 附近结束,即使脚本有效,我做错了什么
End Expected Near <EOF> even though The Script Works FIne What Am I doing Wrong
问:
结束预期接近,即使脚本有效,我做错了什么,我试图修复它,但它会产生更多错误
--Prison life Loop Bring Induvidual
local Player = GetPlayer(Arg2)
if Player ~= nil then
Notify("Looping bring "..Player.Name, Color3.fromRGB(0, 255, 0), "Success")
States.PlayerToLoopBring = Player
States.LoopBring = true
repeat wait()
pcall(function()
if States.LoopBring and game.Players[States.PlayerToLoopBring.Name] then
local savedcf = GetPos()
Teleport(States.PlayerToLoopBring, GetPos())
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedcf
end
end)
until States.LoopBring == false
end
请告诉我这个脚本有什么问题,当有人在大厅里惹我或杀死所有人时,我会永远将他们从地图上传送出去
答: 暂无答案
评论