我正在尝试修复脚本,但我不知道如何编写脚本,如果有人可以帮助我,那就太好了,我的问题在最后一行,第 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.")