Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pcall(function() game.CoreGui["\83\99\114\105\112\116\66\111\120\71"]:Destroy() end)
- local _1 = game:GetService("\80\108\97\121\101\114\115")
- local _2 = game:GetService("\85\115\101\114\73\110\112\117\116\83\101\114\118\105\99\101")
- local _3 = _1.LocalPlayer
- local _4 = _3.Character or _3.CharacterAdded:Wait()
- local _5 = _4:WaitForChild("\72\117\109\97\110\111\105\100\82\111\111\116\80\97\114\116")
- local _6 = workspace:WaitForChild("\87\111\114\108\100\77\97\112"):WaitForChild("\67\104\101\99\107\112\111\105\110\116\115")
- local _G = Instance.new("\83\99\114\101\101\110\71\117\105", game.CoreGui)
- _G.Name = "\83\99\114\105\112\116\66\111\120\71"
- _G.ResetOnSpawn = false
- local A = Instance.new("\70\114\97\109\101", _G)
- A.Size = UDim2.new(0, 320, 0, 100)
- A.Position = UDim2.new(0.5, -160, 0, 80)
- A.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- A.BorderSizePixel = 0
- A.Active = true
- local B = Instance.new("\84\101\120\116\76\97\98\101\108", A)
- B.Size = UDim2.new(1, 0, 0.3, 0)
- B.Text = "\79\98\98\121\32\98\117\116\32\121\111\117\39\114\101\32\79\110\32\97\32\98\105\107\101\32\124\32\83\99\114\105\112\116\66\111\120"
- B.BackgroundTransparency = 1
- B.TextColor3 = Color3.new(1, 1, 1)
- B.Font = Enum.Font.GothamBold
- B.TextScaled = true
- local C = Instance.new("\84\101\120\116\66\117\116\116\111\110", A)
- C.Size = UDim2.new(1, -10, 0.3, 0)
- C.Position = UDim2.new(0, 5, 0.3, 5)
- C.Text = "\65\117\116\111\32\84\101\108\101\112\111\114\116\58\32\79\70\70"
- C.BackgroundColor3 = Color3.fromRGB(100, 100, 255)
- C.TextColor3 = Color3.new(1, 1, 1)
- C.Font = Enum.Font.Gotham
- C.TextScaled = true
- C.BorderSizePixel = 0
- local D = Instance.new("\84\101\120\116\66\111\120", A)
- D.Size = UDim2.new(1, -10, 0.25, 0)
- D.Position = UDim2.new(0, 5, 0.65, 5)
- D.Text = "\49"
- D.PlaceholderText = "\84\101\108\101\112\111\114\116\32\68\101\108\97\121"
- D.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
- D.TextColor3 = Color3.new(1, 1, 1)
- D.Font = Enum.Font.Gotham
- D.TextScaled = true
- D.BorderSizePixel = 0
- local drag, start, p0
- A.InputBegan:Connect(function(x)
- if x.UserInputType == Enum.UserInputType.MouseButton1 or x.UserInputType == Enum.UserInputType.Touch then
- drag = true
- start = x.Position
- p0 = A.Position
- x.Changed:Connect(function() if x.UserInputState == Enum.UserInputState.End then drag = false end end)
- end
- end)
- A.InputChanged:Connect(function(x)
- if drag and (x.UserInputType == Enum.UserInputType.MouseMovement or x.UserInputType == Enum.UserInputType.Touch) then
- local d = x.Position - start
- A.Position = UDim2.new(p0.X.Scale, p0.X.Offset + d.X, p0.Y.Scale, p0.Y.Offset + d.Y)
- end
- end)
- local _run, _i = false, 1
- local th
- local function go()
- th = task.spawn(function()
- while _run and _i <= 99 do
- local p = _6:FindFirstChild(tostring(_i))
- if p and p:IsA("\77\111\100\101\108") then
- local part = p.PrimaryPart or p:FindFirstChildWhichIsA("\66\97\115\101\80\97\114\116")
- if part then _5.CFrame = part.CFrame + Vector3.new(0, 5, 0) end
- end
- _i += 1
- task.wait(tonumber(D.Text) or 1)
- end
- if _i > 99 then _run = false C.Text = "\65\117\116\111\32\84\101\108\101\112\111\114\116\58\32\79\70\70" end
- end)
- end
- C.MouseButton1Click:Connect(function()
- _run = not _run
- C.Text = "\65\117\116\111\32\84\101\108\101\112\111\114\116\58\32" .. (_run and "\79\78" or "\79\70\70")
- if _run then
- if th == nil or coroutine.status(th) == "dead" then
- go()
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment