Upscalefanatic3

Rumble Quest GUI Made By xTachi

Jan 5th, 2020
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ------------------------------------------------------
  2. -- Rumble Quest GUI
  3. -- Made by xTachi // repxrd#0347
  4. ------------------------------------------------------
  5.  
  6. if not game.Players.LocalPlayer:WaitForChild("PlayerGui"):FindFirstChild("VBC_rg_gui") then
  7.  
  8. local nodoors=false
  9. local walkspeed=false
  10. local killaura=false
  11. local weaponID
  12.  
  13. --Check Text
  14. spawn(function()
  15.     while true do
  16.         if game.Players.LocalPlayer.PlayerGui.VBC_rg_gui.main.main.credits.text.Text~="Made by repxrd#0347" then
  17.             game.Players.LocalPlayer.PlayerGui.VBC_rg_gui.main.main.credits.text.Text="Made by repxrd#0347"
  18.         end
  19.         wait(3)
  20.     end
  21. end)
  22.  
  23. --Get Weapon ID
  24. local function getWID()
  25.     for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  26.         if v.Name~="HumanoidRootPart" and v.Name~="LeftHand" and v.Name~="LeftLowerArm" and v.Name~="LeftUpperArm" and v.Name~="RightHand" and v.Name~="RightLowerArm" and v.Name~="RightUpperArm" and v.Name~="UpperTorso" and v.Name~="LeftFoot" and v.Name~="LeftLowerLeg" and v.Name~="LeftUpperLeg" and v.Name~="RightFoot" and v.Name~="RightLowerLeg" and v.Name~="RightUpperLeg" and v.Name~="LowerTorso" and v.Name~="Humanoid" and v.Name~="Head" and v.Name~="Health" and v.Name~="Animate" and v.Name~="ArmorHead" and v.Name~="ArmorTorso" and v.Name~="ArmorChest" and v.Name~="ArmorLegs" and v.Name~="PlayerOverheadGui" and v.ClassName=="Model" and v.ClassName~="Folder" and v.ClassName~="Part" and v.ClassName~="MeshPart" then
  27.             weaponID=v.Name
  28.         end
  29.     end
  30. end
  31.  
  32. --Rainbow text
  33. local function rainbow(texts,sec,add)
  34.     for i=255,0,-add do for i2,v in pairs(texts) do v.TextColor3 = Color3.fromRGB(255,i,i) end--(255,0,0)
  35.         wait(sec) end
  36.     for i=0,175,add do for i2,v in pairs(texts) do v.TextColor3 = Color3.fromRGB(255,i,0) end--(255,175,0)
  37.         wait(sec) end
  38.     for i=175,255,add do for i2,v in pairs(texts) do v.TextColor3 = Color3.fromRGB(255,i,0) end--(255,255,0)
  39.         wait(sec) end
  40.     for i=255,0,-add do for i2,v in pairs(texts) do v.TextColor3 = Color3.fromRGB(i,255,0) end--(0,255,0)
  41.         wait(sec) end
  42.     for i=0,255,add do for i2,v in pairs(texts) do v.TextColor3 = Color3.fromRGB(0,255,i) end--(0,255,255)
  43.         wait(sec) end
  44.     for i=255,0,-add do for i2,v in pairs(texts) do v.TextColor3 = Color3.fromRGB(0,i,255) end--(0,0,255)
  45.         wait(sec) end
  46.     for i=0,255,add do for i2,v in pairs(texts) do v.TextColor3 = Color3.fromRGB(i,0,255) end--(255,0,255)
  47.         wait(sec) end
  48.     for i=0,255,add do for i2,v in pairs(texts) do v.TextColor3 = Color3.fromRGB(255,i,255) end--(255,255,255)
  49.         wait(sec) end
  50. end
  51.  
  52. --No Doors
  53. local function nodoors_f(state)
  54.     if workspace.Terrain:FindFirstChild("DungeonBoss") then
  55.         for i,v in pairs(workspace.Terrain:GetChildren()) do
  56.             if v.Name=='DungeonPiece1' or v.Name=='DungeonPiece2' or v.Name=='DungeonPiece3' or v.Name=='DungeonPiece4' or v.Name=='DungeonPiece5' or v.Name=='DungeonPiece6' or v.Name=='DungeonPiece7' or v.Name=='DungeonBoss' then
  57.                 for i,v2 in pairs(v.Door:GetChildren()) do
  58.                     if v2:IsA("MeshPart") or v2:IsA("Part") then
  59.                         v2.CanCollide=state
  60.                     end
  61.                     if v2.Name=="Door1" or v.Name=="Door2" then
  62.                         for i,v3 in pairs(v2:GetChildren()) do
  63.                             if v3:IsA("Part") or v3:IsA("UnionOperation") or v3:IsA("MeshPart") then
  64.                                 v3.CanCollide=state
  65.                             end
  66.                         end
  67.                     end
  68.                 end
  69.             end
  70.         end
  71.     elseif not state then
  72.         game.Players.LocalPlayer.PlayerGui.VBC_rg_gui.main.main.credits.text.Text="Error: You must join the dungeon!"
  73.     end
  74. end
  75.  
  76. --Create Gui
  77. local screengui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  78. screengui.DisplayOrder = 999999999
  79. screengui.Name = "VBC_rg_gui"
  80. --
  81. local main = Instance.new("Frame",screengui)
  82. main.Name = "main"
  83. main.BackgroundTransparency = 0.999
  84. main.Size = UDim2.new(1,1,1,1)
  85. main.ZIndex = 999999999
  86. --top
  87. local top = Instance.new("Frame",main)
  88. top.Name = "top"
  89. top.BackgroundColor3 = Color3.fromRGB(55,55,55)
  90. top.BorderSizePixel = 0
  91. top.Position = UDim2.new(0.188,0,0.102,0)
  92. top.Size = UDim2.new(0.2,0,0.03,0)
  93. top.ZIndex = 999999998
  94.     --arrow
  95.     local arrow = Instance.new("TextButton",top)
  96.     arrow.Name = "arrow"
  97.     arrow.BackgroundTransparency = 1
  98.     arrow.Size = UDim2.new(0.991,1,1,1)
  99.     arrow.Font = Enum.Font.GothamBold
  100.     arrow.Text = "[T] <"
  101.     arrow.TextColor3 = Color3.fromRGB(255,255,255)
  102.     arrow.TextScaled = true
  103.     arrow.ZIndex = 999999999
  104.     arrow.TextXAlignment = Enum.TextXAlignment.Right
  105.         --arrow script
  106.         local function arrow_f()
  107.             if arrow.Text=="[T] <" then
  108.                 arrow.Text="[T] X"
  109.                 arrow.Parent.Parent:FindFirstChild("main").Visible=true
  110.             else
  111.                 arrow.Text="[T] <"
  112.                 arrow.Parent.Parent:FindFirstChild("main").Visible=false
  113.             end
  114.         end
  115.         arrow.MouseButton1Click:Connect(arrow_f)
  116.         game:GetService("UserInputService").InputBegan:Connect(function(key)
  117.             if key.KeyCode==Enum.KeyCode.T then
  118.                 arrow_f()
  119.             end
  120.         end)
  121.     --main
  122.     local main_ = Instance.new("TextButton",top)
  123.     main_.Name = "main"
  124.     main_.BackgroundTransparency = 1
  125.     main_.Position = UDim2.new(0.002,0,0,0)
  126.     main_.Size = UDim2.new(0.9,1,1,1)
  127.     main_.Font = Enum.Font.GothamBold
  128.     main_.Text = "Main"
  129.     main_.TextColor3 = Color3.fromRGB(255,255,255)
  130.     main_.TextScaled = true
  131.     main_.ZIndex = 999999999
  132.     main_.TextXAlignment = Enum.TextXAlignment.Left
  133. --main(2)
  134. local main2 = Instance.new("Frame",main)
  135. main2.Name = "main"
  136. main2.BackgroundColor3 = Color3.fromRGB(74,74,74)
  137. main2.BorderSizePixel = 0
  138. main2.Position = UDim2.new(0.188,0,0.135,0)
  139. main2.Size = UDim2.new(0.2,0,0.165,0)
  140. main2.ZIndex = 999999997
  141. main2.Visible = false
  142.     --credits
  143.     local credits = Instance.new("Frame",main2)
  144.     credits.Name = "credits"
  145.     credits.BackgroundTransparency = 1
  146.     credits.Position = UDim2.new(0,0,0.595,0)
  147.     credits.Size = UDim2.new(1,0,0.4,0)
  148.     credits.ZIndex = 999999998
  149.         --text
  150.         local ctext = Instance.new("TextLabel",credits)
  151.         ctext.Name = "text"
  152.         ctext.BackgroundTransparency = 1
  153.         ctext.Position = UDim2.new(0,0,0.444,0)
  154.         ctext.Size = UDim2.new(1,1,0.426,1)
  155.         ctext.Font = Enum.Font.SourceSansItalic
  156.         ctext.Text = "Made by repxrd#0347"
  157.         ctext.TextColor3 = Color3.fromRGB(158,158,158)
  158.         ctext.TextScaled = true
  159.         ctext.ZIndex = 999999999
  160.     --walkspeed
  161.     local walkspeed = Instance.new("Frame",main2)
  162.     walkspeed.Name = "walkspeed"
  163.     walkspeed.BackgroundTransparency = 1
  164.     walkspeed.Position = UDim2.new(0,0,0.082,0)
  165.     walkspeed.Size = UDim2.new(1,0,0.32,0)
  166.     walkspeed.ZIndex = 999999998
  167.         --text
  168.         local text = Instance.new("TextLabel",walkspeed)
  169.         text.Name = "text"
  170.         text.BackgroundTransparency = 1
  171.         text.Position = UDim2.new(0.027,0,0,0)
  172.         text.Size = UDim2.new(0.5,1,0.763,1)
  173.         text.Font = Enum.Font.GothamBold
  174.         text.Text = "WalkSpeed [R]"
  175.         text.TextColor3 = Color3.fromRGB(255,255,255)
  176.         text.TextScaled = true
  177.         text.ZIndex = 999999999
  178.         --check
  179.         local text_ = Instance.new("TextButton",walkspeed)
  180.         text_.Name = "check"
  181.         --text_.BackgroundTransparency = 1
  182.         text_.BackgroundColor3 = Color3.fromRGB(65,65,65)
  183.         text_.BorderSizePixel = 0
  184.         text_.Position = UDim2.new(0.57,0,0,0)
  185.         text_.Size = UDim2.new(0.42,0,0.7,0)
  186.         text_.Font = Enum.Font.GothamBold
  187.         text_.Text = "OFF"
  188.         text_.TextColor3 = Color3.fromRGB(255,0,0)
  189.         text_.TextScaled = true
  190.         text_.ZIndex = 999999999
  191.             --check script
  192.             local function check()
  193.                 if text_.Text=="OFF" then
  194.                     text_.Text="ON"
  195.                     text_.TextColor3 = Color3.fromRGB(0,255,0)
  196.                     walkspeed=true
  197.                 else
  198.                     text_.Text="OFF"
  199.                     text_.TextColor3 = Color3.fromRGB(255,0,0)
  200.                     walkspeed=false
  201.                 end
  202.             end
  203.             text_.MouseButton1Click:Connect(check)
  204.             game:GetService("UserInputService").InputBegan:Connect(function(key)
  205.                 if key.KeyCode==Enum.KeyCode.R then
  206.                     check()
  207.                 end
  208.             end)
  209.     --killaura
  210.     local killaura = Instance.new("Frame",main2)
  211.     killaura.Name = "killaura"
  212.     killaura.BackgroundTransparency = 1
  213.     killaura.Position = UDim2.new(0,0,0.082,0)
  214.     killaura.Size = UDim2.new(1,0,0.32,0)
  215.     killaura.ZIndex = 999999998
  216.         --text
  217.         local text = Instance.new("TextLabel",killaura)
  218.         text.Name = "text"
  219.         text.BackgroundTransparency = 1
  220.         text.Position = UDim2.new(0.027,0,0.698,0)
  221.         text.Size = UDim2.new(0.5,1,0.763,1)
  222.         text.Font = Enum.Font.GothamBold
  223.         text.Text = "Kill-Aura [F]"
  224.         text.TextColor3 = Color3.fromRGB(255,255,255)
  225.         text.TextScaled = true
  226.         text.ZIndex = 999999999
  227.         --check
  228.         local text_2 = Instance.new("TextButton",killaura)
  229.         text_2.Name = "check"
  230.         --text_2.BackgroundTransparency = 1
  231.         text_2.BackgroundColor3 = Color3.fromRGB(65,65,65)
  232.         text_2.BorderSizePixel = 0
  233.         text_2.Position = UDim2.new(0.57,0,0.721,0)
  234.         text_2.Size = UDim2.new(0.42,0,0.7,0)
  235.         text_2.Font = Enum.Font.GothamBold
  236.         text_2.Text = "OFF"
  237.         text_2.TextColor3 = Color3.fromRGB(255,0,0)
  238.         text_2.TextScaled = true
  239.         text_2.ZIndex = 999999999
  240.             --check script
  241.             local function check_()
  242.                 if text_2.Text=="OFF" then
  243.                     text_2.Text="ON"
  244.                     text_2.TextColor3 = Color3.fromRGB(0,255,0)
  245.                     killaura=true
  246.                 else
  247.                     text_2.Text="OFF"
  248.                     text_2.TextColor3 = Color3.fromRGB(255,0,0)
  249.                     killaura=false
  250.                 end
  251.             end
  252.             text_2.MouseButton1Click:Connect(check_)
  253.             game:GetService("UserInputService").InputBegan:Connect(function(key)
  254.                 if key.KeyCode==Enum.KeyCode.F then
  255.                     check_()
  256.                 end
  257.             end)
  258.     --cc doors
  259.     local ccdoors = Instance.new("Frame",main2)
  260.     ccdoors.Name = "ccdoors"
  261.     ccdoors.BackgroundTransparency = 1
  262.     ccdoors.Position = UDim2.new(0,0,0.082,0)
  263.     ccdoors.Size = UDim2.new(1,0,0.32,0)
  264.     ccdoors.ZIndex = 999999998
  265.         --text
  266.         local text = Instance.new("TextLabel",ccdoors)
  267.         text.Name = "text"
  268.         text.BackgroundTransparency = 1
  269.         text.Position = UDim2.new(0.027,0,1.396,0)
  270.         text.Size = UDim2.new(0.5,1,0.763,1)
  271.         text.Font = Enum.Font.GothamBold
  272.         text.Text = "CC-Doors [C]"
  273.         text.TextColor3 = Color3.fromRGB(255,255,255)
  274.         text.TextScaled = true
  275.         text.ZIndex = 999999999
  276.         --check
  277.         local text_2 = Instance.new("TextButton",ccdoors)
  278.         text_2.Name = "check"
  279.         --text_2.BackgroundTransparency = 1
  280.         text_2.BackgroundColor3 = Color3.fromRGB(65,65,65)
  281.         text_2.BorderSizePixel = 0
  282.         text_2.Position = UDim2.new(0.57,0,1.442,0)
  283.         text_2.Size = UDim2.new(0.42,0,0.7,0)
  284.         text_2.Font = Enum.Font.GothamBold
  285.         text_2.Text = "OFF"
  286.         text_2.TextColor3 = Color3.fromRGB(255,0,0)
  287.         text_2.TextScaled = true
  288.         text_2.ZIndex = 999999999
  289.             --check script
  290.             local function check_()
  291.                 if text_2.Text=="OFF" then
  292.                     text_2.Text="ON"
  293.                     text_2.TextColor3 = Color3.fromRGB(0,255,0)
  294.                     nodoors=true
  295.                     nodoors_f(false)
  296.                 else
  297.                     text_2.Text="OFF"
  298.                     text_2.TextColor3 = Color3.fromRGB(255,0,0)
  299.                     nodoors=false
  300.                     nodoors_f(true)
  301.                 end
  302.             end
  303.             text_2.MouseButton1Click:Connect(check_)
  304.             game:GetService("UserInputService").InputBegan:Connect(function(key)
  305.                 if key.KeyCode==Enum.KeyCode.C then
  306.                     check_()
  307.                 end
  308.             end)
  309. --draggable
  310. local mouse = game.Players.LocalPlayer:GetMouse()
  311. local frame = main.top
  312. local frame2 = main.main
  313. main.top.main.MouseButton1Down:Connect(function()
  314.     while game:GetService("UserInputService"):IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
  315.         frame.Position = UDim2.new(0,mouse.X-200,0,mouse.Y-10)
  316.         frame2.Position = frame.Position + UDim2.new(0,0,0.033,0)
  317.         wait()
  318.     end
  319. end)
  320. --rainbow
  321. local sec = .00001
  322. local add = 5
  323. spawn(function()
  324.     repeat
  325.         rainbow({main_,ctext},sec,add)
  326.     until false
  327. end)
  328.  
  329. spawn(function()
  330.     while true do
  331.         if walkspeed==true then
  332.             if game.Players.LocalPlayer.Character.Humanoid.WalkSpeed~=100 then
  333.                 game.Players.LocalPlayer.Character.Humanoid.WalkSpeed=100
  334.             end
  335.         elseif game.Players.LocalPlayer.Character.Humanoid.WalkSpeed~=16 then
  336.             game.Players.LocalPlayer.Character.Humanoid.WalkSpeed=16
  337.         end
  338.         if killaura==true then
  339.             getWID()
  340.             for i,enemy in pairs(game.Workspace.Enemies:GetChildren()) do
  341.                 if (game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position-enemy:WaitForChild("HumanoidRootPart").Position).Magnitude<=100 then
  342.                     game.ReplicatedStorage.Modules.Network.RemoteEvent:FireServer("WeaponDamage",weaponID,enemy:WaitForChild("Humanoid"))
  343.                 end
  344.             end
  345.         end
  346.         wait(.01)
  347.     end
  348. end)
  349.  
  350. else
  351.     game.Players.LocalPlayer.PlayerGui.VBC_rg_gui.main.main.credits.text.Text="Error: GUI already injected"
  352. end
  353.  
  354. --Thank you for using my gui!
Add Comment
Please, Sign In to add comment