faisalhacksnock

Untitled

Jun 30th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.70 KB | None | 0 0
  1. -------------------------------------------------------------------------------------------------------------------------------------------------
  2. wait(0.1)
  3.  
  4. local KillPhrases = {"defragged","defragmented","shredded","derezzed","killed","deleted","erased","destroyed","annihilated","wrecked"}
  5.  
  6. local ShirtId = ""
  7. local PantsId = ""
  8.  
  9. local Sounds = {
  10. Burst = "101084318",
  11. Defrag = "28104389"
  12. }
  13.  
  14. for _,v in pairs(Sounds) do
  15. game:service("ContentProvider"):Preload("http://www.roblox.com/asset/?id="..v)
  16. end
  17.  
  18. function CheckI(Item,Blacklist,Specific)
  19. for _,v in pairs(Item:children()) do
  20. if not Specific then
  21. if v:IsA(Blacklist) or v.Name:match(Blacklist) then
  22. v:Destroy()
  23. end
  24. else
  25. if v:IsA(Blacklist) or v.Name == Blacklist then
  26. v:Destroy()
  27. end
  28. end
  29. end
  30. end
  31.  
  32. if(game.Players.LocalPlayer.Parent == nil)then
  33. pcall(function()
  34. game.Players.LocalPlayer.Backpack:Remove()
  35. end)
  36. m = Instance.new("Backpack",game.Players.LocalPlayer)
  37. end
  38.  
  39. local Boost = false
  40.  
  41. local Speed = 100
  42. local SpinningSpeed = .2
  43.  
  44. --> Basic Variables
  45. me = game.Players.LocalPlayer
  46. Backpack = me.Backpack
  47. PGui = me.PlayerGui
  48. Character = me.Character
  49. Torso = Character.Torso
  50. Head = Character.Head
  51. mouse = me:GetMouse()
  52. LeftArm = Character["Left Arm"]
  53. RightArm = Character["Right Arm"]
  54. RightLeg = Character["Right Leg"]
  55. LeftLeg = Character["Left Leg"]
  56. Humanoid = Character.Humanoid
  57. LS = Torso["Left Shoulder"]
  58. LH = Torso["Left Hip"]
  59. RS = Torso["Right Shoulder"]
  60. RH = Torso["Right Hip"]
  61. LSC0 = LS.c0
  62. RSC0 = RS.c0
  63. Head.face:Destroy()
  64.  
  65. local Color = Torso.BrickColor
  66. if Color == BrickColor.new("Really black") then
  67. Color = BrickColor.Black()
  68. end
  69.  
  70. local Defrag
  71. if me:FindFirstChild("Defrag") then
  72. Defrag = me.Defrag
  73. else
  74. Defrag = Instance.new("NumberValue",me)
  75. end
  76.  
  77. CheckI(Character,"Hat")
  78. CheckI(Character,"BodyColors")
  79. CheckI(Character,"ShirtGraphic")
  80. CheckI(Character,"Clothing")
  81. CheckI(Torso,"Decal")
  82. CheckI(PGui,"ScreenGui")
  83. CheckI(Head,"Sound")
  84. Instance.new("Shirt",Character).ShirtTemplate = "http://www.roblox.com/asset/?id=14661984"
  85. Instance.new("Pants",Character).PantsTemplate = "http://www.roblox.com/asset/?id=14664846"
  86.  
  87.  
  88.  
  89. local Gui = Instance.new("ScreenGui",PGui)
  90. Gui.Name = "HUD"
  91.  
  92. local notifyti = false
  93.  
  94. function Notify(Msg)
  95. if not notifyti then
  96. Delay(0,function()
  97. notifyti = true
  98. local Frame = Instance.new("Frame",Gui)
  99. Frame.Size = UDim2.new(0.3,0,0.1,0)
  100. Frame.Position = UDim2.new(0.35,0,1,0)
  101. Frame.BorderSizePixel = 0
  102. Frame.BackgroundTransparency = 0.5
  103. Frame.BackgroundColor = Color
  104. Frame:TweenPosition(UDim2.new(0.35,0,0.9,0))
  105. local TextLabel = Instance.new("TextLabel",Frame)
  106. TextLabel.Text = Msg
  107. TextLabel.Size = UDim2.new(1,0,1,0)
  108. TextLabel.BackgroundTransparency = 1
  109. TextLabel.Font = 2
  110. TextLabel.TextStrokeTransparency = 0
  111. TextLabel.TextColor3 = Color3.new(1,1,1)
  112. TextLabel.TextScaled = true
  113. wait(3)
  114. Frame:TweenPosition(UDim2.new(0.35,0,-0.15,0))
  115. game.Debris:AddItem(Frame,3)
  116. notifyti = false
  117. end)
  118. end
  119. end
  120.  
  121. for i = 0,5 do
  122. local dec = Instance.new("Decal",Head)
  123. dec.Texture = "http://www.roblox.com/asset/?id=8772734"
  124. dec.Face = i
  125. end
  126.  
  127. function laser(to,from) -- MUST BE VECTOR3
  128. local las=Instance.new("Part",Torso)
  129. las.Anchored=true
  130. las.Locked=true
  131. las.CanCollide=false
  132. las.TopSurface=0
  133. las.BottomSurface=0
  134. las.FormFactor = 3
  135. las.BrickColor=Color
  136. las.Size=Vector3.new(3,1,3)
  137. las.CFrame=CFrame.new((to+from)/2,from)*CFrame.Angles(math.rad(90),0,0)
  138. las.Touched:connect(function(paaart)
  139. local plaay = game.Players:GetPlayerFromCharacter(paaart.Parent) or game.Players:GetPlayerFromCharacter(paaart.Parent.Parent)
  140. if plaay and plaay ~= me then
  141. if not plaay.Character:FindFirstChild("Killer") then
  142. plaay.Character:BreakJoints()
  143. local tag = Instance.new("ObjectValue",plaay.Character)
  144. tag.Name = "Killer"
  145. tag.Value = me
  146. Notify("You "..KillPhrases[math.random(1,#KillPhrases)].." "..plaay.Name.."!")
  147. end
  148. end
  149. end)
  150. local msh=Instance.new("CylinderMesh",las)
  151. msh.Scale=Vector3.new(0.025,(to-from).magnitude,0.025)
  152. game.Debris:AddItem(las,4)
  153. return las
  154. end
  155.  
  156. if(Backpack:findFirstChild("Surf") ~= nil)then
  157. Backpack.Surf:Remove()
  158. end
  159.  
  160. script.Parent = nil
  161. script.Name = "Flight"
  162.  
  163. function Derez(part)
  164. part.Transparency = 1
  165. CheckI(part,"Decal")
  166. part.Anchored = true
  167. for i = 1,5 do
  168. local parti = Instance.new("Part",Character)
  169. parti.Anchored = true
  170. parti.TopSurface = 0
  171. parti.BottomSurface = 0
  172. parti.formFactor = 3
  173. parti.CanCollide = false
  174. parti.Size = Vector3.new(math.random(2,14)/10,math.random(2,14)/10,math.random(2,14)/10)
  175. parti.CFrame = part.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  176. parti.Transparency = 0
  177. parti.BrickColor = part.BrickColor
  178. local pax = 0
  179. local pad = Vector3.new(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  180. game:service("RunService").Stepped:connect(function()
  181. pax = pax + 0.2
  182. parti.CFrame = (parti.CFrame*CFrame.Angles(math.rad(pax),math.rad(pax),math.rad(pax)))+pad
  183. parti.Transparency = parti.Transparency + 0.015
  184. end)
  185. end
  186. game.Debris:AddItem(part,3)
  187. end
  188.  
  189. function Play(id,pi,vol)
  190. local So = Instance.new("Sound",Character.Torso)
  191. So.SoundId = "http://www.roblox.com/asset/?id="..id
  192. So.Pitch = pi or 1
  193. So.Volume = vol or 1
  194. wait()
  195. So:Play()
  196. end
  197.  
  198. Humanoid.Died:connect(function()
  199. for _,v in pairs(Character:children()) do
  200. if v:IsA("Part") then
  201. Derez(v)
  202. end
  203. end
  204. Notify("[DEFRAGMENTATION]")
  205. Defrag.Value = Defrag.Value + 1
  206. Play(Sounds.Defrag)
  207. end)
  208.  
  209. Clicking = false
  210. Spinning = false
  211. LSpinning = false
  212. LAP = Vector3.new(0,0,0)
  213. RAP = Vector3.new(0,0,0)
  214.  
  215. bg = Instance.new("BodyGyro")
  216. bg.Parent = Torso
  217. bg.maxTorque = Vector3.new(0,0,0)
  218. bv = Instance.new("BodyVelocity")
  219. bv.Parent = Torso
  220. bv.maxForce = Vector3.new(0,0,0)
  221.  
  222. mouse.Button1Down:connect(function()
  223. Clicking = true
  224. CF = LeftArm.CFrame*CFrame.new(0,-1,0)
  225. LAP = CF.p
  226. CF = RightArm.CFrame*CFrame.new(0,-1,0)
  227. RAP = CF.p
  228. end)
  229.  
  230. mouse.Button1Up:connect(function()
  231. Clicking = false
  232. end)
  233.  
  234. mouse.KeyDown:connect(function(key)
  235. if Clicking then
  236. if key == "d" then
  237. Spinning = true
  238. LSpinning = false
  239. num = 0
  240. elseif key == "a" then
  241. LSpinning = true
  242. Spinning = false
  243. num = 0
  244. elseif key == " " and Boost == false then
  245. Boost = true
  246. Play(Sounds.Burst)
  247. local prevspeed = Speed
  248. Speed = Speed * 1.8
  249. wait(4)
  250. Speed = prevspeed
  251. Boost = false
  252. end
  253. end
  254. end)
  255.  
  256. mouse.KeyUp:connect(function(key)
  257. if key == "d" then
  258. Spinning = false
  259. elseif key == "a" then
  260. LSpinning = false
  261. end
  262. end)
  263.  
  264. num = 0
  265. game:service("RunService").Stepped:connect(function()
  266. for _,v in pairs(Character:children()) do
  267. if v:IsA("Part") then
  268. v.BrickColor = Color
  269. end
  270. end
  271. if(Clicking == true)then
  272. Hit = mouse.hit
  273. Target = mouse.target
  274. Humanoid.PlatformStand = true
  275. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  276. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  277. if Spinning == true or LSpinning == true then
  278. if Spinning then
  279. num = num + SpinningSpeed
  280. elseif LSpinning then
  281. num = num - SpinningSpeed
  282. end
  283. bg.cframe = CFrame.new(Torso.Position,mouse.Hit.p)*CFrame.Angles(-1.55,num,0)
  284. else
  285. bg.cframe = CFrame.new(Torso.Position,mouse.Hit.p)*CFrame.Angles(-1.55,0,0)
  286. end
  287. Hit2 = Hit*CFrame.Angles(0,0,1.55)
  288. bv.velocity = (Hit2.lookVector*Speed)
  289. if Boost then
  290. RS.C0 = RSC0*CFrame.Angles(-math.rad(30),0,0)*CFrame.new(0,-.5,-.5)
  291. LS.C0 = LSC0*CFrame.Angles(-math.rad(30),0,0)*CFrame.new(0,-.5,-.5)
  292. else
  293. RS.C0 = RSC0*CFrame.Angles(-math.rad(60),0,0)*CFrame.new(0,-.5,-.5)
  294. LS.C0 = LSC0*CFrame.Angles(-math.rad(60),0,0)*CFrame.new(0,-.5,-.5)
  295. end
  296. CF = RightArm.CFrame*CFrame.new(0,-0.9,0)
  297. laser(CF.p,RAP)
  298. RAP = CF.p
  299. CF = LeftArm.CFrame*CFrame.new(0,-0.9,0)
  300. laser(CF.p,LAP)
  301. LAP = CF.p
  302. else
  303. Humanoid.PlatformStand = false
  304. bg.maxTorque = Vector3.new(0,0,0)
  305. bv.maxForce = Vector3.new(0,0,0)
  306. RS.C0 = RSC0
  307. LS.C0 = LSC0
  308. end
  309. end)
Add Comment
Please, Sign In to add comment