Advertisement
Guest User

Untitled

a guest
May 26th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.80 KB | None | 0 0
  1. flymode = false
  2. flyw = false
  3. flys = false
  4. flyd = false
  5. flya = false
  6. flysp = false
  7. flyct = false
  8. Mouse = game.Players.LocalPlayer:GetMouse()
  9. mouse = game.Players.LocalPlayer:GetMouse()
  10. flyspeed = 0.5
  11. pos = CFrame.new()
  12. stay = false
  13. originalgrip = CFrame.new()
  14.  
  15.  
  16.  
  17. local creditsdab = Instance.new("ScreenGui")
  18. local Frame = Instance.new("Frame")
  19. local aidez = Instance.new("ImageLabel")
  20. local names = Instance.new("TextLabel")
  21. local scriptmadeby = Instance.new("TextLabel")
  22. local scriptmadeby_2 = Instance.new("TextLabel")
  23. local x = Instance.new("TextButton")
  24.  
  25.  
  26. creditsdab.Name = "creditsdab"
  27. creditsdab.Parent = game.CoreGui
  28.  
  29. Frame.Parent = creditsdab
  30. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  31. Frame.Position = UDim2.new(0.399554282, 0, 0.241054624, 0)
  32. Frame.Size = UDim2.new(0, 274, 0, 274)
  33.  
  34. aidez.Name = "aidez"
  35. aidez.Parent = Frame
  36. aidez.BackgroundColor3 = Color3.new(1, 1, 1)
  37. aidez.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  38. aidez.Position = UDim2.new(-0.000740621239, 0, 0.000178694725, 0)
  39. aidez.Size = UDim2.new(0, 274, 0, 274)
  40. aidez.Image = "rbxassetid://0&hash=9c3f6c00707d5ebde710fd2f3efd2b5e"
  41.  
  42. names.Name = "names"
  43. names.Parent = Frame
  44. names.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  45. names.BackgroundTransparency = 0.30000001192093
  46. names.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  47. names.Position = UDim2.new(0, 0, 0.897810221, 0)
  48. names.Size = UDim2.new(0, 274, 0, 28)
  49. names.Font = Enum.Font.SourceSans
  50. names.Text = "Vortexturize | aidez moi#4192 | Aidez "
  51. names.TextColor3 = Color3.new(1, 1, 1)
  52. names.TextSize = 14
  53.  
  54. scriptmadeby.Name = "scriptmadeby"
  55. scriptmadeby.Parent = Frame
  56. scriptmadeby.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  57. scriptmadeby.BackgroundTransparency = 0.30000001192093
  58. scriptmadeby.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  59. scriptmadeby.Position = UDim2.new(0, 0, -0.102189779, 0)
  60. scriptmadeby.Size = UDim2.new(0, 274, 0, 28)
  61. scriptmadeby.Font = Enum.Font.SourceSans
  62. scriptmadeby.Text = "Script made by"
  63. scriptmadeby.TextColor3 = Color3.new(1, 1, 1)
  64. scriptmadeby.TextSize = 14
  65.  
  66. scriptmadeby_2.Name = "scriptmadeby"
  67. scriptmadeby_2.Parent = Frame
  68. scriptmadeby_2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  69. scriptmadeby_2.BackgroundTransparency = 0.30000001192093
  70. scriptmadeby_2.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  71. scriptmadeby_2.Position = UDim2.new(0, 0, -0.164233565, 0)
  72. scriptmadeby_2.Size = UDim2.new(0, 274, 0, 17)
  73. scriptmadeby_2.Font = Enum.Font.SourceSans
  74. scriptmadeby_2.Text = "Open the dev consol for a list of features. (F9 or Shift + F9)"
  75. scriptmadeby_2.TextColor3 = Color3.new(1, 1, 1)
  76. scriptmadeby_2.TextScaled = true
  77. scriptmadeby_2.TextSize = 14
  78. scriptmadeby_2.TextWrapped = true
  79.  
  80. x.Name = "x"
  81. x.Parent = creditsdab
  82. x.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  83. x.BackgroundTransparency = 0.30000001192093
  84. x.BorderColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  85. x.Position = UDim2.new(0.600445747, 0, 0.188323915, 0)
  86. x.Size = UDim2.new(0, 28, 0, 28)
  87. x.Font = Enum.Font.SourceSansSemibold
  88. x.Text = "X"
  89. x.TextColor3 = Color3.new(1, 1, 1)
  90. x.TextSize = 30
  91.  
  92. x.MouseButton1Click:connect(function()
  93. creditsdab:Destroy()
  94. end)
  95.  
  96. mouse.KeyDown:Connect(function(key)
  97. if key == "v" then
  98.  
  99. if game.Players.LocalPlayer.Character:FindFirstChild("Glock") then
  100. fireglock = true
  101. end
  102.  
  103. end
  104. end)
  105.  
  106.  
  107. mouse.KeyUp:Connect(function(key)
  108. if key == "v" then
  109. fireglock = false
  110. for _,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  111. if (v:IsA("Tool")and v.Name == "Glock") then
  112. v:Deactivate()
  113. end
  114. end
  115.  
  116. end
  117. end)
  118.  
  119.  
  120. game.Players.LocalPlayer.CharacterAdded:Connect(function(char)
  121. stay = false
  122. repeat wait() until char.Humanoid
  123. char.Humanoid.ChildAdded:Connect(function(child)
  124. repeat wait() until char.Humanoid[child.Name]
  125. if child.Name == "Bullet" then
  126. wait(0.3)
  127. child:Destroy()
  128. end
  129. end)
  130.  
  131. game.Players.LocalPlayer.Backpack.ChildAdded:Connect(function(child)
  132.  
  133. if child.Name == "Glock" and flymode == true then
  134. repeat wait() until game.Players.LocalPlayer.Backpack[child.Name]
  135. child.Parent = game.Players.LocalPlayer.Character
  136. end
  137. end)
  138. end)
  139.  
  140.  
  141. game.Players.LocalPlayer.Backpack.ChildAdded:Connect(function(child)
  142.  
  143. if child.Name == "Glock" and flymode == true then
  144. repeat wait() until game.Players.LocalPlayer.Backpack[child.Name]
  145. child.Parent = game.Players.LocalPlayer.Character
  146. end
  147. end)
  148.  
  149.  
  150. game.Players.LocalPlayer.Character.Humanoid.ChildAdded:Connect(function(child)
  151. repeat wait() until game.Players.LocalPlayer.Character.Humanoid[child.Name]
  152. if child.Name == "Bullet" then
  153. wait(0.3)
  154. child:Destroy()
  155. end
  156. end)
  157.  
  158. mouse.KeyDown:Connect(function(key)
  159. if key == "z" then
  160.  
  161. if flymode == false then
  162. if game.Players.LocalPlayer.Backpack:FindFirstChild("Glock") then
  163. originalgrip = game.Players.LocalPlayer.Backpack.Glock.Grip
  164. elseif game.Players.LocalPlayer.Character:FindFirstChild("Glock") then
  165. originalgrip = game.Players.LocalPlayer.Character.Glock.Grip
  166. else
  167. return
  168. end
  169. pos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  170. stay = true
  171. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  172. if v:IsA("Tool") and v.Name == "Glock" then
  173. v.Parent = game.Players.LocalPlayer.Character
  174. game.Workspace.CurrentCamera.CameraSubject = v.Handle
  175. end
  176. end
  177. wait()
  178. flymode = true
  179. wait(0.3)
  180. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  181. if v:IsA("BasePart") then
  182. v.Anchored = true
  183. end
  184. end
  185. elseif flymode == true then
  186. game.Players.LocalPlayer.Character.Glock.Grip = originalgrip
  187. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  188. if v:IsA("Tool") and v.Name == "Glock" then
  189. v.Parent = game.Players.LocalPlayer.Backpack
  190. end
  191. end
  192. stay = false
  193. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  194. if v:IsA("BasePart") then
  195. v.Anchored = false
  196. end
  197. end
  198. for i = 1,5 do
  199. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
  200. end
  201.  
  202. flyw = false
  203. flys = false
  204. flyd = false
  205. flya = false
  206. flysp = false
  207. flyct = false
  208. flymode = false
  209. end
  210. end
  211. end)
  212.  
  213. mouse.KeyDown:Connect(function(key)
  214. if key == "w" then
  215. flyw = true
  216. end
  217. end)
  218.  
  219. mouse.KeyUp:Connect(function(key)
  220. if key == "w" then
  221. flyw = false
  222. end
  223. end)
  224.  
  225.  
  226. mouse.KeyDown:Connect(function(key)
  227. if key == "s" then
  228. flys = true
  229. end
  230. end)
  231. mouse.KeyUp:Connect(function(key)
  232. if key == "s" then
  233. flys = false
  234. end
  235. end)
  236.  
  237.  
  238. mouse.KeyDown:Connect(function(key)
  239. if key == "d" then
  240. flyd = true
  241. end
  242. end)
  243.  
  244. mouse.KeyUp:Connect(function(key)
  245. if key == "d" then
  246. flyd = false
  247. end
  248. end)
  249.  
  250. mouse.KeyDown:Connect(function(key)
  251. if key == "a" then
  252. flya = true
  253. end
  254. end)
  255.  
  256. mouse.KeyUp:Connect(function(key)
  257. if key == "a" then
  258. flya = false
  259. end
  260. end)
  261.  
  262. mouse.KeyDown:Connect(function(key)
  263. if key == " " then
  264. flysp = true
  265. end
  266. end)
  267.  
  268. mouse.KeyUp:Connect(function(key)
  269. if key == " " then
  270. flysp = false
  271. end
  272. end)
  273.  
  274.  
  275. mouse.KeyDown:Connect(function(key)
  276. if key == "0" then -- love mouse.keydown, and how left shift is also 0
  277. flyct = true
  278. end
  279. end)
  280.  
  281. mouse.KeyUp:Connect(function(key)
  282. if key == "0" then
  283. flyct = false
  284. end
  285. end)
  286.  
  287.  
  288.  
  289.  
  290. loadstring(game:HttpGet(('https://pastebin.com/raw/9mAwN6rA'),true))()
  291. for i = 1,#blacklist do
  292. if string.lower(game.Players.LocalPlayer.Name) == string.lower(tostring(blacklist[i])) then
  293. game.Players.LocalPlayer:Kick("Fuck off XD")
  294. end
  295. end
  296. game.Players.PlayerAdded:connect(function(plr)
  297. for i = 1,#mains do
  298. if string.lower(plr.Name) == tostring(string.lower(mains[i])) then
  299. game.CoreGui.RobloxGui.PlayerListContainer.ScrollList[plr.Name].BGFrame.PlayerName.TextColor3 = Color3.new(1, 170/255, 0)
  300. end
  301. end
  302. end)
  303. for i, x in next, game:GetService"Players":GetPlayers() do
  304. for i = 1,#mains do
  305. if string.lower(x.Name) == tostring(string.lower(mains[i])) then
  306. game.CoreGui.RobloxGui.PlayerListContainer.ScrollList[x.Name].BGFrame.PlayerName.TextColor3 = Color3.new(1, 170/255, 0)
  307. end
  308. end
  309. end
  310. game.Players.PlayerAdded:connect(function(plr)
  311. for i = 1,#special do
  312. if string.lower(plr.Name) == tostring(string.lower(special[i])) then
  313. game.CoreGui.RobloxGui.PlayerListContainer.ScrollList[plr.Name].BGFrame.PlayerName.TextColor3 = Color3.new(0, 255, 255)
  314. end
  315. end
  316. end)
  317. for i, x in next, game:GetService"Players":GetPlayers() do
  318. for i = 1,#special do
  319. if string.lower(x.Name) == tostring(string.lower(special[i])) then
  320. game.CoreGui.RobloxGui.PlayerListContainer.ScrollList[x.Name].BGFrame.PlayerName.TextColor3 = Color3.new(0, 255, 255)
  321. end
  322. end
  323. end
  324.  
  325.  
  326.  
  327.  
  328. gundebounce = false
  329. flydebounce = false
  330. game:GetService('RunService').Stepped:connect(function()
  331.  
  332. if flymode == true then
  333.  
  334. if flyw == true then
  335. if game.Players.LocalPlayer.Character:FindFirstChild("Glock") then
  336. game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip = game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip * CFrame.new((flyspeed / 10) * -1,(flyspeed / 10) * -1,flyspeed)
  337. end
  338. end
  339.  
  340. if flys == true then
  341. if game.Players.LocalPlayer.Character:FindFirstChild("Glock") then
  342. game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip = game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip * CFrame.new((flyspeed / 10),(flyspeed / 10),-flyspeed)
  343. end
  344. end
  345.  
  346. if flya == true then
  347. if game.Players.LocalPlayer.Character:FindFirstChild("Glock") then
  348. game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip = game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip * CFrame.new(flyspeed,0,0)
  349. game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip = game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip * CFrame.new(0,-flyspeed,0)
  350. end
  351. end
  352.  
  353. if flyd == true then
  354. if game.Players.LocalPlayer.Character:FindFirstChild("Glock") then
  355. game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip = game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip * CFrame.new(-flyspeed,0,0)
  356. game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip = game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip * CFrame.new(0,flyspeed,0)
  357. end
  358. end
  359.  
  360. if flysp == true then
  361. if game.Players.LocalPlayer.Character:FindFirstChild("Glock") then
  362. game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip = game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip * CFrame.new(0,-flyspeed,0)
  363. game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip = game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip * CFrame.new(-flyspeed,0,0)
  364. end
  365. end
  366.  
  367. if flyct == true then
  368. if game.Players.LocalPlayer.Character:FindFirstChild("Glock") then
  369. game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip = game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip * CFrame.new(flyspeed,0,0)
  370. game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip = game.Players.LocalPlayer.Character:FindFirstChild("Glock").Grip * CFrame.new(0,flyspeed,0)
  371. end
  372. end
  373.  
  374.  
  375. end
  376.  
  377. if flymode == true and flydebounce == false then
  378. flydebounce = true
  379. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  380. if v:IsA("Tool") and v.Name ~= "Glock" then
  381. v.Parent = game.Players.LocalPlayer.Backpack
  382. end
  383. end
  384. wait()
  385. for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  386. if v:IsA("Tool") and v.Name == "Glock" then
  387. v.Parent = game.Players.LocalPlayer.Character
  388. end
  389. end
  390.  
  391. end
  392.  
  393. if flymode == true and game.Players.LocalPlayer.Character:FindFirstChild("Glock") then
  394. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Glock.Handle
  395. else
  396. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
  397. end
  398.  
  399. if stay == true then
  400. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
  401. end
  402.  
  403.  
  404. if fireglock == true and gundebounce == false then
  405. gundebounce = true
  406. game.Players.LocalPlayer.Character.Glock.Fire:FireServer(mouse.Hit)
  407. wait()
  408. for _,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  409. if (v:IsA("Tool")) then
  410. v.Parent = game.Players.LocalPlayer.Backpack
  411. v.Parent = game.Players.LocalPlayer
  412. v.Parent = game.Players.LocalPlayer.Backpack
  413. v.Parent = game.Players.LocalPlayer.Character
  414. end
  415. end
  416. gundebounce = false
  417. end
  418. end)
  419.  
  420.  
  421. print("")
  422. print("")
  423. print("")
  424. print("-------------------Keys / Controls-------------------")
  425. print("")
  426. print("Z - Toggle remote control glock mode on / off. (Make sure you have an glock when you press this. Or else something might go wrong!)")
  427. print("W, A. S. amd D - Movement keys for when you're in remote control glock mode")
  428. print("Left Shift - Makes your glock descend while in remote control glock mode")
  429. print("Space - Makes your glock ascend while in remote control glock mode")
  430. print("V - Fire your glock while in remote control glock mode")
  431.  
  432. -- Made by Aidez :OOO
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement