rrixh

Untitled

Mar 1st, 2024
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.50 KB | None | 0 0
  1. -- Create ScreenGui object and set its properties
  2. local screenGui = Instance.new("ScreenGui")
  3. screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  4. screenGui.Enabled = true
  5. screenGui.ResetOnSpawn = false -- Prevents the GUI from resetting when the player respawns
  6.  
  7. -- Create ImageLabel object to display the title
  8. local titleLabel = Instance.new("ImageLabel")
  9. titleLabel.Size = UDim2.new(0, 200, 0, 50)
  10. titleLabel.Position = UDim2.new(0.5, -100, 0, 10)
  11. titleLabel.BackgroundColor3 = Color3.fromRGB(30, 30, 30) -- Dark gray background color
  12. titleLabel.BorderSizePixel = 0 -- Remove border
  13. titleLabel.ImageTransparency = 0 -- Make the text visible
  14. titleLabel.Image = "rbxassetid://6996358407" -- Use an image with the text "ROVA HUB 1.V"
  15. titleLabel.Parent = screenGui
  16.  
  17. -- Create ScrollingFrame object
  18. local scrollingFrame = Instance.new("ScrollingFrame")
  19. scrollingFrame.Size = UDim2.new(0, 200, 0, 200)
  20. scrollingFrame.Position = UDim2.new(0.5, -100, 0.5, -100)
  21. scrollingFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) -- Dark gray background color
  22. scrollingFrame.BorderSizePixel = 0 -- Remove border
  23. scrollingFrame.CanvasSize = UDim2.new(0, 0, 1, 0) -- Enable vertical scrolling
  24. scrollingFrame.Parent = screenGui
  25.  
  26. -- Create ImageLabel object inside the ScrollingFrame object
  27. local avatarImageLabel = Instance.new("ImageLabel")
  28. avatarImageLabel.Size = UDim2.new(0, 50, 0, 50)
  29. avatarImageLabel.Position = UDim2.new(0, 10, 0, 10) -- Add some padding
  30. avatarImageLabel.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&userid="..game.Players.LocalPlayer.UserId
  31. avatarImageLabel.Parent = scrollingFrame
  32.  
  33. -- Create button inside the ScrollingFrame object
  34. local autoParryButton = Instance.new("TextButton")
  35. autoParryButton.Size = UDim2.new(0, 150, 0, 50) -- Increase width
  36. autoParryButton.Position = UDim2.new(0.5, -75, 0, 80) -- Center horizontally, move down
  37. autoParryButton.BackgroundColor3 = Color3.fromRGB(0, 123, 255) -- Blue background color
  38. autoParryButton.TextColor3 = Color3.new(1, 1, 1)
  39. autoParryButton.Text = "Auto Parry V2"
  40. autoParryButton.Font = Enum.Font.SourceSansBold -- Change font
  41. autoParryButton.TextSize = 24 -- Increase font size
  42. autoParryButton.Parent = scrollingFrame
  43.  
  44. -- Create Open/Close button in the top right corner of the screen
  45. local openCloseButton = Instance.new("TextButton")
  46. openCloseButton.Size = UDim2.new(0, 100, 0, 50)
  47. openCloseButton.Position = UDim2.new(1, -110, 0, 10)
  48. openCloseButton.BackgroundColor3 = Color3.fromRGB(0, 123, 255) -- Blue background color
  49. openCloseButton.TextColor3 = Color3.new(1, 1, 1)
  50. openCloseButton.Text = "Open/Close"
  51. openCloseButton.Font = Enum.Font.SourceSansBold -- Change font
  52. openCloseButton.TextSize = 18 -- Decrease font size
  53. openCloseButton.Parent = screenGui
  54.  
  55. -- Create PointLight object and set its properties
  56. local light = Instance.new("PointLight")
  57. light.Brightness = 5
  58. light.Range = 20
  59. light.Color = Color3.fromRGB(255, 255, 255)
  60. light.Parent = screenGui
  61.  
  62. -- Define a function to animate the ScrollingFrame's position and transparency
  63. local function animateScrollingFrame(scrollingFrame, titleLabel, isVisible)
  64.     local tweenInfo = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
  65.     if isVisible then
  66.         scrollingFrame.Visible = true
  67.         local tween = game:GetService("TweenService"):Create(scrollingFrame, tweenInfo, {Position = UDim2.new(0.5, -100, 0.5, -100), BackgroundTransparency = 0})
  68.         tween:Play()
  69.         local titleTween = game:GetService("TweenService"):Create(titleLabel, tweenInfo, {Position = UDim2.new(0.5, -100, 0, 10), ImageTransparency = 0})
  70.         titleTween:Play()
  71.     else
  72.         local tween = game:GetService("TweenService"):Create(scrollingFrame, tweenInfo, {Position = UDim2.new(0.5, -100, 1.5, -100), BackgroundTransparency = 1})
  73.         tween:Play()
  74.         local titleTween = game:GetService("TweenService"):Create(titleLabel, tweenInfo, {Position = UDim2.new(0.5, -100, -0.5, -10), ImageTransparency = 1})
  75.         titleTween:Play()
  76.         wait(0.5)
  77.         scrollingFrame.Visible = false
  78.     end
  79. end
  80.  
  81. -- Connect the animateScrollingFrame function to the Open/Close button's MouseButton1Click event
  82. openCloseButton.MouseButton1Click:Connect(function()
  83.     animateScrollingFrame(scrollingFrame, titleLabel, not scrollingFrame.Visible)
  84. end)
  85.  
  86. -- Define a function to execute the auto parry
  87. local function executeScript()
  88.     animateScrollingFrame(scrollingFrame, titleLabel, true)
  89.     getgenv().SpamSpeed = 1
  90.     loadstring(game:HttpGet("https://raw.githubusercontent.com/Hosvile/Refinement/main/MC%3ABlade%20Ball%20Spam",true))()
  91.     autoParryButton.Text = "Auto Parry (work+hosvile)"
  92. end
  93.  
  94. autoParryButton.MouseButton1Click:Connect(executeScript)
  95.  
  96.  
  97. -- Define a function to execute the auto parry
  98. local function executeScript()
  99.     animateScrollingFrame(scrollingFrame, titleLabel, true)
  100.    getgenv().config = getgenv().config or {
  101.  hit_time = 0.3, -- // recommended 0.25 to 0.75 \\ --
  102.  
  103.  mode = 'Always', -- // Hold , Toggle , Always \\ --
  104.  deflect_type = 'Remote', -- // Key Press , Remote \\ --
  105.  notifications = true,
  106.  keybind = Enum.KeyCode.V
  107. }
  108.  
  109. loadstring(game:HttpGet("https://raw.githubusercontent.com/Hosvile/Refinement/main/MC%3ABlade%20Ball%20Parry%20V4.0.0",true))()
  110.     autoParryButton.Text = "Auto Parry (work+hosvile)"
  111. end
  112.  
  113. autoParryButton.MouseButton1Click:Connect(executeScript)
  114.  
  115.  
  116. -- Create Antilag button inside the ScrollingFrame object
  117. local antilagButton = Instance.new("TextButton")
  118. antilagButton.Size = UDim2.new(0, 150, 0, 50) -- Increase width
  119. antilagButton.Position = UDim2.new(0.5, -75, 0, 140) -- Center horizontally, move down
  120. antilagButton.BackgroundColor3 = Color3.fromRGB(0, 123, 255) -- Blue background color
  121. antilagButton.TextColor3 = Color3.new(1, 1, 1)
  122. antilagButton.Text = "Antilag"
  123. antilagButton.Font = Enum.Font.SourceSansBold -- Change font
  124. antilagButton.TextSize = 24 -- Increase font size
  125. antilagButton.Parent = scrollingFrame
  126.  
  127. -- Define a function to execute the antilag script
  128. local function executeAntilagScript()
  129. local decalsyeeted = true -- Leaving this on makes games look shitty but the fps goes up by at least 20.
  130. local g = game
  131. local w = g.Workspace
  132. local l = g.Lighting
  133. local t = w.Terrain
  134. t.WaterWaveSize = 0
  135. t.WaterWaveSpeed = 0
  136. t.WaterReflectance = 0
  137. t.WaterTransparency = 0
  138. l.GlobalShadows = false
  139. l.FogEnd = 9e9
  140. l.Brightness = 0
  141. settings().Rendering.QualityLevel = "Level01"
  142. for i, v in pairs(g:GetDescendants()) do
  143.     if v:IsA("Part") or v:IsA("Union") or v:IsA("CornerWedgePart") or v:IsA("TrussPart") then
  144.         v.Material = "Plastic"
  145.         v.Reflectance = 0
  146.     elseif v:IsA("Decal") or v:IsA("Texture") and decalsyeeted then
  147.         v.Transparency = 1
  148.     elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  149.         v.Lifetime = NumberRange.new(0)
  150.     elseif v:IsA("Explosion") then
  151.         v.BlastPressure = 1
  152.         v.BlastRadius = 1
  153.     elseif v:IsA("Fire") or v:IsA("SpotLight") or v:IsA("Smoke") then
  154.         v.Enabled = false
  155.     elseif v:IsA("MeshPart") then
  156.         v.Material = "Plastic"
  157.         v.Reflectance = 0
  158.         v.TextureID = 10385902758728957
  159.     end
  160. end
  161. for i, e in pairs(l:GetChildren()) do
  162.     if e:IsA("BlurEffect") or e:IsA("SunRaysEffect") or e:IsA("ColorCorrectionEffect") or e:IsA("BloomEffect") or e:IsA("DepthOfFieldEffect") then
  163.         e.Enabled = false
  164.     end
  165. end
  166. end
  167.  
  168. antilagButton.MouseButton1Click:Connect(executeAntilagScript)
  169.  
  170. -- Create Hold to Spam button inside the ScrollingFrame object
  171. local holdToSpamButton = Instance.new("TextButton")
  172. holdToSpamButton.Size = UDim2.new(0, 150, 0, 50) -- Increase width
  173. holdToSpamButton.Position = UDim2.new(0.5, -75, 0, 200) -- Center horizontally, move down
  174. holdToSpamButton.BackgroundColor3 = Color3.fromRGB(0, 123, 255) -- Blue background color
  175. holdToSpamButton.TextColor3 = Color3.new(1, 1, 1)
  176. holdToSpamButton.Text = "Hold to Spam"
  177. holdToSpamButton.Font = Enum.Font.SourceSansBold -- Change font
  178. holdToSpamButton.TextSize = 24 -- Increase font size
  179. holdToSpamButton.Parent = scrollingFrame
  180.  
  181. -- Define a function to execute the spam script when the button is held down
  182. local function holdToSpam()
  183.     getgenv().SpamSpeed = 1 loadstring(game:HttpGet("https://raw.githubusercontent.com/Hosvile/Refinement/main/MC%3ABlade%20Ball%20Spam",true))()
  184. end
  185.  
  186. -- Connect the holdToSpam and stopSpam functions to the MouseButton1Down and MouseButton1Up events of the TextButton object
  187. holdToSpamButton.MouseButton1Down:Connect(holdToSpam)
  188. holdToSpamButton.MouseButton1Up:Connect(stopSpam)
  189.  
  190. -- Define the function to execute the script
  191. local function executeScript()
  192.     getgenv().SpamSpeed = 1
  193.     loadstring(game:HttpGet("https://raw.githubusercontent.com/Hosvile/Refinement/main/MC%3ABlade%20Ball%20Spam",true))()
  194. end
  195.  
  196. -- Connect the function to the Humanoid.Died event
  197. game.Players.PlayerAdded:Connect(function(player)
  198.     player.CharacterAdded:Connect(function(character)
  199.         character:WaitForChild("Humanoid").Died:Connect(function()
  200.             executeScript()
  201.         end)
  202.     end)
  203. end)
  204.  
  205. -- Create TextLabel object inside the ScrollingFrame object to display player's name
  206. local playerNameLabel = Instance.new("TextLabel")
  207. playerNameLabel.Size = UDim2.new(0, 100, 0, 20)
  208. playerNameLabel.Position = UDim2.new(0, 70, 0, 10) -- Add some padding
  209. playerNameLabel.Text = game.Players.LocalPlayer.Name
  210. playerNameLabel.TextColor3 = Color3.new(1, 1, 1)
  211. playerNameLabel.Font = Enum.Font.SourceSansBold -- Change font
  212. playerNameLabel.TextSize = 18 -- Increase font size
  213. playerNameLabel.Parent = scrollingFrame
Add Comment
Please, Sign In to add comment