Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local a={}local function b(c)a["1"]=Instance.new("ScreenGui",c:WaitForChild("PlayerGui"))a["1"]["Name"]=[[ForsakenAutoGen]]a["1"]["ZIndexBehavior"]=Enum.ZIndexBehavior.Sibling;a["2"]=Instance.new("Frame",a["1"])a["2"]["BackgroundColor3"]=Color3.fromRGB(142,143,144)a["2"]["Size"]=UDim2.new(0.43669,0,0.2067,0)a["2"]["Position"]=UDim2.new(0.024,0,0.776,0)a["2"]["BorderColor3"]=Color3.fromRGB(28,43,54)a["3"]=Instance.new("TextLabel",a["2"])a["3"]["TextWrapped"]=true;a["3"]["TextSize"]=14;a["3"]["TextScaled"]=true;a["3"]["BackgroundColor3"]=Color3.fromRGB(255,255,255)a["3"]["FontFace"]=Font.new([[rbxasset://fonts/families/ComicNeueAngular.json]],Enum.FontWeight.Regular,Enum.FontStyle.Normal)a["3"]["TextColor3"]=Color3.fromRGB(255,255,255)a["3"]["BackgroundTransparency"]=1;a["3"]["Size"]=UDim2.new(1,0,0.21834,0)a["3"]["BorderColor3"]=Color3.fromRGB(28,43,54)a["3"]["Text"]=[[Forsaken Auto Generator v1.2.1]]a["3"]["Name"]=[[NameGUI]]a["3"]["Position"]=UDim2.new(0,0,-0.00137,0)a["4"]=Instance.new("UICorner",a["3"])a["4"]["CornerRadius"]=UDim.new(0.2,0)a["5"]=Instance.new("UIAspectRatioConstraint",a["3"])a["5"]["AspectRatio"]=9.2;a["6"]=Instance.new("UITextSizeConstraint",a["3"])a["6"]["MaxTextSize"]=49;a["7"]=Instance.new("LocalScript",a["3"])a["7"]["Name"]=[[Rainbower]]a["8"]=Instance.new("TextButton",a["2"])a["8"]["TextWrapped"]=true;a["8"]["TextColor3"]=Color3.fromRGB(0,0,0)a["8"]["TextSize"]=14;a["8"]["TextScaled"]=true;a["8"]["BackgroundColor3"]=Color3.fromRGB(209,212,212)a["8"]["FontFace"]=Font.new([[rbxasset://fonts/families/ComicNeueAngular.json]],Enum.FontWeight.Regular,Enum.FontStyle.Normal)a["8"]["Size"]=UDim2.new(0.43478,0,0.21834,0)a["8"]["Name"]=[[CompleteButton]]a["8"]["BorderColor3"]=Color3.fromRGB(28,43,54)a["8"]["Text"]=[[Complete]]a["8"]["Position"]=UDim2.new(0.28261,0,0.7194,0)a["9"]=Instance.new("LocalScript",a["8"])a["9"]["Name"]=[[CompletionScript]]a["a"]=Instance.new("UICorner",a["8"])a["a"]["CornerRadius"]=UDim.new(0.2,0)a["b"]=Instance.new("UIAspectRatioConstraint",a["8"])a["b"]["AspectRatio"]=4;a["c"]=Instance.new("UITextSizeConstraint",a["8"])a["c"]["MaxTextSize"]=49;a["d"]=Instance.new("LocalScript",a["2"])a["d"]["Name"]=[[Drag]]a["e"]=Instance.new("UIGradient",a["2"])a["e"]["Rotation"]=90;a["e"]["Color"]=ColorSequence.new{ColorSequenceKeypoint.new(0.000,Color3.fromRGB(255,255,255)),ColorSequenceKeypoint.new(0.350,Color3.fromRGB(198,137,255)),ColorSequenceKeypoint.new(0.425,Color3.fromRGB(252,255,255)),ColorSequenceKeypoint.new(0.498,Color3.fromRGB(162,72,243)),ColorSequenceKeypoint.new(0.575,Color3.fromRGB(238,241,255)),ColorSequenceKeypoint.new(0.650,Color3.fromRGB(200,141,254)),ColorSequenceKeypoint.new(1.000,Color3.fromRGB(255,255,255))}a["f"]=Instance.new("UICorner",a["2"])a["f"]["CornerRadius"]=UDim.new(0.2,0)a["10"]=Instance.new("UIAspectRatioConstraint",a["2"])a["10"]["AspectRatio"]=2.00873;a["11"]=Instance.new("TextBox",a["2"])a["11"]["Name"]=[[SpeedText]]a["11"]["PlaceholderColor3"]=Color3.fromRGB(179,179,179)a["11"]["TextWrapped"]=true;a["11"]["TextSize"]=14;a["11"]["TextColor3"]=Color3.fromRGB(0,0,0)a["11"]["TextScaled"]=true;a["11"]["BackgroundColor3"]=Color3.fromRGB(255,255,255)a["11"]["FontFace"]=Font.new([[rbxasset://fonts/families/ComicNeueAngular.json]],Enum.FontWeight.Regular,Enum.FontStyle.Normal)a["11"]["PlaceholderText"]=[[speed goes here...]]a["11"]["Size"]=UDim2.new(1,0,0.21834,0)a["11"]["Position"]=UDim2.new(0,0,0.3827,0)a["11"]["BorderColor3"]=Color3.fromRGB(28,43,54)a["11"]["Text"]=[[]]a["12"]=Instance.new("UICorner",a["11"])a["12"]["CornerRadius"]=UDim.new(0.2,0)a["13"]=Instance.new("UIAspectRatioConstraint",a["11"])a["13"]["AspectRatio"]=9.2;a["14"]=Instance.new("UITextSizeConstraint",a["11"])a["14"]["MaxTextSize"]=49;local function d()local e=a["7"]while wait()do e.Parent.TextColor3=Color3.new(1,0,0)for f=1,15 do game:GetService("RunService").RenderStepped:wait()e.Parent.TextColor3=Color3.new(e.Parent.TextColor3.r,e.Parent.TextColor3.g+17/255,e.Parent.TextColor3.b)end;for f=1,15 do game:GetService("RunService").RenderStepped:wait()e.Parent.TextColor3=Color3.new(e.Parent.TextColor3.r-17/255,e.Parent.TextColor3.g,e.Parent.TextColor3.b)end;for f=1,15 do game:GetService("RunService").RenderStepped:wait()e.Parent.TextColor3=Color3.new(e.Parent.TextColor3.r,e.Parent.TextColor3.g,e.Parent.TextColor3.b+17/255)end;for f=1,15 do game:GetService("RunService").RenderStepped:wait()e.Parent.TextColor3=Color3.new(e.Parent.TextColor3.r,e.Parent.TextColor3.g-17/255,e.Parent.TextColor3.b)end;for f=1,15 do game:GetService("RunService").RenderStepped:wait()e.Parent.TextColor3=Color3.new(e.Parent.TextColor3.r+17/255,e.Parent.TextColor3.g,e.Parent.TextColor3.b)end;for f=1,15 do game:GetService("RunService").RenderStepped:wait()e.Parent.TextColor3=Color3.new(e.Parent.TextColor3.r,e.Parent.TextColor3.g,e.Parent.TextColor3.b-17/255)end end end;task.spawn(d)local function g()local e=a["9"]local h=e.Parent;local i=h.Parent;local j=i:WaitForChild("SpeedText")local c=game.Players.LocalPlayer;local k=c.Character or c.CharacterAdded:Wait()local l=k:WaitForChild("Humanoid")local m=game:GetService("RunService")local n=false;h.MouseButton1Click:Connect(function()if n then return end;if j.Text~=""then local o=tonumber(j.Text)or 2.5;local p=game:GetService("Players")local c=p.LocalPlayer;local k=c.Character or c.CharacterAdded:Wait()local q=k:WaitForChild("HumanoidRootPart")local r=workspace:WaitForChild("Map"):WaitForChild("Ingame"):WaitForChild("Map")local s,t=nil,math.huge;for u,v in ipairs(r:GetChildren())do if v:IsA("Model")then local w=v:FindFirstChild("Progress")local x=v:FindFirstChild("Main")if w and w.Value~=100 then if x and x:IsA("BasePart")then local y=(x.Position-q.Position).Magnitude;if y<t then t=y;s=v end end end end end;if s then local z=s:FindFirstChild("Remotes")local A=s:FindFirstChild("Positions"):FindFirstChild("Center")if A then k:SetPrimaryPartCFrame(A.CFrame)end;task.wait(0.25)if z then n=true;task.spawn(function()for i=10,1,-1 do h.Text="Complete ("..tostring(i)..")"task.wait(1)end;h.Text="Complete"end)local B=z:FindFirstChild("RF")local C=z:FindFirstChild("RE")if B and B:IsA("RemoteFunction")then B:InvokeServer("enter")end;if C and C:IsA("RemoteEvent")then for u=1,4 do task.wait(o)C:FireServer()end;n=false end end end else j.Text="2.5"end end)end;task.spawn(g)local function D()local e=a["d"]local E=game:GetService("UserInputService")function dragify(i)local F=nil;local G=0;local H=nil;local I=nil;local J=nil;function updateInput(K)local L=K.Position-I;local M=UDim2.new(startPos.X.Scale,startPos.X.Offset+L.X,startPos.Y.Scale,startPos.Y.Offset+L.Y)game:GetService("TweenService"):Create(i,TweenInfo.new(0.25),{Position=M}):Play()end;i.InputBegan:Connect(function(K)if(K.UserInputType==Enum.UserInputType.MouseButton1 or K.UserInputType==Enum.UserInputType.Touch)and E:GetFocusedTextBox()==nil then F=true;I=K.Position;startPos=i.Position;K.Changed:Connect(function()if K.UserInputState==Enum.UserInputState.End then F=false end end)end end)i.InputChanged:Connect(function(K)if K.UserInputType==Enum.UserInputType.MouseMovement or K.UserInputType==Enum.UserInputType.Touch then H=K end end)game:GetService("UserInputService").InputChanged:Connect(function(K)if K==H and F then updateInput(K)end end)end;dragify(e.Parent)end;task.spawn(D)end;local c=game.Players.LocalPlayer;b(c)c.CharacterAdded:Connect(function()a["1"]:Destroy()a={}b(c)end)return a["1"],require
Advertisement
Add Comment
Please, Sign In to add comment