Universal Script πŸ“Œ
67 Views
2 Executions

Sisyphus prime slap battles script

Universal Script πŸ“ŒUploaded by
3 hours ago
Please login to perform these actions:

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
Edited By: SUPERSCRIPTER629974 Download


Comments

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