Dark Overseer


SUBMITTED BY: Pamlau

DATE: March 8, 2017, 10:42 a.m.

FORMAT: Lua

SIZE: 27.2 kB

HITS: 534

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

comments powered by Disqus