Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Pene = game.Players.LocalPlayer
- Toggle.MouseButton1Down:connect(function()
- if (Workspace[Pene.Name]) == true do
- if Status.Text == "off" then
- Clipon = true
- Status.Text = "on"
- Stepped = game:GetService("RunService").Stepped:Connect(function()
- if not Clipon == false then
- for a, b in pairs(Workspace:GetChildren()) do
- if game.Players.LocalPlayer.Name == game.Players.LocalPlayer.Name then
- for i, v in pairs(Workspace[Pene.Name]:GetChildren()) do
- if v:IsA("BasePart") then
- v.CanCollide = false
- end end end end
- else
- Stepped:Disconnect()
- end
- end)
- elseif Status.Text == "on" then
- Clipon = false
- Status.Text = "off"
- end
- else
- print'broken'
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment