[英]13:68 'end' expected near '<eof>'
我正在嘗試修復腳本,但我不知道如何編寫腳本,如果有人可以幫助我,那就太好了,我的問題在最后一行,第 13 行有一個錯誤,它說
[13:68] 預計在“<eof>”附近出現“結束”
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
mouse.KeyDown:connect(function(key)
if key == "t" then
Wag = Instance.new("Sound")
Wag.SoundId = "rbxassetid://4621721605"
Wag.Parent = game.Lighting
Wag.Volume = 10
Wag:Play()
wait(2.3)
game.Players.LocalPlayer.Character:BreakJoints()
wait(2)
game.Players.LocalPlayer:Kick("test.")
該錯誤正是它告訴您的內容:Lua 期望找到end
以關閉第四行的if
但文件才結束。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.