local a = 0
local P = Instance.new("Part", game.Workspace)
script.Parent.MouseButton1Click:Connect(function()
repeat
a = a + 1
P.Size = Vector3.new(50,50,50)
P.Position = Vector3.new(0,0,0)
P.Anchored = true
P.Transparency = 1
print("test")
until a >= 5000
P:Destroy()
end)
This is my script to lag people for fun. Its inside a local script and the parent of the local script is a textbutton. The problem is that when I click it once its alright but it doesnt run the script when I click it the second time. Not sure what is wrong with my script , please help thank you.
