Advertisement
Feliposo21

treene

Jun 26th, 2022 (edited)
1,133
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 11.30 KB | None
  1. local final_stand = 536102540 --final stand id
  2. local Your_Nick = "Feliposo21"
  3. local private_server_vip_link = "https://www.roblox.com/games/536102540?privateServerLinkCode=82697477276289136648726715394764"
  4. local Slot="Slot1" --the one that will be used as a dummy for stats(namekian)
  5. local PointSlot="Slot2" --the one that gets the points
  6. local Account = {} Account.__index = Account
  7.  
  8.  
  9. if not game:IsLoaded() then
  10.     game.Loaded:Wait()
  11. end;
  12. repeat
  13.     game:GetService("RunService").RenderStepped:Wait();
  14. until game.Players.LocalPlayer;
  15. task.wait(5);
  16. Worlds={552500546,536102540}
  17. if game.PlaceId == Worlds[1] then
  18.     repeat
  19.         task.wait()
  20.     until game.Players.LocalPlayer.PlayerGui:FindFirstChild("Setup"):FindFirstChild("Frame"):FindFirstChild("Side"):FindFirstChild("Race").Visible == true
  21.     repeat
  22.         game.Players.LocalPlayer.Backpack.Scripter.RemoteEvent:FireServer(game.Players.LocalPlayer.PlayerGui.Setup.Frame.Side.Race,"up")
  23.         task.wait(0.5)
  24.     until game.Players.LocalPlayer.PlayerGui.Setup.Frame.Side.Race.Set.Texter.Text == "Namekian"
  25.     task.wait(3)
  26.     path=game:GetService("Players").LocalPlayer.PlayerGui.Setup.Frame.Side.Finish
  27.     firesignal(path.MouseButton1Click);
  28.     return
  29. end;
  30. if game.PlaceId ~= Worlds[2] then task.wait(10) game:GetService("TeleportService"):teleport(Worlds[2]) return end;
  31. task.spawn(function()
  32.     while task.wait() do
  33.         firetouchinterest(game.Players.LocalPlayer.Character:FindFirstChild("Head"),game.Workspace.Touchy.Part,0)
  34.         task.wait()
  35.         firetouchinterest(game.Players.LocalPlayer.Character:FindFirstChild("Head"),game.Workspace.Touchy.Part,1)
  36.         game:GetService("RunService").Stepped:Connect(function()
  37.             if game.Players.LocalPlayer.PlayerGui:FindFirstChild("Popup") and game.Players.LocalPlayer.PlayerGui:FindFirstChild("Popup").Enabled == true then
  38.                 game.Players.LocalPlayer.PlayerGui.Popup.Enabled = false
  39.             end;
  40.         end);
  41.     end;
  42. end);
  43. function SlotChange(slot)
  44.     game.Players.LocalPlayer.Backpack.ServerTraits.ChatStart:FireServer(workspace.FriendlyNPCs["Character Slot Changer"])
  45.     repeat task.wait() game.Players.LocalPlayer.Backpack.ServerTraits.ChatAdvance:FireServer({"Yes"}) until game.Players.LocalPlayer.PlayerGui.HUD.Bottom.ChatGui.TextLabel.Text == "Alright"
  46.     task.wait(.15)
  47.     repeat task.wait() game.Players.LocalPlayer.Backpack.ServerTraits.ChatAdvance:FireServer({"k"}) until game.Players.LocalPlayer.PlayerGui.HUD.Bottom.ChatGui.TextLabel.Text == "Which slot would you like to play in?"
  48.     task.wait(.15)
  49.     repeat task.wait() game.Players.LocalPlayer.Backpack.ServerTraits.ChatAdvance:FireServer({slot}) until game.Players.LocalPlayer.PlayerGui.HUD.Bottom.ChatGui.TextLabel.Text == "Loading!"
  50. end;
  51. repeat
  52.     task.wait();
  53. until game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("Block");
  54. if #game.Players:GetPlayers() ~= 1 then  getgenv().LaunchAccount(Your_Nick,536102540,private_server_vip_link) wait(2) game:shutdown() return end;
  55. Chr = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()
  56. Race = Chr:WaitForChild("Race");
  57. if Race.Value ~= "Namekian" then
  58.     task.wait(.1)
  59.     repeat
  60.         pcall(SlotChange,Slot);
  61.         task.wait(5);
  62.     until game.Players.LocalPlayer.Character.Race.Value == "Namekian";
  63. end;
  64. Level = tonumber(game.Players.LocalPlayer.PlayerGui.HUD.Bottom.Stats.LVL.Val.Text);
  65. if Level < 50 then
  66.     local lplr = game:GetService('Players').LocalPlayer
  67.     for i,v in pairs(workspace.FriendlyNPCs:GetDescendants()) do
  68.         if v.Name == 'Chat' and v.ClassName ~= 'Folder' then
  69.             if v.Value == "I heard there's a spaceship in Yunzabit Heights" then
  70.                 v.Parent.Parent.Name = 'Quest_1'
  71.             elseif v.Value == "We need your help in the future!" then
  72.                 v.Parent.Parent.Name = 'Quest_2'
  73.             elseif v.Value == "Hey want to explore the galaxy?" then
  74.                 v.Parent.Parent.Name = 'Quest_3'
  75.             elseif v.Value == "Whatup" then
  76.                 v.Parent.Parent.Name = 'Quest_4'
  77.             elseif v.Value == "YOU THINK YOU CAN STOP THE UNIVERSAL CHAMPION?" then
  78.                 v.Parent.Parent.Name = "Quest_5"
  79.             elseif v.Value == "You know, I heard there's a floating platform above Korin's Tower" then
  80.                 v.Parent.Parent.Name = "Quest_6"
  81.             elseif v.Value == "I'm interested in joining the ranked matches at the tournament arena!" then
  82.                 v.Parent.Parent.Name = "Quest_7"
  83.             elseif v.Value == "I have a packge for Master Roshi" then
  84.                 v.Parent.Parent.Name = "Quest_8"
  85.             end;
  86.         end
  87.     end
  88.     function distance(vect1,vect2)
  89.         return (vect1 - vect2).Magnitude;
  90.     end;
  91.     function Autofarm(Npc)
  92.         while task.wait() do
  93.             for i,v in pairs(game.Workspace.Live:GetChildren()) do
  94.                 if v.Name:lower():find(Npc:lower()) and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChild("Humanoid") and v.Humanoid.Health ~= 0 then
  95.                     local step=game:GetService("RunService").Stepped:Connect(function()
  96.                         local dist = distance(v.HumanoidRootPart.Position,lplr.Character.HumanoidRootPart.Position);
  97.                         game:GetService("TweenService"):Create(lplr.Character.HumanoidRootPart,TweenInfo.new(dist/5000),{CFrame=v.HumanoidRootPart.CFrame * CFrame.new(0,0,2)}):Play()
  98.                     end);
  99.                     repeat
  100.                         task.wait(.33);
  101.                         lplr.Backpack.ServerTraits.Input:FireServer({"md"},"")
  102.                     until not v:FindFirstChild("HumanoidRootPart") or not v:FindFirstChild("Humanoid") or v.Humanoid.Health == 0;
  103.                     step:Disconnect();
  104.                 end;
  105.             end
  106.             if not lplr.PlayerGui.HUD.FullSize.Quests:FindFirstChild("Copy") then
  107.                 break;
  108.             end;
  109.         end
  110.     end;
  111.     function quest_remotes(x,y,z,v)
  112.         lplr.Backpack.ServerTraits.ChatStart:FireServer(workspace.FriendlyNPCs[x])
  113.         task.wait(.1)
  114.         lplr.Backpack.ServerTraits.ChatAdvance:FireServer({y})
  115.         task.wait(.75)
  116.         lplr.Backpack.ServerTraits.ChatAdvance:FireServer({y})
  117.         task.wait(.75)
  118.         lplr.Backpack.ServerTraits.ChatAdvance:FireServer({z})
  119.         task.wait(.75)
  120.         lplr.Backpack.ServerTraits.ChatAdvance:FireServer({y})
  121.         task.wait(.75)
  122.         lplr.Backpack.ServerTraits.ChatStart:FireServer(workspace.FriendlyNPCs:FindFirstChild(tostring(v)) or 'nil');
  123.         task.wait(.5)
  124.     end
  125.     quest_remotes('Quest_1','k','Yes','NamekianShip')
  126.     quest_remotes('Quest_2','k','Yes','TimeMachine')
  127.     quest_remotes('Quest_3','k','Yes','SpaceShip')
  128.     quest_remotes('Quest_4','k','Yes','Krillin')
  129.     lplr.Backpack.ServerTraits.ChatAdvance:FireServer({"No"})
  130.     task.wait(.75)
  131.     lplr.Backpack.ServerTraits.ChatAdvance:FireServer({"k"})
  132.     task.wait(.75)
  133.     lplr.Backpack.ServerTraits.ChatStart:FireServer(workspace.FriendlyNPCs["Elder Kai"])
  134.     task.wait(.75)
  135.     lplr.Backpack.ServerTraits.ChatAdvance:FireServer({'k'})
  136.     task.wait(.75)
  137.     lplr.Backpack.ServerTraits.ChatAdvance:FireServer({'Yes'})
  138.     task.wait(.75)
  139.     lplr.Backpack.ServerTraits.ChatAdvance:FireServer({'k'})
  140.     task.wait(.75)
  141.     lplr.Backpack.ServerTraits.ChatAdvance:FireServer({'k'})
  142.     task.wait(1);
  143.     -- [[ the end of credits to shuko ]] --
  144.     quest_remotes('Quest_6','k','Yes','Popo')
  145.     lplr.Backpack.ServerTraits.ChatAdvance:FireServer({'k'})
  146.     task.wait(.5);
  147.     quest_remotes('Quest_7','k','Yes','Help Center');
  148.     lplr.Backpack.ServerTraits.ChatAdvance:FireServer({'k'})
  149.     task.wait(.5);
  150.     quest_remotes('Quest_8','k','Yes','Roshi')
  151.     lplr.Backpack.ServerTraits.ChatAdvance:FireServer({'k'})
  152.     task.wait(.5)
  153.     quest_remotes('Future Trunks','k','Alright');
  154.     coroutine.wrap(function()
  155.         points = tonumber(game.Players.LocalPlayer.PlayerGui.HUD.Bottom.Stats['StatPoints'].Val.Text)
  156.         for i=1,(points or 2) do
  157.             game:GetService("Players").LocalPlayer.Backpack.ServerTraits.AttemptUpgrade:FireServer(game:GetService("Players").LocalPlayer.PlayerGui.HUD.Bottom.Stats["Phys-Damage"])
  158.             task.wait(.05)
  159.         end;
  160.     end)();
  161.     task.wait(.5)
  162.     Autofarm('Imperfect Cell');
  163.     -- task.wait(.5);
  164.     -- quest_remotes('Quest_5','k',"Yes");
  165.     -- task.wait(.5)
  166.     -- Autofarm("Universal Champion")
  167. end;
  168. task.wait(1);
  169. if not workspace.FriendlyNPCs:FindFirstChild("KAMI") then
  170.     game.Players.LocalPlayer.Backpack.ServerTraits.ChatStart:FireServer(workspace.FriendlyNPCs["Start New Game [Redo Character]"]);
  171.     task.wait(0.5);
  172.     game.Players.LocalPlayer.Backpack.ServerTraits.ChatAdvance:FireServer({"Yes"});
  173.     task.wait(0.5);
  174.     game.Players.LocalPlayer.Backpack.ServerTraits.ChatAdvance:FireServer({"k"});
  175.     task.wait(0.5);
  176.     game.Players.LocalPlayer.Backpack.ServerTraits.ChatAdvance:FireServer({"Yes"});
  177.     return;
  178. end;
  179. game.Players.LocalPlayer.Backpack.ServerTraits.ChatStart:FireServer(workspace.FriendlyNPCs['KAMI']);
  180. task.wait(.75)
  181. game.Players.LocalPlayer.Backpack.ServerTraits.ChatAdvance:FireServer({'k'});
  182. task.wait(.5);
  183. pcall(function()
  184.     SlotChange(PointSlot);
  185. end);
  186. task.wait(10);
  187. if game.Players.LocalPlayer.Character:FindFirstChild("Race") and (game.Players.LocalPlayer.Character.Race.Value == "Namekian" or game.Players.LocalPlayer.Character.Race.Value == "Namekian" and not workspace.FriendlyNPCs:FindFirstChild("KAMI")) then
  188.     repeat task.wait(.5);pcall(function()
  189.         if game.Players.LocalPlayer.Character:FindFirstChild("Race") and game.Players.LocalPlayer.Character.Race.Value == "Namekian" then
  190.             game.Players.LocalPlayer.Backpack.ServerTraits.ChatStart:FireServer(workspace.FriendlyNPCs["Start New Game [Redo Character]"]);
  191.             task.wait(0.5);
  192.             game.Players.LocalPlayer.Backpack.ServerTraits.ChatAdvance:FireServer({"Yes"});
  193.             task.wait(0.5);
  194.             game.Players.LocalPlayer.Backpack.ServerTraits.ChatAdvance:FireServer({"k"});
  195.             task.wait(0.5);
  196.             game.Players.LocalPlayer.Backpack.ServerTraits.ChatAdvance:FireServer({"Yes"});
  197.         else
  198.             SlotChange(Slot);
  199.         end;
  200.     end)
  201.     until game.PlaceId ~= game.PlaceId;
  202. else
  203.     repeat
  204.         pcall(SlotChange,Slot);
  205.         task.wait(10);
  206.     until game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild("Race") and game.Players.LocalPlayer.Character:FindFirstChild("Race").Value == "Namekian";
  207.     task.wait(.1)
  208.     repeat task.wait(.5); pcall(function()
  209.         if game.Players.LocalPlayer.Character:FindFirstChild("Race") and game.Players.LocalPlayer.Character.Race.Value == "Namekian" then
  210.             game.Players.LocalPlayer.Backpack.ServerTraits.ChatStart:FireServer(workspace.FriendlyNPCs["Start New Game [Redo Character]"]);
  211.             task.wait(0.5);
  212.             game.Players.LocalPlayer.Backpack.ServerTraits.ChatAdvance:FireServer({"Yes"});
  213.             task.wait(0.5);
  214.             game.Players.LocalPlayer.Backpack.ServerTraits.ChatAdvance:FireServer({"k"});
  215.             task.wait(0.5);
  216.             game.Players.LocalPlayer.Backpack.ServerTraits.ChatAdvance:FireServer({"Yes"});
  217.         else
  218.             SlotChange(Slot);
  219.         end;
  220.     end)
  221.     until game.PlaceId ~= game.PlaceId;
  222. end;
Advertisement
RAW Paste Data Copied
Advertisement