i have tried removing )'s adding )'s removing ends and adding ends and every single time it comes up with a new error and I don't know how to fix it and I need it to continue my game
Code:
--The Start local player = game.Players.LocalPlayer local character = player.Character.ChildAdded local players = game:GetService("Players") function onPlayerAdded(plr) print(plr.Name .. " joined the game!") player.PlayerGui.Text.Frame.TextLabel.Text = "*Snorre* *Snoree*" wait(3) player.PlayerGui.Text.Frame.TextLabel.Text = "AH! I didn't see you there why must you wake me?" wait(3) player.PlayerGui.Text.Frame.TextLabel.Text = "YOU DIDN'T MEAN TOO!?" wait(3) player.PlayerGui.Text.Frame.TextLabel.Text = "YOU JUST CAME IN HERE AND AWOKE ME FROM MY SLUMBER!!" wait(5) player.PlayerGui.Text.Frame.TextLabel.Text = "Anyways now that you *spit* are here why dont you give me freedom from this place." wait(6) player.PlayerGui.Text.Frame.TextLabel.Text = "Who am I? I am the 1??????????3???????????????????E?????????????????????????? ?????????????????7??????????????{??????????????????D??????????????`?????????????????????\????????????????????????????????." wait(3) player.PlayerGui.Text.Frame.TextLabel.Text = "How you ask? I DON'T KNOW, FIND SOMETHING!" --Getting Dynamite workspace.Barrier:Destroy() print("Get Dynamite") character:Connect(function(Dynamite) player.PlayerGui.Text.Frame.TextLabel.Text = "Dynamite, PERFECT! Now go explode those rocks" wait(3) player.PlayerGui.Text.Frame.TextLabel.Text = "Behind them is the Great Museum." workspace.ChildRemoved:Connect(function(Detect) if Detect.Name == "DetectionZone" then player.PlayerGui.Text.Frame.TextLabel.Text = "YES!, YES! FINALLY!" wait(3) player.PlayerGui.Text.Frame.TextLabel.Text = "Okay now go outside from the door infront of you." workspace.ChildRemoved:Connect(function(DetectII) if DetectII.Name == "DetectionZone2" then player.PlayerGui.Text.Frame.TextLabel.Text = "YES!, YES! FINALLY!" wait(3) player.PlayerGui.Text.Frame.TextLabel.Text = "Okay now go outside from the door infront of you." end end) end) end players.PlayerAdded:Connect(onPlayerAdded) for _, player in pairs(players:GetPlayers()) do onPlayerAdded(player) end
You forgot an end
between like 39 and like 40 because you have an IF statement on line 36