Hello! Right now I'm scripting a combo based fighting game but there seems to be a error when i look at Script Analysis. This is the error, Error:(118,8) Syntax error: Expected 'end' (to close 'then' at line 101), got <eof>;did you forget to close 'then' at line 113? I don't think that I needed to add another end for the then part. Heres my code.
Hitbox.Touched:Connect(function(Hit) if Hit.Parent ~= Player.Name then local GetHum = Hit.Parent:FindFirstChild("Humanoid") if GetHum then Folder:Destroy() GetHum:TakeDamage(12) end end end)