Universal Script πŸ“Œ
1.8k Views
7.0k Executions

Sisyphus prime slap battles script

Universal Script πŸ“Œ
SUPERSCRIPTER629974
SUPERSCRIPTER629974First script
3 weeks ago
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local UserInputService = game:GetService("UserInputService") local player = Players.LocalPlayer local AbilityEvent = ReplicatedStorage :WaitForChild("SisyphusRemotes") :WaitForChild("Ability") -- Detecta se estΓ‘ no celular/tablet local isMobile = UserInputService.TouchEnabled -------------------------------------------------- -- FUNÇÃO PARA USAR HABILIDADE -------------------------------------------------- local function useAbility(name) AbilityEvent:FireServer(name) end -------------------------------------------------- -- CONTROLES DE PC -------------------------------------------------- UserInputService.InputBegan:Connect(function(input, processed) if processed then return end if input.KeyCode == Enum.KeyCode.Z then useAbility("Solemn") elseif input.KeyCode == Enum.KeyCode.X then useAbility("Rush") elseif input.KeyCode == Enum.KeyCode.C then useAbility("Slam") elseif input.KeyCode == Enum.KeyCode.V then useAbility("Destroy") elseif input.KeyCode == Enum.KeyCode.B then useAbility("PhaseTwo") end end) -------------------------------------------------- -- INTERFACE MOBILE -------------------------------------------------- if not isMobile then return end local gui = Instance.new("ScreenGui") gui.Name = "SisyphusMobileControls" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") local container = Instance.new("Frame") container.Size = U

View Raw


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!