Advertisement
naser2345

Hook

Aug 20th, 2017
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.62 KB | None | 0 0
  1. -- // Leaked by naser2018
  2. -- // Description: N/A
  3. -- // please like to my videos :)
  4.  
  5. local player = game:GetService("Players").LocalPlayer
  6. local char = player.Character
  7. local mouse = player:GetMouse()
  8. local Hood = true
  9. local hum = char.Humanoid
  10. local skincolor= BrickColor.new"Really black" --that doesnt sound right
  11. local RootPart = char:WaitForChild("HumanoidRootPart")
  12. local rad = math.rad
  13. local huge = math.huge
  14. local rand = math.random
  15. local Vec = Vector3.new
  16. local Cf = CFrame.new
  17. local Euler = CFrame.fromEulerAnglesXYZ
  18. local BC = BrickColor.new
  19. local Col3 = Color3.new
  20. local Inst = Instance.new
  21. local Ud2 = UDim2.new
  22. local RootPart = char:WaitForChild("HumanoidRootPart")
  23. local RootJoint = RootPart:WaitForChild("RootJoint")
  24. local runServ = game:GetService("RunService")
  25.  
  26. wait(2)
  27. char["Body Colors"].HeadColor = skincolor
  28. char["Body Colors"].LeftArmColor = skincolor
  29. char["Body Colors"].LeftLegColor = skincolor
  30. char["Body Colors"].RightArmColor = skincolor
  31. char["Body Colors"].RightLegColor = skincolor
  32. char["Body Colors"].TorsoColor = skincolor
  33.  
  34. Shirt = Instance.new("Shirt",char)
  35. Shirt.Parent = char
  36. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=98045742"
  37.  
  38. Pant = Instance.new("Pants",char)
  39. Pant.Parent = char
  40. Pant.PantsTemplate = "http://www.roblox.com/asset/?id=83181745"
  41.  
  42. lite = Instance.new("PointLight")
  43. lite.Parent = char.Torso
  44. lite.Brightness = 100
  45. lite.Range = 8
  46. lite.Color = Color3.new(1,1,1)
  47.  
  48. local cf = CFrame.new(0, 0, -3) * CFrame.Angles(math.rad(180), 0, 0)
  49. local chatServ = game:GetService("Chat")
  50. local runServ = game:GetService("RunService")
  51. local debServ = game:GetService("Debris")
  52. local FONT = "SourceSans"
  53.  
  54. function MakeText(text, font, duration, tcr, tcg, tcb, scr, scg, scb, cFrame)
  55. local tpart = Instance.new("Part")
  56. tpart.Parent = char
  57. tpart.Transparency = 1
  58. tpart.Name = "hoihoi"
  59. tpart.Anchored = true
  60. tpart.CanCollide = false
  61. tpart.Locked = true
  62. tpart.Size = Vector3.new(.2,.2,.2)
  63. tpart.CFrame = cFrame*CFrame.new(math.random(-2,2),0,math.random(-2,2))
  64. local bill = Instance.new("BillboardGui")
  65. bill.Parent = tpart
  66. bill.AlwaysOnTop = true
  67. bill.Name = "bilb"
  68. bill.Size = UDim2.new(4, 0, 4, 0)
  69. bill.StudsOffset = Vector3.new(0, 1, 0)
  70. local counter = 0
  71. local textl = Instance.new("TextLabel")
  72. textl.Parent = bill
  73. textl.Name = "bilb2"
  74. textl.BackgroundTransparency = 1
  75. textl.Size = UDim2.new(1, 0, 1, 0)
  76. textl.Font = font
  77. textl.Text = text
  78. textl.TextColor3 = Color3.new(tcr/255, tcg/255, tcb/255)
  79. textl.TextScaled = true
  80. textl.TextStrokeColor3 = Color3.new(scr/255, scg/255, scb/255)
  81. textl.TextStrokeTransparency = 0
  82. coroutine.resume(coroutine.create(function()
  83. while textl.TextTransparency < 1 do
  84. wait()
  85. if bill.StudsOffset.Y >= 5 then
  86. if counter >= duration then
  87. textl.TextTransparency = textl.TextTransparency+.15
  88. textl.TextStrokeTransparency = textl.TextStrokeTransparency+.15
  89. else
  90. counter = counter+.1
  91. end
  92. else
  93. bill.StudsOffset = Vec(0, bill.StudsOffset.Y+.15, 0)
  94. end
  95. end
  96. debServ:AddItem(bill, 0)
  97. debServ:AddItem(textl, 0)
  98. debServ:AddItem(tpart, 0)
  99. end))
  100. end
  101.  
  102. local r = Instance.new("Part", char)
  103. r.Transparency = 1
  104. r.CanCollide = false
  105. r.Name = "Circle"
  106. r.CFrame = char.Torso.CFrame * CFrame.new(0, -1.7, 0)
  107. r.Size = Vector3.new(10, 1, 10)
  108. r.Anchored = true
  109. local c = Instance.new("Decal", r)
  110. c.Face = "Top"
  111. c.Texture = "http://www.roblox.com/asset/?id=131155455"
  112. orb = r
  113. wait()
  114. r.CFrame = char.Torso.CFrame * CFrame.new(0, -1.7, 0)
  115. local pos = 0
  116. game:GetService("RunService").RenderStepped:connect(function()
  117. orb.CFrame = char.Torso.CFrame * CFrame.new(0, -1.7, 0) * CFrame.fromEulerAnglesXYZ(0, pos, 0)
  118. pos = pos + 0.05
  119. end)
  120.  
  121. local Player = game:GetService("Players").LocalPlayer
  122. repeat wait(1) until Player.Character
  123. local Character = Player.Character
  124. Character.Animate.Disabled = true
  125. local la = Character:FindFirstChild("Left Arm")
  126. local ra = Character:FindFirstChild("Right Arm")
  127. local ll = Character:FindFirstChild("Left Leg")
  128. local rl = Character:FindFirstChild("Right Leg")
  129. local Torso = Character:FindFirstChild("Torso")
  130.  
  131. --[[z = Instance.new("Sound", Torso)
  132. z.SoundId = "rbxassetid://566055038" -- test
  133. z.Looped = true
  134. z.Volume = 1
  135. wait(.1)
  136. z:Play()
  137. ]]--
  138.  
  139. local Humanoid = Character:findFirstChild("Humanoid")
  140. local Mouse = Player:GetMouse()
  141. Character.Animate.Disabled = true
  142. Character.Sound:Destroy()
  143. Humanoid.Animator:Destroy()
  144.  
  145. local LimbAccess = {LA=true,RA=true,LL=true,RL=true,RJ=true,NJ=true,Weapon=true}
  146. local State = "Flying"
  147. local Active = true
  148. local Mode = "Flying"
  149. function Lerp(a,b,i) -- A = First pos, B = Second Pos, i = Speed
  150. return a:lerp(b,i)
  151. end
  152. Left_Arm = Instance.new("Weld",Torso)
  153. Left_Arm.Part0 = Torso
  154. Left_Arm.Part1 = la
  155. Left_Arm.Name = "LeftArmJ"
  156. Left_Arm.C0 = CFrame.new(-1.5,0.5,0)
  157. Left_Arm.C1 = CFrame.new(0,0.5,0)
  158. Right_Arm = Instance.new("Weld",Torso)
  159. Right_Arm.Part0 = Torso
  160. Right_Arm.Part1 = ra
  161. Right_Arm.Name = "RightArmJ"
  162. Right_Arm.C0 = CFrame.new(1.5,0.5,0)
  163. Right_Arm.C1 = CFrame.new(0,0.5,0)
  164. Left_Leg = Instance.new("Weld",Torso)
  165. Left_Leg.Part0 = Torso
  166. Left_Leg.Part1 = ll
  167. Left_Leg.Name = "LeftLegJ"
  168. Left_Leg.C0 = CFrame.new(-0.5,-1,0)
  169. Left_Leg.C1 = CFrame.new(0,1,0)
  170. Right_Leg = Instance.new("Weld",Torso)
  171. Right_Leg.Name = "RightLegJ"
  172. Right_Leg.Part0 = Torso
  173. Right_Leg.Part1 = rl
  174. Right_Leg.C0 = CFrame.new(0.5,-1,0)
  175. Right_Leg.C1 = CFrame.new(0,1,0)
  176. Staffw = Instance.new("Weld",Torso)
  177. Staffw.Part0 = Torso
  178. Staffw.Part1 = Torso
  179. Staffw.Name = "StaffJoint"
  180.  
  181. local RootJoint = Instance.new("Weld",Character["HumanoidRootPart"])
  182. RootJoint.Name = "RootJ"
  183. RootJoint.Part0 = Character["HumanoidRootPart"]
  184. RootJoint.Part1 = Torso
  185.  
  186. local NeckJ = Instance.new("Weld",Torso)
  187. NeckJ.Name = "NeckJ"
  188. NeckJ.Part0 = Torso
  189. NeckJ.Part1 = Character.Head
  190. NeckJ.C1 = CFrame.new(0,-1.5,0)
  191. Player.Character.Humanoid.Died:connect(function()
  192. _G.ConnectionAgent:disconnect()
  193. end)
  194.  
  195. angle = 0
  196. angle2 = 0
  197. angle3 = 0
  198. anglespeed = 2
  199. anglespeed2 = 1
  200. anglespeed3 = .4
  201. game:GetService("RunService").Stepped:connect(function()
  202. angle = ((angle % 100) + anglespeed/10)
  203. angle2 = ((angle2 % 100) + anglespeed2/10)
  204. angle3 = ((angle3 % 100) + anglespeed3/10) --it'll go from 0 to 100 and repeat in a loop. basically it will get to its destination and back --ok
  205. if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Flying" then -- idle
  206. if not Humanoid.WalkSpeed == 50 then
  207. Humanoid.WalkSpeed = 50
  208. end
  209. if LimbAccess.RJ then
  210. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(90),0),.2)
  211. end
  212. if LimbAccess.LA then
  213. Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.2,0.35,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(0)+math.sin(angle3)*.06),.1)
  214. end
  215. if LimbAccess.NJ then
  216. NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(-45)+(math.sin(-angle3)*.04),0),.25)
  217. end
  218. if LimbAccess.RA then
  219. Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-5)+math.sin(angle3)*.06),.1)
  220. end
  221. if LimbAccess.LL then
  222. Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.6,-.2)*CFrame.Angles(math.rad(35)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
  223. end
  224. if LimbAccess.RL then
  225. Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(45)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
  226. end
  227. if LimbAccess.Weapon then
  228. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-1,0),.2)
  229. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,-.4)*CFrame.Angles(math.rad(180),math.rad(180),0),.2)
  230. end
  231. elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Flying" then -- walk
  232. if LimbAccess.RJ then
  233. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(90),0),.2)
  234. end
  235. if LimbAccess.LA then
  236. Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.2,0.35,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(7)+math.sin(angle3)*.06),.1)
  237. end
  238. if LimbAccess.NJ then
  239. NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(-45)+(math.sin(-angle3)*.04),0),.25)
  240. end
  241. if LimbAccess.RA then
  242. Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-5)+math.sin(angle3)*.06),.1)
  243. end
  244. if LimbAccess.LL then
  245. Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.6,-.2)*CFrame.Angles(math.rad(35)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
  246. end
  247. if LimbAccess.RL then
  248. Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(45)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
  249. end
  250. if LimbAccess.Weapon then
  251. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-1,0),.2)
  252. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,-.4)*CFrame.Angles(math.rad(180),math.rad(180),0),.2)
  253. end
  254. end
  255. if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Lounge" then -- idle
  256. if not Humanoid.WalkSpeed == 30 then
  257. Humanoid.WalkSpeed = 30
  258. end
  259. if LimbAccess.RJ then
  260. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2)
  261. end
  262. if LimbAccess.LA then
  263. Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(5)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-3)+math.sin(angle3)*.06),.1)
  264. end
  265. if LimbAccess.NJ then
  266. NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  267. end
  268. if LimbAccess.RA then
  269. Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(5)+(math.sin(angle3)*.1),math.rad(0),math.rad(3)),.1)
  270. end
  271. if LimbAccess.LL then
  272. Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,-1,0)*CFrame.Angles(0,0,math.rad(-5)+math.sin(angle3)*.02),.1)
  273. end
  274. if LimbAccess.RL then
  275. Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,-1,0)*CFrame.Angles(0,0,math.rad(15)+math.sin(angle3)*-.02),.1)
  276. end
  277. if LimbAccess.Weapon then
  278. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,0,.5),.2)
  279. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,0)*CFrame.Angles(math.rad(180),math.rad(180),math.rad(-45)),.2)
  280. end
  281. elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Lounge" then -- walk
  282. if LimbAccess.RJ then
  283. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.2,math.sin(angle2)*.1,0)*CFrame.Angles(0,math.rad(0),0),.2)
  284. end
  285. if LimbAccess.LA then
  286. Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(5)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-23)+math.sin(angle3)*.06),.1)
  287. end
  288. if LimbAccess.NJ then
  289. NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  290. end
  291. if LimbAccess.RA then
  292. Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(5)+(math.sin(angle3)*.1),math.rad(0),math.rad(23)),.1)
  293. end
  294. if LimbAccess.LL then
  295. Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.6,-.2)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
  296. end
  297. if LimbAccess.RL then
  298. Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
  299. end
  300. if LimbAccess.Weapon then
  301. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,0,.5),.2)
  302. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,0)*CFrame.Angles(math.rad(180),math.rad(180),math.rad(-45)),.2)
  303. end
  304. end
  305. if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Battle" then -- idle
  306. if not Humanoid.WalkSpeed == 20 then
  307. Humanoid.WalkSpeed = 20
  308. end
  309. if LimbAccess.RJ then
  310. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2)
  311. end
  312. if LimbAccess.LA then
  313. Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.1,0.5,-.7)*CFrame.Angles(math.rad(5),math.rad(-135),math.rad(-90)),.1)
  314. end
  315. if LimbAccess.NJ then
  316. NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  317. end
  318. if LimbAccess.RA then
  319. Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.1,0.5,-.7)*CFrame.Angles(math.rad(5),math.rad(135),math.rad(90)),.1)
  320. end
  321. if LimbAccess.LL then
  322. Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,-1,0)*CFrame.Angles(0,0,math.rad(-5)+math.sin(angle3)*.02),.1)
  323. end
  324. if LimbAccess.RL then
  325. Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,-1,0)*CFrame.Angles(0,0,math.rad(5)+math.sin(angle3)*-.02),.1)
  326. end
  327. if LimbAccess.Weapon then
  328. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-.5,-1),.2)
  329. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,.6,0)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(-90)),.2)
  330. end
  331. elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Battle" then -- walk
  332. if LimbAccess.RJ then
  333. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.2,.5+math.sin(angle2)*.1,0)*CFrame.Angles(0,math.rad(0),0),.2)
  334. end
  335. if LimbAccess.LA then
  336. Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-.9,0.6,-.8)*CFrame.Angles(math.rad(5),math.rad(-135),math.rad(-90)),.1)
  337. end
  338. if LimbAccess.NJ then
  339. NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  340. end
  341. if LimbAccess.RA then
  342. Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.1,0.4,-.3)*CFrame.Angles(math.rad(5),math.rad(135),math.rad(90)),.1)
  343. end
  344. if LimbAccess.LL then
  345. Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.7,-.2)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
  346. end
  347. if LimbAccess.RL then
  348. Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
  349. end
  350. if LimbAccess.Weapon then
  351. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(.4,.5,-1),.2)
  352. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,.1,0)*CFrame.Angles(math.rad(135),math.rad(120),math.rad(-135)),.2)
  353. end
  354. end
  355. if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Changing" then -- idle
  356. if LimbAccess.RJ then
  357. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2)
  358. end
  359. if LimbAccess.LA then
  360. Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.3,0.51,-.7)*CFrame.Angles(math.rad(5),math.rad(-165),math.rad(-90)),.1)
  361. end
  362. if LimbAccess.NJ then
  363. NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(-10),math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  364. end
  365. if LimbAccess.RA then
  366. Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.3,0.49,-.7)*CFrame.Angles(math.rad(5),math.rad(165),math.rad(90)),.1)
  367. end
  368. if LimbAccess.LL then
  369. Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-1,-1,-.4)*CFrame.Angles(0,math.rad(25),math.rad(75)),.1)
  370. end
  371. if LimbAccess.RL then
  372. Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(1,-1,-.4)*CFrame.Angles(0,math.rad(-25),math.rad(-75)),.1)
  373. end
  374. end
  375. end)
  376.  
  377. Mesh2 = function(par, num, x, y, z)
  378.  
  379. local msh = _
  380. if num == 1 then
  381. msh = Instance.new("CylinderMesh", par)
  382. else
  383. if num == 2 then
  384. msh = Instance.new("SpecialMesh", par)
  385. msh.MeshType = 3
  386. else
  387. if num == 3 then
  388. msh = Instance.new("BlockMesh", par)
  389. else
  390. if num == 4 then
  391. msh = Instance.new("SpecialMesh", par)
  392. msh.MeshType = "Torso"
  393. else
  394. if type(num) == "string" then
  395. msh = Instance.new("SpecialMesh", par)
  396. msh.MeshId = num
  397. end
  398. end
  399. end
  400. end
  401. end
  402. msh.Scale = Vector3.new(x, y, z)
  403. return msh
  404. end
  405.  
  406. local GodMode = true
  407. local OP_HEALTH = runServ.RenderStepped:connect(function()
  408. if GodMode and RootJoint.Parent ~= nil then
  409. hum.MaxHealth = huge
  410. hum.Health = huge
  411. hum.MaxHealth = huge
  412. hum.Health = huge
  413. wait()
  414. hum.MaxHealth = huge
  415. hum.Health = huge
  416. hum.MaxHealth = huge
  417. hum.Health = huge
  418. if hum.Health == 0 then
  419. MakeText("I failed my master..", FONT, 1, 255, 0, 0, 0, 0, 0, char.Head.CFrame)
  420. end
  421. end
  422. end)
  423.  
  424.  
  425. Weld2 = function(p0, p1, x, y, z, rx, ry, rz, par)
  426.  
  427. local w = Instance.new("Motor", par or p0)
  428. w.Part0 = p0
  429. w.Part1 = p1
  430. w.C1 = CFrame.new(x, y, z) * CFrame.Angles(rx, ry, rz)
  431. return w
  432. end
  433.  
  434. NoOutline = function(Part)
  435.  
  436. Part.TopSurface = 10
  437. end
  438.  
  439. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  440.  
  441. local fp = Instance.new("Part")
  442. fp.formFactor = formfactor
  443. fp.Parent = parent
  444. fp.Reflectance = reflectance
  445. fp.Transparency = transparency
  446. fp.CanCollide = false
  447. fp.Locked = true
  448. fp.BrickColor = brickcolor
  449. fp.Name = name
  450. fp.Size = size
  451. fp.Position = Torso.Position
  452. NoOutline(fp)
  453. fp.Material = "SmoothPlastic"
  454. fp:BreakJoints()
  455. return fp
  456. end
  457.  
  458. local vt = Vector3.new
  459.  
  460. for i,v in pairs(player.Character.Head:GetChildren()) do
  461. if v:IsA("Sound") then
  462. v:Destroy()
  463. end
  464. end
  465.  
  466. if Hood == true then
  467. for _,v in pairs(char:GetChildren()) do
  468. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  469. --v:remove()
  470. v.Handle.Transparency = 1
  471. local hat = part(3, char, 0, 0, BrickColor.new("Really black"), "Hood", vt(0.5, 1, 1.02))
  472. Mesh2(hat, "http://www.roblox.com/asset/?id=16952952", 1.05, 1.05, 1.05)
  473. Weld2(char.Head, hat, 0, -0.25, 0, 0, 0, 0, hat)
  474. end
  475. end
  476. end
  477.  
  478. --[[Magic Change]]--
  479. mouse.KeyDown:connect(function(key)
  480. if key == "l" then
  481. r.Decal.Texture = "rbxassetid://564602277"
  482. MakeText("Magic Change!", FONT, .3, 255, 0, 0, 0, 0, 0, char.Head.CFrame) --help
  483. wait(3)
  484. end
  485. end)
  486.  
  487. mouse.KeyDown:connect(function(key)
  488. if key == "i" then
  489. r.Decal.Texture = "rbxassetid://131155455"
  490. end
  491. end)
  492.  
  493. --551749770
  494.  
  495. mouse.KeyDown:connect(function(key)
  496. if key == "o" then
  497. r.Decal.Texture = "rbxassetid://127950951"
  498. end
  499. end)
  500.  
  501. mouse.KeyDown:connect(function(key)
  502. if key == "p" then
  503. MakeText("Disappear!", FONT, .3, 255, 0, 0, 0, 0, 0, char.Head.CFrame)
  504. r.Decal.Transparency = 0.050
  505. wait(0.1)
  506. r.Decal.Transparency = 0.1
  507. wait(0.1)
  508. r.Decal.Transparency = 0.15
  509. wait(0.1)
  510. r.Decal.Transparency = 0.2
  511. wait(0.1)
  512. r.Decal.Transparency = 0.25
  513. wait(0.1)
  514. r.Decal.Transparency = 0.30
  515. wait(0.1)
  516. r.Decal.Transparency = 0.4
  517. wait(0.1)
  518. r.Decal.Transparency = 0.5
  519. wait(0.1)
  520. r.Decal.Transparency = 0.6
  521. wait(0.1)
  522. r.Decal.Transparency = 0.7
  523. wait(0.1)
  524. r.Decal.Transparency = 0.8
  525. wait(0.1)
  526. r.Decal.Transparency = 0.9
  527. wait(0.050)
  528. r.Decal.Transparency = 1
  529. end
  530. end)
  531. mouse.KeyDown:connect(function(key)
  532. if key == "b" then
  533. MakeText("Reappear", FONT, .3, 255, 0, 0, 0, 0, 0, char.Head.CFrame) --help
  534. r.Decal.Transparency = 1
  535. wait(0.1)
  536. r.Decal.Transparency = 0.950
  537. wait(0.1)
  538. r.Decal.Transparency = 0.9
  539. wait(0.1)
  540. r.Decal.Transparency = 0.8
  541. wait(0.1)
  542. r.Decal.Transparency = 0.7
  543. wait(0.1)
  544. r.Decal.Transparency = 0.6
  545. wait(0.1)
  546. r.Decal.Transparency = 0.5
  547. wait(0.1)
  548. r.Decal.Transparency = 0.4
  549. wait(0.1)
  550. r.Decal.Transparency = 0.3
  551. wait(0.1)
  552. r.Decal.Transparency = 0.25
  553. wait(0.1)
  554. r.Decal.Transparency = 0.2
  555. wait(0.1)
  556. r.Decal.Transparency = 0.1
  557. wait(0.050)
  558. r.Decal.Transparency = 0
  559. end
  560. end)
  561.  
  562. In = Instance.new
  563. V3 = Vector3
  564. local powah = false
  565. local powah2 = false
  566. local Enabled = false
  567. local enabled = true
  568. local typ = "Click-Generate"
  569. local gen = false
  570. local color = "Black"
  571. local change = true
  572. local harm = true
  573. Bin = In("HopperBin", player.Backpack)
  574. Bin.Name = "Dark Overseer Official Orb Handler"
  575. player.Character.Humanoid.MaxHealth = math.huge
  576. player.Character.Humanoid.Health = math.huge
  577. function colorchange()
  578. change = false
  579. Bin.Name = "Changed color to " .. color
  580. wait(1)
  581. Bin.Name = typ
  582. change = true
  583. end
  584. function move(part, bp)
  585. while powah == true do
  586. bp.Position = part.Position
  587. wait()
  588. end
  589. end
  590. function move2(part, mouse)
  591. while powah2 == true do
  592. part.bp.Position = mouse.Hit.p
  593. wait()
  594. end
  595. end
  596. function PressKey(key, mouse)
  597. key = key:lower()
  598. if key == "r" then
  599. powah = true
  600. Enabled = false
  601. ball = In("Part", Workspace)
  602. ball.CanCollide = false
  603. ball.Transparency = 1
  604. ball.Anchored = false
  605. ball.Name = "MainOrb"
  606. ball.Parent = player.Character
  607. ball.Shape = "Ball"
  608. ball.Material = "Neon"
  609. ball.BrickColor = BrickColor.new(color)
  610. ball.Size = V3.new(1, 1, 1)
  611. ball.Position = mouse.Hit.p
  612. bp = In("BodyPosition", ball)
  613. bp.Name = "bp"
  614. bp.MaxForce = V3.new(math.huge, math.huge, math.huge)
  615. bp.Position = ball.Position + Vector3.new(0, 5, 0)
  616. ball.Touched:connect(function(hit)
  617. if hit.Name == "orb" then
  618. ball.Transparency = 0
  619. hit:remove()
  620. ball.Size = ball.Size + V3.new(0.4, 0.4, 0.4)
  621. ball.bp.Position = ball.bp.Position + V3.new(0, 0.1, 0)
  622. bloop = In("Sound", ball)
  623. bloop.SoundId = "rbxassetid://236989198"
  624. bloop.Volume = 10
  625. bloop:play()
  626. elseif hit.Name ~= "Base" and hit.Parent.Name ~= player.Name and harm == true then
  627. hit:remove()
  628. end
  629. end)
  630. for i, v in pairs(player.Character:GetChildren()) do
  631. if v.Name == "orb" then
  632. coroutine.resume(coroutine.create(function()
  633. move(ball, v.bp)
  634. end))
  635. end
  636. end
  637. elseif key == "e" then
  638. if typ == "Click-Generate" then
  639. typ = "Auto-Generate"
  640. Bin.Name = "Auto-Generate"
  641. else
  642. typ = "Click-Generate"
  643. Bin.Name = "Click-Generate"
  644. end
  645. elseif key == "t" then
  646. if enabled == true then
  647. enabled = false
  648. powah2 = true
  649. move2(player.Character.MainOrb, mouse)
  650. else
  651. enabled = true
  652. powah2 = false
  653. player.Character.MainOrb:remove()
  654. end
  655. elseif key == "z" then
  656. if color == "Black" and change == true then
  657. color = "Really red"
  658. colorchange()
  659. elseif color == "Really red" and change == true then
  660. color = "New Yeller"
  661. colorchange()
  662. elseif color == "New Yeller" and change == true then
  663. color = "Institutional white"
  664. colorchange()
  665. elseif color == "Institutional white" and change == true then
  666. color = "Toothpaste"
  667. colorchange()
  668. elseif color == "Toothpaste" and change == true then
  669. color = "Pink"
  670. colorchange()
  671. elseif color == "Pink" and change == true then
  672. color = "Lime green"
  673. colorchange()
  674. elseif color == "Lime green" and change == true then
  675. color = "Black"
  676. colorchange()
  677. end
  678. elseif key == "x" then
  679. if color == "Lime green" and change == true then
  680. color = "Pink"
  681. colorchange()
  682. elseif color == "Pink" and change == true then
  683. color = "Toothpaste"
  684. colorchange()
  685. elseif color == "Toothpaste" and change == true then
  686. color = "Institutional white"
  687. colorchange()
  688. elseif color == "Institutional white" and change == true then
  689. color = "New Yeller"
  690. colorchange()
  691. elseif color == "New Yeller" and change == true then
  692. color = "Really red"
  693. colorchange()
  694. elseif color == "Really red" and change == true then
  695. color = "Black"
  696. colorchange()
  697. elseif color == "Black" and change == true then
  698. color = "Lime green"
  699. colorchange()
  700. end
  701. elseif key == "f" then
  702. if harm == true and change == true then
  703. change = false
  704. harm = false
  705. Bin.Name = "Harm Mode: Off"
  706. wait(1)
  707. Bin.Name = typ
  708. change = true
  709. elseif harm == false and change == true then
  710. change = false
  711. harm = true
  712. Bin.Name = "Harm Mode: On"
  713. wait(1)
  714. Bin.Name = typ
  715. change = true
  716. end
  717. elseif key == "g" then
  718. for i, v in pairs(player.Character:GetChildren()) do
  719. if v.Name == "orb" or v.Name == "MainOrb" then
  720. ex = In("Explosion", Workspace)
  721. ex.Position = v.Position
  722. v:remove()
  723. end
  724. end
  725. end
  726. end
  727. function LiftKey(key, mouse)
  728. key = key:lower()
  729. if key == "t" then
  730. end
  731. end
  732. function Click(mouse)
  733. Enabled = true
  734. ball = In("Part")
  735. ball.CanCollide = false
  736. ball.Name = "orb"
  737. ball.Parent = player.Character
  738. ball.Shape = "Ball"
  739. ball.Material = "Neon"
  740. ball.BrickColor = BrickColor.new(color)
  741. ball.Size = V3.new(1, 1, 1)
  742. ball.Position = mouse.Hit.p
  743. bp = In("BodyPosition", ball)
  744. bp.Name = "bp"
  745. bp.MaxForce = V3.new(math.huge, math.huge, math.huge)
  746. bp.Position = ball.Position + Vector3.new(0, 5, 0)
  747. bloop = In("Sound", ball)
  748. bloop.SoundId = "rbxassetid://236989198"
  749. bloop.Volume = 10
  750. bloop:play()
  751. end
  752. function Click2(mouse)
  753. gen = true
  754. Enabled = true
  755. while gen == true do
  756. ball = In("Part")
  757. ball.CanCollide = false
  758. ball.Name = "orb"
  759. ball.Parent = player.Character
  760. ball.Shape = "Ball"
  761. ball.Material = "Neon"
  762. ball.BrickColor = BrickColor.new(color)
  763. ball.Size = V3.new(1, 1, 1)
  764. pos = math.random(-200, 200)
  765. pos2 = math.random(-200, 200)
  766. ball.CFrame = player.Character.Head.CFrame * CFrame.new(pos, -5, pos2)
  767. bp = In("BodyPosition", ball)
  768. bp.Name = "bp"
  769. bp.MaxForce = V3.new(math.huge, math.huge, math.huge)
  770. bp.Position = ball.Position + Vector3.new(0, 5, 0)
  771. bloop = In("Sound", ball)
  772. bloop.SoundId = "rbxassetid://236989198"
  773. bloop.Volume = 10
  774. bloop:play()
  775. wait()
  776. end
  777. end
  778. function Click3(mouse)
  779. if mouse.Target:IsA("Part") then
  780. bp = In("BodyPosition")
  781. bp.Name = "bp"
  782. grab = true
  783. mouse.Target.Anchored = false
  784. coroutine.resume(coroutine.create(function()
  785. move(mouse.Target, bp, mouse)
  786. end))
  787. end
  788. end
  789. function Release(mouse)
  790. gen = false
  791. end
  792. function Select(mouse)
  793. mouse.Button1Down:connect(function()
  794. if typ == "Click-Generate" then
  795. Click(mouse)
  796. elseif typ == "Auto-Generate" then
  797. Click2(mouse)
  798. end
  799. end)
  800. mouse.Button1Up:connect(function()
  801. Release(mouse)
  802. end)
  803. mouse.KeyDown:connect(function(key)
  804. PressKey(key, mouse)
  805. end)
  806. mouse.KeyUp:connect(function(key)
  807. LiftKey(key, mouse)
  808. end)
  809. end
  810. Bin.Selected:connect(Select)
  811. wait(2)
  812. Bin.Name = "Overseer Hopperbin Loaded"
  813. wait(2)
  814. Bin.Name = "..."
  815.  
  816. Bin2 = In("HopperBin", player.Backpack)
  817. while wait(6) do
  818. Bin2.Name = "Hello, " .. game.Players.LocalPlayer.Name
  819. wait(3)
  820. Bin2.Name = "Your player id is: " .. game.Players.LocalPlayer.UserId
  821. end
  822.  
  823. print'Overseer loaded.'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement