Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat wait() until game.Players.LocalPlayer.Character
- local Player = game:GetService("Players").LocalPlayer
- local Mouse = Player:GetMouse()
- local CKToggle = false
- local KVToggle = false
- local KAToggle = false
- bring = false
- local function CreateInstance(Object,Properties)
- local NewInstance = Instance.new(Object)
- for i,v in pairs(Properties) do
- NewInstance[i] = v
- end
- return NewInstance
- end
- local MainGui = CreateInstance("ScreenGui", {Name = "MainGui", ResetOnSpawn = false, Enabled = true, Parent = game:GetService("Players").LocalPlayer.PlayerGui})
- local MainFrame = CreateInstance("Frame", {Name = "MainFrame", Size = UDim2.new(0, 250, 0, 250), Position = UDim2.new(0.5, -125, 0.5, -125), BackgroundColor3 = Color3.fromRGB(50, 52, 49), BackgroundTransparency = 0, BorderSizePixel = 0, Parent = MainGui, Active = true, Draggable = true})
- local Notice = CreateInstance("TextLabel", {Name = "Notice", Text = "Made by Gaikokan#2563", BorderSizePixel = 0, BackgroundColor3 = Color3.fromRGB(15, 15, 15), BackgroundTransparency = 1, Parent = MainFrame, TextSize = 18, Size = UDim2.new(1, 0, 0, 15), Position = UDim2.new(0, 0, 0, 0), Font = Enum.Font.SourceSansLight, TextColor3 = Color3.fromRGB(255, 255, 255)})
- local Bring = CreateInstance("TextButton", {Name = "Bring", Text = "Bring Unanchored Parts", BorderSizePixel = 0, BackgroundColor3 = Color3.fromRGB(25, 25, 25), BackgroundTransparency = 0.8, Parent = MainFrame, TextSize = 18, Size = UDim2.new(1, 0, 0, 15), Position = UDim2.new(0, 0, 0, 50), Font = Enum.Font.SourceSansLight, TextColor3 = Color3.fromRGB(255, 255, 255)})
- local LoopBring = CreateInstance("TextButton", {Name = "LoopBring", Text = "Bring Unanchored Parts Loop", BorderSizePixel = 0, BackgroundColor3 = Color3.fromRGB(25, 25, 25), BackgroundTransparency = 0.8, Parent = MainFrame, TextSize = 18, Size = UDim2.new(1, 0, 0, 15), Position = UDim2.new(0, 0, 0, 70), Font = Enum.Font.SourceSansLight, TextColor3 = Color3.fromRGB(255, 255, 255)})
- local Stop = CreateInstance("TextButton", {Name = "Stop", Text = "Stop Loop", BorderSizePixel = 0, BackgroundColor3 = Color3.fromRGB(25, 25, 25), BackgroundTransparency = 0.8, Parent = MainFrame, TextSize = 18, Size = UDim2.new(1, 0, 0, 15), Position = UDim2.new(0, 0, 0, 90), Font = Enum.Font.SourceSansLight, TextColor3 = Color3.fromRGB(255, 255, 255)})
- Bring.MouseButton1Down:Connect(function()
- game:GetService("RunService").RenderStepped:Connect(function()
- game.Players.LocalPlayer.SimulationRadius = math.huge
- game.Players.LocalPlayer.MaximumSimulationRadius = math.huge
- end)
- for i,v in pairs(workspace:GetDescendants()) do
- if v.ClassName == "Part" and v.Anchored == false and v:IsDescendantOf(game.Players.LocalPlayer.Character) == false then
- end
- end
- game:GetService("RunService").RenderStepped:Connect(function()
- game.Players.LocalPlayer.SimulationRadius = math.huge
- game.Players.LocalPlayer.MaximumSimulationRadius = math.huge
- end)
- for i,v in pairs(workspace:GetDescendants()) do
- if v.ClassName == "Part" and v.Anchored == false and v:IsDescendantOf(game.Players.LocalPlayer.Character) == false then
- v.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
- end
- end
- end
- end)
- LoopBring.MouseButton1Down:Connect(function()
- _G.On = true
- while _G.On==true do
- wait()
- game:GetService("RunService").RenderStepped:Connect(function()
- game.Players.LocalPlayer.SimulationRadius = math.huge
- game.Players.LocalPlayer.MaximumSimulationRadius = math.huge
- end)
- for i,v in pairs(workspace:GetDescendants()) do
- if v.ClassName == "Part" and v.Anchored == false and v:IsDescendantOf(game.Players.LocalPlayer.Character) == false then
- end
- end
- game:GetService("RunService").RenderStepped:Connect(function()
- game.Players.LocalPlayer.SimulationRadius = math.huge
- game.Players.LocalPlayer.MaximumSimulationRadius = math.huge
- end)
- for i,v in pairs(workspace:GetDescendants()) do
- if v.ClassName == "Part" and v.Anchored == false and v:IsDescendantOf(game.Players.LocalPlayer.Character) == false then
- v.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
- end
- end
- end
- end)
- Stop.MouseButton1Down:Connect(function()
- _G.On = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement