Forum > Scripts >

[HELP] Script Like loop

Posts: 215

Threads: 45

Joined: Jun, 2020

Reputation: -1

Posted

So i need help with this script, i need this script re-execute again every time u respawn, after waiting 5 seconds:

local function disableConnection(connections)
   for _, p100detection in pairs(getconnections(connections)) do
       p100detection:Disable()
   end
end;

local walkspeedDetection, jumppowerDetection, flyDetection = game.Players.LocalPlayer.Character.Humanoid:GetPropertyChangedSignal('WalkSpeed'), game.Players.LocalPlayer.Character.Humanoid:GetPropertyChangedSignal('JumpPower'), game.Players.LocalPlayer.Character.HumanoidRootPart.DescendantAdded do
   disableConnection(walkspeedDetection);
   disableConnection(jumppowerDetection);
   disableConnection(flyDetection);
end

 

  • 0

Added

@RealNickk already solved ty btw

  • 0

Why u looking here lol

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )