minecrafter523

Untitled

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