Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.mode = 1
- local userInputService = game:GetService("UserInputService")
- userInputService.InputBegan:Connect(function(input,gameProcessedEvent)
- local keyPressed = input.KeyCode
- if not gameProcessedEvent then
- if keyPressed == Enum.KeyCode.Q then
- _G.mode = _G.mode + 1
- if _G.mode == 6 then
- _G.mode = 1
- end
- end
- end
- end)
- while true do wait()
- if _G.mode == 1 then
- -- Script generated by SimpleSpy - credits to exx#9394
- -- Script generated by SimpleSpy - credits to exx#9394
- local args = {
- [1] = "Psychic"
- }
- game:GetService("ReplicatedStorage").Events.Train:FireServer(unpack(args))
- elseif _G.mode == 2 then
- local args = {
- [1] = "Strength"
- }
- game:GetService("ReplicatedStorage").Events.Train:FireServer(unpack(args))
- elseif _G.mode == 3 then
- -- Script generated by SimpleSpy - credits to exx#9394
- local args = {
- [1] = "Endurance"
- }
- game:GetService("ReplicatedStorage").Events.Train:FireServer(unpack(args))
- elseif _G.mode == 4 then
- -- Script generated by SimpleSpy - credits to exx#9394
- local args = {
- [1] = "Endurance"
- }
- local args2 = {
- [1] = "Strength"
- }
- local args3 = {
- [1] = "Psychic"
- }
- game:GetService("ReplicatedStorage").Events.Train:FireServer(unpack(args))
- game:GetService("ReplicatedStorage").Events.Train:FireServer(unpack(args2))
- game:GetService("ReplicatedStorage").Events.Train:FireServer(unpack(args3))
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement