Could you get a video of what exactly is happening because i think i understand why and what is causing it but I just want to be sure
you got Discord ? mayby i can screenshare it there
no i don’t sorry just can’t trust it rn with all the scams and links
Discord is not rlly a scam just never join Servers and set it that only you can friend people and no one you
also dont have a video But what it do is
if you enable the tool it gives 1 ever 1.5 sec if you unequip the tool it stops
but when you spam equip and unequip the tool a few times and have it then equiped it gives like 4 5 in a sec or not even a sec
well you could just put prints in every statement to find out where it is running and where it isn’t after you unequip it
Just put the loop outside the actual function and it should work. No need for adding breaks and returns.
Fixed code:
--//Services
local Players = game:GetService("Players")
--//Variables
local player = Players:WaitForChild(script.Parent.Parent.Parent.Name)
--//Controls
local meditating = false
--//Functions
script.Parent.Equipped:Connect(function()
meditating = true
end)
script.Parent.Unequipped:Connect(function()
meditating = false
end)
--//Loops
while task.wait(1.5) do
if meditating then
player.PsychicPower.Value += 1 * player.PPMulti.Value * player.PPZoneMulti.Value
end
end
That worked Thanks for help also other people that tryed to help thanks
No problem. If you have any more questions, feel free to ask.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.