- --[[
- Instructions:
- (1): On "Red light, green light", hold Shift to run fast until you reach
- the finishing line. Don't cross the finishing line until after atleast
- 40 seconds.
- (2): On "Honeycomb", press Left Control and One at the same time, the
- honeycomb GUI might still be there but that will go away when the
- game ends.
- (3): On "Tug of War", hold Left Control and Two at the same time until
- your team wins.
- (4): On "Glass Stepping Stones", press Left Control and Three at the same
- time and you should be teleported to the end.
- (NOTE): At nights, you can either: (1) Press CTRL + N to be teleported to an area
- where no-one can kill you, (2) Hold CTRL + X to kill everyone else, this
- option might make the game less fun though since you'll be the only One
- playing.
- (NOTE): The only game that is not supported is the "Marbles" game, which I can't
- find a loophole for.
- Controls:
- [1]: (Hold) Shift - Run faster
- [2]: (Press) Left Control + 1 - Beat "Sugar Honeycomb"
- [3]: (Hold) Left Control + 2 - Beat "Tug of War"
- [4]: (Press) Left Control + 3 - Beat "Glass Stepping Stones"
- [5]: (Hold) Left Control + X - Kill everyone else
- [6]: (Press) Left Control + N - Teleport to a place where no-one can kill you
- ]]
- local userInputService = game:GetService("UserInputService")
- local replicatedStorage = game:GetService("ReplicatedStorage")
- local players = game:GetService("Players")
- local player = players.LocalPlayer
- userInputService.InputBegan:Connect(function(input, onGui)
- if not onGui and userInputService:IsKeyDown(Enum.KeyCode.LeftControl) then
- if userInputService:IsKeyDown(Enum.KeyCode.One) then
- replicatedStorage.Remotes.SugarHoneycomb:FireServer(true)
- elseif userInputService:IsKeyDown(Enum.KeyCode.Three) and player.Character then
- player.Character.HumanoidRootPart.CFrame = CFrame.new(-336, -125, -191)
- elseif userInputService:IsKeyDown(Enum.KeyCode.N) and player.Character then
- player.Character.HumanoidRootPart.CFrame = CFrame.new(-124, 6, -462)
- end
- while userInputService:IsKeyDown(Enum.KeyCode.LeftControl) and userInputService:IsKeyDown(Enum.KeyCode.Two) and wait() do
- replicatedStorage.TugRemote:FireServer()
- end
- while userInputService:IsKeyDown(Enum.KeyCode.LeftControl) and userInputService:IsKeyDown(Enum.KeyCode.X) and wait() do
- local tool = game:GetService("Players").LocalPlayer.Backpack:FindFirstChild("Baseball Bat")
- for _, plr in pairs(game:GetService("Players"):GetPlayers()) do
- if plr ~= game:GetService("Players").LocalPlayer and plr.Character then
- game:GetService("ReplicatedStorage").Remotes.Replication:FireServer(plr.Character.Humanoid, 10)
- end
- end
- if tool then
- game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(tool)
- end
- end
- elseif not onGui and input.KeyCode == Enum.KeyCode.LeftShift then
- if player.Character then
- player.Character.Humanoid.WalkSpeed = 100
- end
- end
- end)
- userInputService.InputEnded:Connect(function(input, onGui)
- if not onGui and input.KeyCode == Enum.KeyCode.LeftShift then
- if player.Character then
- player.Character.Humanoid.WalkSpeed = 16
- end
- end
- end)