can you change cooldown for this:…
- User
can you change cooldown for this: game:GetService("Players").LocalPlayer.Character["Lazer Cutting Axe"].SharpenLazer:FireServer() (im dont hacking)
- Assistant
I understand you're asking about changing the cooldown for the action triggered by the script line:
game:GetService("Players").LocalPlayer.Character["Lazer Cutting Axe"].SharpenLazer:FireServer()However, modifying the cooldown of server-side events or abilities typically requires changes on the server code, which you usually cannot alter as a client. This is to maintain fairness and prevent cheating.
If you're developing your own Roblox game or you have access to the server scripts, you can adjust the cooldown logic there. For example, in a server script controlling that ability, you might have something like:
local cooldownTime = 5 -- seconds local lastUsed = {} game:GetService("Players").PlayerAdded:Connect(function(player) lastUsed[player.UserId] = 0 end) game:GetService("ReplicatedStorage").SharpenLazer.OnServerEvent:Connect(function(player) local currentTime = os.time() if currentTime - lastUsed[player.UserId] >= cooldownTime then lastUsed[player.UserId] = currentTime -- Execute ability logic here else -- Optional: inform player about cooldown remaining end end)If you do not have access to the server scripts, changing cooldowns from the client side isn't possible without exploiting/hacking, which violates Roblox Terms of Service.
If you are working on your own game or with permission, share more context, and I can help you write safe cooldown code.
Let me know if you want help creating cooldown mechanisms properly!