local config = script.Parent:WaitForChild("Configuration") local Damage = config.Damage.Value local UltimateDamage = config.UltimateDamage.Value local UltimateCoolDown = config.UltimateCoolDown.Value local CanDoUltimate = false local function WaitForUltimate() wait(UltimateCoolDown) CanDoUltimate = true print("Lol") end local function NormalAttack() print("Normal") end local function ActivateUltimate() print("Ultimate") end script.Parent.Activated:Connect(NormalAttack) local CAS = game:GetService("ContextActionService") CAS:BindAction("UltimateMoveButton", ActivateUltimate, true, Enum.KeyCode.E) WaitForUltimate()
the action service thingy works but not the activation.