get paid to paste

local runServ = game:GetService("RunService")

getgenv().Toggle = true-- true | false

if getgenv().Toggle == true then
runServ:BindToRenderStep("abcdefg", Enum.RenderPriority.Camera.Value, function()
       for i,v in pairs(game:GetDescendants()) do
   if v.Name == "Slash" then
       v:FireServer()
       end
   end
end)
end
if getgenv().Toggle == false then
   runServ:UnbindFromRenderStep("abcdefg")
   end

Pasted: Jan 20, 2022, 12:29:14 pm
Views: 896