make no cooldown this (im making my game):…
- User
make no cooldown this (im making my game): game:GetService("Players").LocalPlayer.Character["Lazer Cutting Axe"].SharpenLazer:FireServer()
- Assistant
make no cooldown this (im making my game): game:GetService("Players").LocalPlayer.Character["Lazer Cutting Axe"].SharpenLazer:FireServer()
To remove or reduce the cooldown of the action you are firing in your game, you typically need to modify the cooldown logic in the server-side script that handles the SharpenLazer RemoteEvent. The line you provided:
game:GetService("Players").LocalPlayer.Character["Lazer Cutting Axe"].SharpenLazer:FireServer()
is a client-side call that fires a remote event to the server. The cooldown is almost certainly checked and enforced on the server to prevent exploits.
SharpenLazer and remove or lower the cooldown there.SharpenLazer event:local ReplicatedStorage = game:GetService("ReplicatedStorage")
local sharpenLazer = ReplicatedStorage:WaitForChild("SharpenLazer") -- or wherever the event is
local playersCooldown = {}
sharpenLazer.OnServerEvent:Connect(function(player)
-- original cooldown check:
if playersCooldown[player] and tick() - playersCooldown[player] < 5 then -- 5 seconds cooldown
return -- deny because cooldown active
end
playersCooldown[player] = tick()
-- rest of the function that does the sharpening
end)
To remove the cooldown, simply remove or comment out the cooldown check:
sharpenLazer.OnServerEvent:Connect(function(player)
-- no cooldown
-- playersCooldown[player] = tick()
-- perform sharpening action right away
end)
Or reduce it to zero or a very small value.
Then there’s no legitimate way to remove the cooldown. You could automate repeated firing on the client for testing, but it’s a heavy abuse risk:
while true do
local player = game:GetService("Players").LocalPlayer
local axe = player.Character:FindFirstChild("Lazer Cutting Axe")
if axe and axe:FindFirstChild("SharpenLazer") then
axe.SharpenLazer:FireServer()
end
wait(0.1) -- very fast, might get kicked or errors depending on server checks
end
If you want help with the server-side script or putting the cooldown logic in place properly, feel free to share the existing server script!
Not yet included in a published release.