Im trying to fix a script and I have no idea how to script if anyone can help me out that'd be great my issue is at the last line, line 13 has an error and it says
[13:68] 'end' expected near '<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.")
'end' expected (to close 'if' at line 4) near <eof>, which is quite clear. - lhf