xProScripter

Untitled

Apr 9th, 2021
613
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.64 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ripper = Instance.new("ScreenGui")
  7. local main = Instance.new("Frame")
  8. local topbar = Instance.new("Frame")
  9. local title = Instance.new("TextLabel")
  10. local close = Instance.new("TextButton")
  11. local UICorner = Instance.new("UICorner")
  12. local UICorner_2 = Instance.new("UICorner")
  13. local hider = Instance.new("Frame")
  14. local logo = Instance.new("ImageLabel")
  15. local TextLabel = Instance.new("TextLabel")
  16. local change = Instance.new("TextButton")
  17. local UICorner_3 = Instance.new("UICorner")
  18. local first = Instance.new("TextBox")
  19. local UICorner_4 = Instance.new("UICorner")
  20. local scnd = Instance.new("TextBox")
  21. local UICorner_5 = Instance.new("UICorner")
  22. local UICorner_6 = Instance.new("UICorner")
  23.  
  24. --Properties:
  25.  
  26. ripper.Name = "ripper"
  27. ripper.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  28. ripper.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  29. ripper.ResetOnSpawn = false
  30.  
  31. main.Name = "main"
  32. main.Parent = ripper
  33. main.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  34. main.BorderSizePixel = 0
  35. main.ClipsDescendants = true
  36. main.Position = UDim2.new(0.268015176, 0, 0.148571432, 0)
  37. main.Size = UDim2.new(0, 419, 0, 112)
  38.  
  39. topbar.Name = "topbar"
  40. topbar.Parent = main
  41. topbar.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  42. topbar.BorderSizePixel = 0
  43. topbar.Size = UDim2.new(0, 522, 0, 25)
  44.  
  45. title.Name = "title"
  46. title.Parent = topbar
  47. title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  48. title.BackgroundTransparency = 1.000
  49. title.BorderSizePixel = 0
  50. title.Size = UDim2.new(0, 412, 0, 25)
  51. title.Font = Enum.Font.SourceSans
  52. title.Text = "Drip Hacks"
  53. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  54. title.TextSize = 16.000
  55.  
  56. close.Name = "close"
  57. close.Parent = topbar
  58. close.BackgroundColor3 = Color3.fromRGB(255, 35, 20)
  59. close.Position = UDim2.new(0.762986243, 0, 0.239999995, 0)
  60. close.Size = UDim2.new(0, 14, 0, 13)
  61. close.Font = Enum.Font.SourceSans
  62. close.TextColor3 = Color3.fromRGB(0, 0, 0)
  63. close.TextSize = 14.000
  64.  
  65. UICorner.CornerRadius = UDim.new(0.300000012, 0)
  66. UICorner.Parent = close
  67.  
  68. UICorner_2.CornerRadius = UDim.new(0.150000006, 0)
  69. UICorner_2.Parent = topbar
  70.  
  71. hider.Name = "hider"
  72. hider.Parent = main
  73. hider.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  74. hider.BorderSizePixel = 0
  75. hider.ClipsDescendants = true
  76. hider.Position = UDim2.new(-0.00312092761, 0, 0, 0)
  77. hider.Size = UDim2.new(0, 0, 0, 112)
  78. hider.ZIndex = 2
  79.  
  80. logo.Name = "logo"
  81. logo.Parent = hider
  82. logo.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  83. logo.BackgroundTransparency = 1.000
  84. logo.Position = UDim2.new(0, 176, 0, 6)
  85. logo.Size = UDim2.new(0, 69, 0, 66)
  86. logo.ZIndex = 2
  87. logo.Image = "rbxassetid://6280081380"
  88.  
  89. TextLabel.Parent = hider
  90. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  91. TextLabel.BackgroundTransparency = 1.000
  92. TextLabel.Position = UDim2.new(0, 59, 0, 86)
  93. TextLabel.Size = UDim2.new(0, 300, 0, 19)
  94. TextLabel.Font = Enum.Font.Code
  95. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  96. TextLabel.TextSize = 14.000
  97.  
  98. change.Name = "change"
  99. change.Parent = main
  100. change.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  101. change.Position = UDim2.new(0, 6, 0, 71)
  102. change.Size = UDim2.new(0, 406, 0, 34)
  103. change.Font = Enum.Font.SourceSans
  104. change.Text = "Change Magics"
  105. change.TextColor3 = Color3.fromRGB(255, 255, 255)
  106. change.TextSize = 14.000
  107.  
  108. UICorner_3.CornerRadius = UDim.new(0.0700000003, 0)
  109. UICorner_3.Parent = change
  110.  
  111. first.Name = "first"
  112. first.Parent = main
  113. first.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  114. first.BorderSizePixel = 0
  115. first.Position = UDim2.new(0, 6, 0, 32)
  116. first.Size = UDim2.new(0, 197, 0, 31)
  117. first.Font = Enum.Font.SourceSans
  118. first.PlaceholderText = "First Magic"
  119. first.Text = ""
  120. first.TextColor3 = Color3.fromRGB(255, 255, 255)
  121. first.TextSize = 14.000
  122.  
  123. UICorner_4.CornerRadius = UDim.new(0.0700000003, 0)
  124. UICorner_4.Parent = first
  125.  
  126. scnd.Name = "scnd"
  127. scnd.Parent = main
  128. scnd.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  129. scnd.BorderSizePixel = 0
  130. scnd.Position = UDim2.new(0, 209, 0, 32)
  131. scnd.Size = UDim2.new(0, 203, 0, 31)
  132. scnd.Font = Enum.Font.SourceSans
  133. scnd.PlaceholderText = "Second Magic"
  134. scnd.Text = ""
  135. scnd.TextColor3 = Color3.fromRGB(255, 255, 255)
  136. scnd.TextSize = 14.000
  137.  
  138. UICorner_5.CornerRadius = UDim.new(0.0700000003, 0)
  139. UICorner_5.Parent = scnd
  140.  
  141. UICorner_6.CornerRadius = UDim.new(0.0500000007, 0)
  142. UICorner_6.Parent = main
  143.  
  144. -- Scripts:
  145.  
  146. local function BCMSY_fake_script() -- close.LocalScript
  147. local script = Instance.new('LocalScript', close)
  148.  
  149. local main = script.Parent.Parent.Parent
  150. local hider = main.hider
  151. local image = main.hider.logo
  152. local txt = main.hider.TextLabel
  153. local but = script.Parent
  154.  
  155. local on = UDim2.new(0, 419, 0, 112)
  156. local off = UDim2.new(0, 0, 0, 112)
  157.  
  158.  
  159. but.MouseButton1Click:Connect(function()
  160. if main.Size == on then
  161. for i=1,10 do
  162. hider.BackgroundTransparency = 1-(i/10)
  163. wait()
  164. end
  165. for i=1,10 do
  166. image.ImageTransparency = 1-(i/10)
  167. wait()
  168. end
  169. wait(1)
  170. local text = "Sorry to see you go, "..game.Players.LocalPlayer.Name
  171. for i = 1,string.len(text),1 do
  172. txt.Text = string.sub(text,1,i)
  173. wait(0.01)
  174. end
  175. wait(2)
  176. for i=1,10 do
  177. txt.TextTransparency = (i/10)
  178. wait()
  179. end
  180. for i=1,10 do
  181. image.ImageTransparency = (i/10)
  182. wait()
  183. end
  184. wait(0.3)
  185. main:TweenSize(off, "InOut", "Sine", 0.2, true)
  186. wait(0.2)
  187. main.Parent:Destroy()
  188. end
  189. end)
  190. end
  191. coroutine.wrap(BCMSY_fake_script)()
  192. local function LVYMGSC_fake_script() -- main.dragify
  193. local script = Instance.new('LocalScript', main)
  194.  
  195. local UIS = game:GetService("UserInputService")
  196. function dragify(Frame)
  197. dragToggle = nil
  198. dragSpeed = 0.25
  199. dragInput = nil
  200. dragStart = nil
  201. dragPos = nil
  202. function updateInput(input)
  203. Delta = input.Position - dragStart
  204. Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  205. game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.18), {Position = Position}):Play()
  206. end
  207. Frame.InputBegan:Connect(function(input)
  208. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
  209. dragToggle = true
  210. dragStart = input.Position
  211. startPos = Frame.Position
  212. input.Changed:Connect(function()
  213. if input.UserInputState == Enum.UserInputState.End then
  214. dragToggle = false
  215. end
  216. end)
  217. end
  218. end)
  219. Frame.InputChanged:Connect(function(input)
  220. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  221. dragInput = input
  222. end
  223. end)
  224. game:GetService("UserInputService").InputChanged:Connect(function(input)
  225. if input == dragInput and dragToggle then
  226. updateInput(input)
  227. end
  228. end)
  229. end
  230.  
  231. dragify(script.Parent)
  232. end
  233. coroutine.wrap(LVYMGSC_fake_script)()
  234. local function UKZIVE_fake_script() -- change.LocalScript
  235. local script = Instance.new('LocalScript', change)
  236.  
  237. local but = script.Parent
  238. local magic = game:GetService("Players").LocalPlayer.PlayerGui:WaitForChild("PickMagic").Selected
  239. local remote = game:GetService("ReplicatedStorage").Remotes:WaitForChild("PickMagic")
  240. local first = script.Parent.Parent.first
  241. local scnd = script.Parent.Parent.scnd
  242.  
  243. but.MouseButton1Click:Connect(function()
  244. magic.Value = ""..first.Text..""
  245. remote:FireServer(""..magic.Value.."", 1)
  246. wait(0.5)
  247. magic.Value = "Light"
  248. wait(0.5)
  249. remote:FireServer(""..scnd.Text.."", 2)
  250. wait(0.5)
  251. game.Players.LocalPlayer.PlayerGui.PickMagic.Frame:Destroy()
  252. wait(0.5)
  253. game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
  254. end)
  255. end
  256. coroutine.wrap(UKZIVE_fake_script)()
  257. local function WIZMIIA_fake_script() -- ripper.introhandler
  258. local script = Instance.new('LocalScript', ripper)
  259.  
  260. local main = script.Parent.main
  261. local hider = main.hider
  262. local image = main.hider.logo
  263.  
  264. local on = UDim2.new(0, 419, 0, 112)
  265. local off = UDim2.new(0, 0, 0, 112)
  266.  
  267. image.ImageTransparency = 1
  268. hider.BackgroundTransparency = 0
  269. hider.Size = on
  270. main.Size = off
  271.  
  272.  
  273. if main.Size == off then
  274. main:TweenSize(on, "InOut", "Sine", 0.2, true)
  275. wait(0.7)
  276. for i=1,10 do
  277. image.ImageTransparency = 1-(i/10)
  278. wait()
  279. end
  280. wait(2)
  281. for i=1,10 do
  282. image.ImageTransparency = (i/10)
  283. wait()
  284. end
  285. wait(0.5)
  286. for i=1,10 do
  287. hider.BackgroundTransparency = (i/10)
  288. wait()
  289. end
  290. end
  291. end
  292. coroutine.wrap(WIZMIIA_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment