zXzGamePROzXz

Overseer [With better code]

Jan 25th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.97 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros, Edited by StarzoZero")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  51. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67. local Mouse = Player:GetMouse()
  68. local UIS = game:GetService("UserInputService")
  69. local input = function(io,a)
  70. if a then return end
  71. --Since InputObject is a client-side instance, we create and pass table instead
  72. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85.  
  86. ----Sandboxed game object that allows the usage of client-side methods and services
  87. --Real game object
  88. local _rg = game
  89.  
  90. --Metatable for fake service
  91. local fsmt = {
  92. __index = function(self,k)
  93. local s = rawget(self,"_RealService")
  94. if s then
  95. return typeof(s[k])=="function"
  96. and function(_,...)return s[k](s,...)end or s[k]
  97. end
  98. end,
  99. __newindex = function(self,k,v)
  100. local s = rawget(self,"_RealService")
  101. if s then s[k]=v end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return rawget(self,s) or _rg:GetService(s)
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. RunService = FakeService({
  120. _btrs = {},
  121. RenderStepped = _rg:GetService("RunService").Heartbeat,
  122. BindToRenderStep = function(self,name,_,fun)
  123. self._btrs[name] = self.Heartbeat:Connect(fun)
  124. end,
  125. UnbindFromRenderStep = function(self,name)
  126. self._btrs[name]:Disconnect()
  127. end,
  128. },"RunService")
  129. }
  130. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  131. g.service = g.GetService
  132. FakeService(g,game)
  133. --Changing owner to fake player object to support owner:GetMouse()
  134. game,owner = g,g.Players.LocalPlayer
  135. end
  136. -- Extracted from nebula hub by DOGGΩ#0018
  137. -- // FileName: Dark Overseer.lua
  138.  
  139. -- // Written by: Jamie_1
  140.  
  141. -- // Description: N/A
  142.  
  143. -- // Apart of the Chromium Weaponry, circa 2017
  144.  
  145.  
  146.  
  147. local player = game:GetService("Players").LocalPlayer
  148.  
  149. local char = player.Character
  150.  
  151. local mouse = player:GetMouse()
  152.  
  153. local Hood = true
  154.  
  155. local hum = char.Humanoid
  156.  
  157. local skincolor= BrickColor.new"Really black" --that doesnt sound right
  158.  
  159. local RootPart = char:WaitForChild("HumanoidRootPart")
  160.  
  161. local rad = math.rad
  162.  
  163. local huge = math.huge
  164.  
  165. local rand = math.random
  166.  
  167. local Vec = Vector3.new
  168.  
  169. local Cf = CFrame.new
  170.  
  171. local Euler = CFrame.fromEulerAnglesXYZ
  172.  
  173. local BC = BrickColor.new
  174.  
  175. local Col3 = Color3.new
  176.  
  177. local Inst = Instance.new
  178.  
  179. local Ud2 = UDim2.new
  180.  
  181. local RootPart = char:WaitForChild("HumanoidRootPart")
  182.  
  183. local RootJoint = RootPart:WaitForChild("RootJoint")
  184.  
  185. local runServ = game:GetService("RunService")
  186.  
  187.  
  188.  
  189. wait(2)
  190.  
  191. char["Body Colors"].HeadColor = skincolor
  192.  
  193. char["Body Colors"].LeftArmColor = skincolor
  194.  
  195. char["Body Colors"].LeftLegColor = skincolor
  196.  
  197. char["Body Colors"].RightArmColor = skincolor
  198.  
  199. char["Body Colors"].RightLegColor = skincolor
  200.  
  201. char["Body Colors"].TorsoColor = skincolor
  202.  
  203.  
  204.  
  205. Shirt = Instance.new("Shirt",char)
  206.  
  207. Shirt.Parent = char
  208.  
  209. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=98045742"
  210.  
  211.  
  212.  
  213. Pant = Instance.new("Pants",char)
  214.  
  215. Pant.Parent = char
  216.  
  217. Pant.PantsTemplate = "http://www.roblox.com/asset/?id=83181745"
  218.  
  219.  
  220.  
  221. lite = Instance.new("PointLight")
  222.  
  223. lite.Parent = char.Torso
  224.  
  225. lite.Brightness = 100
  226.  
  227. lite.Range = 8
  228.  
  229. lite.Color = Color3.new(1,1,1)
  230.  
  231.  
  232.  
  233. local cf = CFrame.new(0, 0, -3) * CFrame.Angles(math.rad(180), 0, 0)
  234.  
  235. local chatServ = game:GetService("Chat")
  236.  
  237. local runServ = game:GetService("RunService")
  238.  
  239. local debServ = game:GetService("Debris")
  240.  
  241. local FONT = "SourceSans"
  242.  
  243.  
  244.  
  245. function MakeText(text, font, duration, tcr, tcg, tcb, scr, scg, scb, cFrame)
  246.  
  247. local tpart = Instance.new("Part")
  248.  
  249. tpart.Parent = char
  250.  
  251. tpart.Transparency = 1
  252.  
  253. tpart.Name = "hoihoi"
  254.  
  255. tpart.Anchored = true
  256.  
  257. tpart.CanCollide = false
  258.  
  259. tpart.Locked = true
  260.  
  261. tpart.Size = Vector3.new(.2,.2,.2)
  262.  
  263. tpart.CFrame = cFrame*CFrame.new(math.random(-2,2),0,math.random(-2,2))
  264.  
  265. local bill = Instance.new("BillboardGui")
  266.  
  267. bill.Parent = tpart
  268.  
  269. bill.AlwaysOnTop = true
  270.  
  271. bill.Name = "bilb"
  272.  
  273. bill.Size = UDim2.new(4, 0, 4, 0)
  274.  
  275. bill.StudsOffset = Vector3.new(0, 1, 0)
  276.  
  277. local counter = 0
  278.  
  279. local textl = Instance.new("TextLabel")
  280.  
  281. textl.Parent = bill
  282.  
  283. textl.Name = "bilb2"
  284.  
  285. textl.BackgroundTransparency = 1
  286.  
  287. textl.Size = UDim2.new(1, 0, 1, 0)
  288.  
  289. textl.Font = font
  290.  
  291. textl.Text = text
  292.  
  293. textl.TextColor3 = Color3.new(tcr/255, tcg/255, tcb/255)
  294.  
  295. textl.TextScaled = true
  296.  
  297. textl.TextStrokeColor3 = Color3.new(scr/255, scg/255, scb/255)
  298.  
  299. textl.TextStrokeTransparency = 0
  300.  
  301. coroutine.resume(coroutine.create(function()
  302.  
  303. while textl.TextTransparency < 1 do
  304.  
  305. wait()
  306.  
  307. if bill.StudsOffset.Y >= 5 then
  308.  
  309. if counter >= duration then
  310.  
  311. textl.TextTransparency = textl.TextTransparency+.15
  312.  
  313. textl.TextStrokeTransparency = textl.TextStrokeTransparency+.15
  314.  
  315. else
  316.  
  317. counter = counter+.1
  318.  
  319. end
  320.  
  321. else
  322.  
  323. bill.StudsOffset = Vec(0, bill.StudsOffset.Y+.15, 0)
  324.  
  325. end
  326.  
  327. end
  328.  
  329. debServ:AddItem(bill, 0)
  330.  
  331. debServ:AddItem(textl, 0)
  332.  
  333. debServ:AddItem(tpart, 0)
  334.  
  335. end))
  336.  
  337. end
  338.  
  339.  
  340.  
  341. local r = Instance.new("Part", char)
  342.  
  343. r.Transparency = 1
  344.  
  345. r.CanCollide = false
  346.  
  347. r.Name = "Circle"
  348.  
  349. r.CFrame = char.Torso.CFrame * CFrame.new(0, -1.7, 0)
  350.  
  351. r.Size = Vector3.new(10, 1, 10)
  352.  
  353. r.Anchored = true
  354.  
  355. local c = Instance.new("Decal", r)
  356.  
  357. c.Face = "Top"
  358.  
  359. c.Texture = "http://www.roblox.com/asset/?id=131155455"
  360.  
  361. orb = r
  362.  
  363. wait()
  364.  
  365. r.CFrame = char.Torso.CFrame * CFrame.new(0, -1.7, 0)
  366.  
  367. local pos = 0
  368.  
  369. game:GetService("RunService").RenderStepped:connect(function()
  370.  
  371. orb.CFrame = char.Torso.CFrame * CFrame.new(0, -1.7, 0) * CFrame.fromEulerAnglesXYZ(0, pos, 0)
  372.  
  373. pos = pos + 0.05
  374.  
  375. end)
  376.  
  377.  
  378.  
  379. local Player = game:GetService("Players").LocalPlayer
  380.  
  381. repeat wait(1) until Player.Character
  382.  
  383. local Character = Player.Character
  384.  
  385. Character.Animate.Disabled = true
  386.  
  387. local la = Character:FindFirstChild("Left Arm")
  388.  
  389. local ra = Character:FindFirstChild("Right Arm")
  390.  
  391. local ll = Character:FindFirstChild("Left Leg")
  392.  
  393. local rl = Character:FindFirstChild("Right Leg")
  394.  
  395. local Torso = Character:FindFirstChild("Torso")
  396.  
  397.  
  398.  
  399. --[[z = Instance.new("Sound", Torso)
  400.  
  401. z.SoundId = "rbxassetid://566055038" -- test
  402.  
  403. z.Looped = true
  404.  
  405. z.Volume = 1
  406.  
  407. wait(.1)
  408.  
  409. z:Play()
  410.  
  411. ]]--
  412.  
  413.  
  414.  
  415. local Humanoid = Character:findFirstChild("Humanoid")
  416.  
  417. local Mouse = Player:GetMouse()
  418.  
  419. Character.Animate.Disabled = true
  420.  
  421. Character.Sound:Destroy()
  422.  
  423. Humanoid.Animator:Destroy()
  424.  
  425.  
  426.  
  427. local LimbAccess = {LA=true,RA=true,LL=true,RL=true,RJ=true,NJ=true,Weapon=true}
  428.  
  429. local State = "Flying"
  430.  
  431. local Active = true
  432.  
  433. local Mode = "Flying"
  434.  
  435. function Lerp(a,b,i) -- A = First pos, B = Second Pos, i = Speed
  436.  
  437. return a:lerp(b,i)
  438.  
  439. end
  440.  
  441. Left_Arm = Instance.new("Weld",Torso)
  442.  
  443. Left_Arm.Part0 = Torso
  444.  
  445. Left_Arm.Part1 = la
  446.  
  447. Left_Arm.Name = "LeftArmJ"
  448.  
  449. Left_Arm.C0 = CFrame.new(-1.5,0.5,0)
  450.  
  451. Left_Arm.C1 = CFrame.new(0,0.5,0)
  452.  
  453. Right_Arm = Instance.new("Weld",Torso)
  454.  
  455. Right_Arm.Part0 = Torso
  456.  
  457. Right_Arm.Part1 = ra
  458.  
  459. Right_Arm.Name = "RightArmJ"
  460.  
  461. Right_Arm.C0 = CFrame.new(1.5,0.5,0)
  462.  
  463. Right_Arm.C1 = CFrame.new(0,0.5,0)
  464.  
  465. Left_Leg = Instance.new("Weld",Torso)
  466.  
  467. Left_Leg.Part0 = Torso
  468.  
  469. Left_Leg.Part1 = ll
  470.  
  471. Left_Leg.Name = "LeftLegJ"
  472.  
  473. Left_Leg.C0 = CFrame.new(-0.5,-1,0)
  474.  
  475. Left_Leg.C1 = CFrame.new(0,1,0)
  476.  
  477. Right_Leg = Instance.new("Weld",Torso)
  478.  
  479. Right_Leg.Name = "RightLegJ"
  480.  
  481. Right_Leg.Part0 = Torso
  482.  
  483. Right_Leg.Part1 = rl
  484.  
  485. Right_Leg.C0 = CFrame.new(0.5,-1,0)
  486.  
  487. Right_Leg.C1 = CFrame.new(0,1,0)
  488.  
  489. Staffw = Instance.new("Weld",Torso)
  490.  
  491. Staffw.Part0 = Torso
  492.  
  493. Staffw.Part1 = Torso
  494.  
  495. Staffw.Name = "StaffJoint"
  496.  
  497.  
  498.  
  499. local RootJoint = Instance.new("Weld",Character["HumanoidRootPart"])
  500.  
  501. RootJoint.Name = "RootJ"
  502.  
  503. RootJoint.Part0 = Character["HumanoidRootPart"]
  504.  
  505. RootJoint.Part1 = Torso
  506.  
  507.  
  508.  
  509. local NeckJ = Instance.new("Weld",Torso)
  510.  
  511. NeckJ.Name = "NeckJ"
  512.  
  513. NeckJ.Part0 = Torso
  514.  
  515. NeckJ.Part1 = Character.Head
  516.  
  517. NeckJ.C1 = CFrame.new(0,-1.5,0)
  518.  
  519. Player.Character.Humanoid.Died:connect(function()
  520.  
  521. _G.ConnectionAgent:disconnect()
  522.  
  523. end)
  524.  
  525.  
  526.  
  527. angle = 0
  528.  
  529. angle2 = 0
  530.  
  531. angle3 = 0
  532.  
  533. anglespeed = 2
  534.  
  535. anglespeed2 = 1
  536.  
  537. anglespeed3 = .4
  538.  
  539. game:GetService("RunService").Stepped:connect(function()
  540.  
  541. angle = ((angle % 100) + anglespeed/10)
  542.  
  543. angle2 = ((angle2 % 100) + anglespeed2/10)
  544.  
  545. 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
  546.  
  547. if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Flying" then -- idle
  548.  
  549. if not Humanoid.WalkSpeed == 50 then
  550.  
  551. Humanoid.WalkSpeed = 50
  552.  
  553. end
  554.  
  555. if LimbAccess.RJ then
  556.  
  557. 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)
  558.  
  559. end
  560.  
  561. if LimbAccess.LA then
  562.  
  563. 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)
  564.  
  565. end
  566.  
  567. if LimbAccess.NJ then
  568.  
  569. 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)
  570.  
  571. end
  572.  
  573. if LimbAccess.RA then
  574.  
  575. 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)
  576.  
  577. end
  578.  
  579. if LimbAccess.LL then
  580.  
  581. 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)
  582.  
  583. end
  584.  
  585. if LimbAccess.RL then
  586.  
  587. 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)
  588.  
  589. end
  590.  
  591. if LimbAccess.Weapon then
  592.  
  593. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-1,0),.2)
  594.  
  595. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,-.4)*CFrame.Angles(math.rad(180),math.rad(180),0),.2)
  596.  
  597. end
  598.  
  599. elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Flying" then -- walk
  600.  
  601. if LimbAccess.RJ then
  602.  
  603. 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)
  604.  
  605. end
  606.  
  607. if LimbAccess.LA then
  608.  
  609. 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)
  610.  
  611. end
  612.  
  613. if LimbAccess.NJ then
  614.  
  615. 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)
  616.  
  617. end
  618.  
  619. if LimbAccess.RA then
  620.  
  621. 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)
  622.  
  623. end
  624.  
  625. if LimbAccess.LL then
  626.  
  627. 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)
  628.  
  629. end
  630.  
  631. if LimbAccess.RL then
  632.  
  633. 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)
  634.  
  635. end
  636.  
  637. if LimbAccess.Weapon then
  638.  
  639. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-1,0),.2)
  640.  
  641. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,-.4)*CFrame.Angles(math.rad(180),math.rad(180),0),.2)
  642.  
  643. end
  644.  
  645. end
  646.  
  647. if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Lounge" then -- idle
  648.  
  649. if not Humanoid.WalkSpeed == 30 then
  650.  
  651. Humanoid.WalkSpeed = 30
  652.  
  653. end
  654.  
  655. if LimbAccess.RJ then
  656.  
  657. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2)
  658.  
  659. end
  660.  
  661. if LimbAccess.LA then
  662.  
  663. 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)
  664.  
  665. end
  666.  
  667. if LimbAccess.NJ then
  668.  
  669. 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)
  670.  
  671. end
  672.  
  673. if LimbAccess.RA then
  674.  
  675. 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)
  676.  
  677. end
  678.  
  679. if LimbAccess.LL then
  680.  
  681. 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)
  682.  
  683. end
  684.  
  685. if LimbAccess.RL then
  686.  
  687. 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)
  688.  
  689. end
  690.  
  691. if LimbAccess.Weapon then
  692.  
  693. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,0,.5),.2)
  694.  
  695. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,0)*CFrame.Angles(math.rad(180),math.rad(180),math.rad(-45)),.2)
  696.  
  697. end
  698.  
  699. elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Lounge" then -- walk
  700.  
  701. if LimbAccess.RJ then
  702.  
  703. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.2,math.sin(angle2)*.1,0)*CFrame.Angles(0,math.rad(0),0),.2)
  704.  
  705. end
  706.  
  707. if LimbAccess.LA then
  708.  
  709. 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)
  710.  
  711. end
  712.  
  713. if LimbAccess.NJ then
  714.  
  715. 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)
  716.  
  717. end
  718.  
  719. if LimbAccess.RA then
  720.  
  721. 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)
  722.  
  723. end
  724.  
  725. if LimbAccess.LL then
  726.  
  727. 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)
  728.  
  729. end
  730.  
  731. if LimbAccess.RL then
  732.  
  733. 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)
  734.  
  735. end
  736.  
  737. if LimbAccess.Weapon then
  738.  
  739. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,0,.5),.2)
  740.  
  741. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,0)*CFrame.Angles(math.rad(180),math.rad(180),math.rad(-45)),.2)
  742.  
  743. end
  744.  
  745. end
  746.  
  747. if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Battle" then -- idle
  748.  
  749. if not Humanoid.WalkSpeed == 20 then
  750.  
  751. Humanoid.WalkSpeed = 20
  752.  
  753. end
  754.  
  755. if LimbAccess.RJ then
  756.  
  757. 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)
  758.  
  759. end
  760.  
  761. if LimbAccess.LA then
  762.  
  763. 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)
  764.  
  765. end
  766.  
  767. if LimbAccess.NJ then
  768.  
  769. 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)
  770.  
  771. end
  772.  
  773. if LimbAccess.RA then
  774.  
  775. 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)
  776.  
  777. end
  778.  
  779. if LimbAccess.LL then
  780.  
  781. 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)
  782.  
  783. end
  784.  
  785. if LimbAccess.RL then
  786.  
  787. 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)
  788.  
  789. end
  790.  
  791. if LimbAccess.Weapon then
  792.  
  793. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-.5,-1),.2)
  794.  
  795. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,.6,0)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(-90)),.2)
  796.  
  797. end
  798.  
  799. elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Battle" then -- walk
  800.  
  801. if LimbAccess.RJ then
  802.  
  803. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.2,.5+math.sin(angle2)*.1,0)*CFrame.Angles(0,math.rad(0),0),.2)
  804.  
  805. end
  806.  
  807. if LimbAccess.LA then
  808.  
  809. 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)
  810.  
  811. end
  812.  
  813. if LimbAccess.NJ then
  814.  
  815. 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)
  816.  
  817. end
  818.  
  819. if LimbAccess.RA then
  820.  
  821. 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)
  822.  
  823. end
  824.  
  825. if LimbAccess.LL then
  826.  
  827. 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)
  828.  
  829. end
  830.  
  831. if LimbAccess.RL then
  832.  
  833. 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)
  834.  
  835. end
  836.  
  837. if LimbAccess.Weapon then
  838.  
  839. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(.4,.5,-1),.2)
  840.  
  841. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,.1,0)*CFrame.Angles(math.rad(135),math.rad(120),math.rad(-135)),.2)
  842.  
  843. end
  844.  
  845. end
  846.  
  847. if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Changing" then -- idle
  848.  
  849. if LimbAccess.RJ then
  850.  
  851. 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)
  852.  
  853. end
  854.  
  855. if LimbAccess.LA then
  856.  
  857. 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)
  858.  
  859. end
  860.  
  861. if LimbAccess.NJ then
  862.  
  863. NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(-10),math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  864.  
  865. end
  866.  
  867. if LimbAccess.RA then
  868.  
  869. 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)
  870.  
  871. end
  872.  
  873. if LimbAccess.LL then
  874.  
  875. Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-1,-1,-.4)*CFrame.Angles(0,math.rad(25),math.rad(75)),.1)
  876.  
  877. end
  878.  
  879. if LimbAccess.RL then
  880.  
  881. Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(1,-1,-.4)*CFrame.Angles(0,math.rad(-25),math.rad(-75)),.1)
  882.  
  883. end
  884.  
  885. end
  886.  
  887. end)
  888.  
  889.  
  890.  
  891. Mesh2 = function(par, num, x, y, z)
  892.  
  893.  
  894.  
  895. local msh = _
  896.  
  897. if num == 1 then
  898.  
  899. msh = Instance.new("CylinderMesh", par)
  900.  
  901. else
  902.  
  903. if num == 2 then
  904.  
  905. msh = Instance.new("SpecialMesh", par)
  906.  
  907. msh.MeshType = 3
  908.  
  909. else
  910.  
  911. if num == 3 then
  912.  
  913. msh = Instance.new("BlockMesh", par)
  914.  
  915. else
  916.  
  917. if num == 4 then
  918.  
  919. msh = Instance.new("SpecialMesh", par)
  920.  
  921. msh.MeshType = "Torso"
  922.  
  923. else
  924.  
  925. if type(num) == "string" then
  926.  
  927. msh = Instance.new("SpecialMesh", par)
  928.  
  929. msh.MeshId = num
  930.  
  931. end
  932.  
  933. end
  934.  
  935. end
  936.  
  937. end
  938.  
  939. end
  940.  
  941. msh.Scale = Vector3.new(x, y, z)
  942.  
  943. return msh
  944.  
  945. end
  946.  
  947.  
  948.  
  949. local GodMode = true
  950.  
  951. local OP_HEALTH = runServ.RenderStepped:connect(function()
  952.  
  953. if GodMode and RootJoint.Parent ~= nil then
  954.  
  955. hum.MaxHealth = huge
  956.  
  957. hum.Health = huge
  958.  
  959. hum.MaxHealth = huge
  960.  
  961. hum.Health = huge
  962.  
  963. wait()
  964.  
  965. hum.MaxHealth = huge
  966.  
  967. hum.Health = huge
  968.  
  969. hum.MaxHealth = huge
  970.  
  971. hum.Health = huge
  972.  
  973. if hum.Health == 0 then
  974.  
  975. MakeText("I failed my master..", FONT, 1, 255, 0, 0, 0, 0, 0, char.Head.CFrame)
  976.  
  977. end
  978.  
  979. end
  980.  
  981. end)
  982.  
  983.  
  984.  
  985.  
  986.  
  987. Weld2 = function(p0, p1, x, y, z, rx, ry, rz, par)
  988.  
  989.  
  990.  
  991. local w = Instance.new("Motor", par or p0)
  992.  
  993. w.Part0 = p0
  994.  
  995. w.Part1 = p1
  996.  
  997. w.C1 = CFrame.new(x, y, z) * CFrame.Angles(rx, ry, rz)
  998.  
  999. return w
  1000.  
  1001. end
  1002.  
  1003.  
  1004.  
  1005. NoOutline = function(Part)
  1006.  
  1007.  
  1008.  
  1009. Part.TopSurface = 10
  1010.  
  1011. end
  1012.  
  1013.  
  1014.  
  1015. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  1016.  
  1017.  
  1018.  
  1019. local fp = Instance.new("Part")
  1020.  
  1021. fp.formFactor = formfactor
  1022.  
  1023. fp.Parent = parent
  1024.  
  1025. fp.Reflectance = reflectance
  1026.  
  1027. fp.Transparency = transparency
  1028.  
  1029. fp.CanCollide = false
  1030.  
  1031. fp.Locked = true
  1032.  
  1033. fp.BrickColor = brickcolor
  1034.  
  1035. fp.Name = name
  1036.  
  1037. fp.Size = size
  1038.  
  1039. fp.Position = Torso.Position
  1040.  
  1041. NoOutline(fp)
  1042.  
  1043. fp.Material = "SmoothPlastic"
  1044.  
  1045. fp:BreakJoints()
  1046.  
  1047. return fp
  1048.  
  1049. end
  1050.  
  1051.  
  1052.  
  1053. local vt = Vector3.new
  1054.  
  1055.  
  1056.  
  1057. for i,v in pairs(player.Character.Head:GetChildren()) do
  1058.  
  1059. if v:IsA("Sound") then
  1060.  
  1061. v:Destroy()
  1062.  
  1063. end
  1064.  
  1065. end
  1066.  
  1067.  
  1068.  
  1069. if Hood == true then
  1070.  
  1071. for _,v in pairs(char:GetChildren()) do
  1072.  
  1073. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  1074.  
  1075. --v:remove()
  1076.  
  1077. v.Handle.Transparency = 1
  1078.  
  1079. local hat = part(3, char, 0, 0, BrickColor.new("Really black"), "Hood", vt(0.5, 1, 1.02))
  1080.  
  1081. Mesh2(hat, "http://www.roblox.com/asset/?id=16952952", 1.05, 1.05, 1.05)
  1082.  
  1083. Weld2(char.Head, hat, 0, -0.25, 0, 0, 0, 0, hat)
  1084.  
  1085. end
  1086.  
  1087. end
  1088.  
  1089. end
  1090.  
  1091.  
  1092.  
  1093. --[[Magic Change]]--
  1094.  
  1095. mouse.KeyDown:connect(function(key)
  1096.  
  1097. if key == "l" then
  1098.  
  1099. r.Decal.Texture = "rbxassetid://564602277"
  1100.  
  1101. MakeText("Magic Change!", FONT, .3, 255, 0, 0, 0, 0, 0, char.Head.CFrame) --help
  1102.  
  1103. wait(3)
  1104.  
  1105. end
  1106.  
  1107. end)
  1108.  
  1109.  
  1110.  
  1111. mouse.KeyDown:connect(function(key)
  1112.  
  1113. if key == "i" then
  1114.  
  1115. r.Decal.Texture = "rbxassetid://131155455"
  1116.  
  1117. end
  1118.  
  1119. end)
  1120.  
  1121.  
  1122.  
  1123. --551749770
  1124.  
  1125.  
  1126.  
  1127. mouse.KeyDown:connect(function(key)
  1128.  
  1129. if key == "o" then
  1130.  
  1131. r.Decal.Texture = "rbxassetid://127950951"
  1132.  
  1133. end
  1134.  
  1135. end)
  1136.  
  1137.  
  1138.  
  1139. mouse.KeyDown:connect(function(key)
  1140.  
  1141. if key == "p" then
  1142.  
  1143. MakeText("Disappear!", FONT, .3, 255, 0, 0, 0, 0, 0, char.Head.CFrame)
  1144.  
  1145. r.Decal.Transparency = 0.050
  1146.  
  1147. wait(0.1)
  1148.  
  1149. r.Decal.Transparency = 0.1
  1150.  
  1151. wait(0.1)
  1152.  
  1153. r.Decal.Transparency = 0.15
  1154.  
  1155. wait(0.1)
  1156.  
  1157. r.Decal.Transparency = 0.2
  1158.  
  1159. wait(0.1)
  1160.  
  1161. r.Decal.Transparency = 0.25
  1162.  
  1163. wait(0.1)
  1164.  
  1165. r.Decal.Transparency = 0.30
  1166.  
  1167. wait(0.1)
  1168.  
  1169. r.Decal.Transparency = 0.4
  1170.  
  1171. wait(0.1)
  1172.  
  1173. r.Decal.Transparency = 0.5
  1174.  
  1175. wait(0.1)
  1176.  
  1177. r.Decal.Transparency = 0.6
  1178.  
  1179. wait(0.1)
  1180.  
  1181. r.Decal.Transparency = 0.7
  1182.  
  1183. wait(0.1)
  1184.  
  1185. r.Decal.Transparency = 0.8
  1186.  
  1187. wait(0.1)
  1188.  
  1189. r.Decal.Transparency = 0.9
  1190.  
  1191. wait(0.050)
  1192.  
  1193. r.Decal.Transparency = 1
  1194.  
  1195. end
  1196.  
  1197. end)
  1198.  
  1199. mouse.KeyDown:connect(function(key)
  1200.  
  1201. if key == "b" then
  1202.  
  1203. MakeText("Reappear", FONT, .3, 255, 0, 0, 0, 0, 0, char.Head.CFrame) --help
  1204.  
  1205. r.Decal.Transparency = 1
  1206.  
  1207. wait(0.1)
  1208.  
  1209. r.Decal.Transparency = 0.950
  1210.  
  1211. wait(0.1)
  1212.  
  1213. r.Decal.Transparency = 0.9
  1214.  
  1215. wait(0.1)
  1216.  
  1217. r.Decal.Transparency = 0.8
  1218.  
  1219. wait(0.1)
  1220.  
  1221. r.Decal.Transparency = 0.7
  1222.  
  1223. wait(0.1)
  1224.  
  1225. r.Decal.Transparency = 0.6
  1226.  
  1227. wait(0.1)
  1228.  
  1229. r.Decal.Transparency = 0.5
  1230.  
  1231. wait(0.1)
  1232.  
  1233. r.Decal.Transparency = 0.4
  1234.  
  1235. wait(0.1)
  1236.  
  1237. r.Decal.Transparency = 0.3
  1238.  
  1239. wait(0.1)
  1240.  
  1241. r.Decal.Transparency = 0.25
  1242.  
  1243. wait(0.1)
  1244.  
  1245. r.Decal.Transparency = 0.2
  1246.  
  1247. wait(0.1)
  1248.  
  1249. r.Decal.Transparency = 0.1
  1250.  
  1251. wait(0.050)
  1252.  
  1253. r.Decal.Transparency = 0
  1254.  
  1255. end
  1256.  
  1257. end)
  1258.  
  1259.  
  1260.  
  1261. In = Instance.new
  1262.  
  1263. V3 = Vector3
  1264.  
  1265. local powah = false
  1266.  
  1267. local powah2 = false
  1268.  
  1269. local Enabled = false
  1270.  
  1271. local enabled = true
  1272.  
  1273. local typ = "Click-Generate"
  1274.  
  1275. local gen = false
  1276.  
  1277. local color = "Black"
  1278.  
  1279. local change = true
  1280.  
  1281. local harm = true
  1282.  
  1283. Bin = In("HopperBin", player.Backpack)
  1284.  
  1285. Bin.Name = "Dark Overseer Official Orb Handler"
  1286.  
  1287. player.Character.Humanoid.MaxHealth = math.huge
  1288.  
  1289. player.Character.Humanoid.Health = math.huge
  1290.  
  1291. function colorchange()
  1292.  
  1293. change = false
  1294.  
  1295. Bin.Name = "Changed color to " .. color
  1296.  
  1297. wait(1)
  1298.  
  1299. Bin.Name = typ
  1300.  
  1301. change = true
  1302.  
  1303. end
  1304.  
  1305. function move(part, bp)
  1306.  
  1307. while powah == true do
  1308.  
  1309. bp.Position = part.Position
  1310.  
  1311. wait()
  1312.  
  1313. end
  1314.  
  1315. end
  1316.  
  1317. function move2(part, mouse)
  1318.  
  1319. while powah2 == true do
  1320.  
  1321. part.bp.Position = mouse.Hit.p
  1322.  
  1323. wait()
  1324.  
  1325. end
  1326.  
  1327. end
  1328.  
  1329. function PressKey(key, mouse)
  1330.  
  1331. key = key:lower()
  1332.  
  1333. if key == "r" then
  1334.  
  1335. powah = true
  1336.  
  1337. Enabled = false
  1338.  
  1339. ball = In("Part", Workspace)
  1340.  
  1341. ball.CanCollide = false
  1342.  
  1343. ball.Transparency = 1
  1344.  
  1345. ball.Anchored = false
  1346.  
  1347. ball.Name = "MainOrb"
  1348.  
  1349. ball.Parent = player.Character
  1350.  
  1351. ball.Shape = "Ball"
  1352.  
  1353. ball.Material = "Neon"
  1354.  
  1355. ball.BrickColor = BrickColor.new(color)
  1356.  
  1357. ball.Size = V3.new(1, 1, 1)
  1358.  
  1359. ball.Position = mouse.Hit.p
  1360.  
  1361. bp = In("BodyPosition", ball)
  1362.  
  1363. bp.Name = "bp"
  1364.  
  1365. bp.MaxForce = V3.new(math.huge, math.huge, math.huge)
  1366.  
  1367. bp.Position = ball.Position + Vector3.new(0, 5, 0)
  1368.  
  1369. ball.Touched:connect(function(hit)
  1370.  
  1371. if hit.Name == "orb" then
  1372.  
  1373. ball.Transparency = 0
  1374.  
  1375. hit:remove()
  1376.  
  1377. ball.Size = ball.Size + V3.new(0.4, 0.4, 0.4)
  1378.  
  1379. ball.bp.Position = ball.bp.Position + V3.new(0, 0.1, 0)
  1380.  
  1381. bloop = In("Sound", ball)
  1382.  
  1383. bloop.SoundId = "rbxassetid://236989198"
  1384.  
  1385. bloop.Volume = 10
  1386.  
  1387. bloop:play()
  1388.  
  1389. elseif hit.Name ~= "Base" and hit.Parent.Name ~= player.Name and harm == true then
  1390.  
  1391. hit:remove()
  1392.  
  1393. end
  1394.  
  1395. end)
  1396.  
  1397. for i, v in pairs(player.Character:GetChildren()) do
  1398.  
  1399. if v.Name == "orb" then
  1400.  
  1401. coroutine.resume(coroutine.create(function()
  1402.  
  1403. move(ball, v.bp)
  1404.  
  1405. end))
  1406.  
  1407. end
  1408.  
  1409. end
  1410.  
  1411. elseif key == "e" then
  1412.  
  1413. if typ == "Click-Generate" then
  1414.  
  1415. typ = "Auto-Generate"
  1416.  
  1417. Bin.Name = "Auto-Generate"
  1418.  
  1419. else
  1420.  
  1421. typ = "Click-Generate"
  1422.  
  1423. Bin.Name = "Click-Generate"
  1424.  
  1425. end
  1426.  
  1427. elseif key == "t" then
  1428.  
  1429. if enabled == true then
  1430.  
  1431. enabled = false
  1432.  
  1433. powah2 = true
  1434.  
  1435. move2(player.Character.MainOrb, mouse)
  1436.  
  1437. else
  1438.  
  1439. enabled = true
  1440.  
  1441. powah2 = false
  1442.  
  1443. player.Character.MainOrb:remove()
  1444.  
  1445. end
  1446.  
  1447. elseif key == "z" then
  1448.  
  1449. if color == "Black" and change == true then
  1450.  
  1451. color = "Really red"
  1452.  
  1453. colorchange()
  1454.  
  1455. elseif color == "Really red" and change == true then
  1456.  
  1457. color = "New Yeller"
  1458.  
  1459. colorchange()
  1460.  
  1461. elseif color == "New Yeller" and change == true then
  1462.  
  1463. color = "Institutional white"
  1464.  
  1465. colorchange()
  1466.  
  1467. elseif color == "Institutional white" and change == true then
  1468.  
  1469. color = "Toothpaste"
  1470.  
  1471. colorchange()
  1472.  
  1473. elseif color == "Toothpaste" and change == true then
  1474.  
  1475. color = "Pink"
  1476.  
  1477. colorchange()
  1478.  
  1479. elseif color == "Pink" and change == true then
  1480.  
  1481. color = "Lime green"
  1482.  
  1483. colorchange()
  1484.  
  1485. elseif color == "Lime green" and change == true then
  1486.  
  1487. color = "Black"
  1488.  
  1489. colorchange()
  1490.  
  1491. end
  1492.  
  1493. elseif key == "x" then
  1494.  
  1495. if color == "Lime green" and change == true then
  1496.  
  1497. color = "Pink"
  1498.  
  1499. colorchange()
  1500.  
  1501. elseif color == "Pink" and change == true then
  1502.  
  1503. color = "Toothpaste"
  1504.  
  1505. colorchange()
  1506.  
  1507. elseif color == "Toothpaste" and change == true then
  1508.  
  1509. color = "Institutional white"
  1510.  
  1511. colorchange()
  1512.  
  1513. elseif color == "Institutional white" and change == true then
  1514.  
  1515. color = "New Yeller"
  1516.  
  1517. colorchange()
  1518.  
  1519. elseif color == "New Yeller" and change == true then
  1520.  
  1521. color = "Really red"
  1522.  
  1523. colorchange()
  1524.  
  1525. elseif color == "Really red" and change == true then
  1526.  
  1527. color = "Black"
  1528.  
  1529. colorchange()
  1530.  
  1531. elseif color == "Black" and change == true then
  1532.  
  1533. color = "Lime green"
  1534.  
  1535. colorchange()
  1536.  
  1537. end
  1538.  
  1539. elseif key == "f" then
  1540.  
  1541. if harm == true and change == true then
  1542.  
  1543. change = false
  1544.  
  1545. harm = false
  1546.  
  1547. Bin.Name = "Harm Mode: Off"
  1548.  
  1549. wait(1)
  1550.  
  1551. Bin.Name = typ
  1552.  
  1553. change = true
  1554.  
  1555. elseif harm == false and change == true then
  1556.  
  1557. change = false
  1558.  
  1559. harm = true
  1560.  
  1561. Bin.Name = "Harm Mode: On"
  1562.  
  1563. wait(1)
  1564.  
  1565. Bin.Name = typ
  1566.  
  1567. change = true
  1568.  
  1569. end
  1570.  
  1571. elseif key == "g" then
  1572.  
  1573. for i, v in pairs(player.Character:GetChildren()) do
  1574.  
  1575. if v.Name == "orb" or v.Name == "MainOrb" then
  1576.  
  1577. ex = In("Explosion", Workspace)
  1578.  
  1579. ex.Position = v.Position
  1580.  
  1581. v:remove()
  1582.  
  1583. end
  1584.  
  1585. end
  1586.  
  1587. end
  1588.  
  1589. end
  1590.  
  1591. function LiftKey(key, mouse)
  1592.  
  1593. key = key:lower()
  1594.  
  1595. if key == "t" then
  1596.  
  1597. end
  1598.  
  1599. end
  1600.  
  1601. function Click(mouse)
  1602.  
  1603. Enabled = true
  1604.  
  1605. ball = In("Part")
  1606.  
  1607. ball.CanCollide = false
  1608.  
  1609. ball.Name = "orb"
  1610.  
  1611. ball.Parent = player.Character
  1612.  
  1613. ball.Shape = "Ball"
  1614.  
  1615. ball.Material = "Neon"
  1616.  
  1617. ball.BrickColor = BrickColor.new(color)
  1618.  
  1619. ball.Size = V3.new(1, 1, 1)
  1620.  
  1621. ball.Position = mouse.Hit.p
  1622.  
  1623. bp = In("BodyPosition", ball)
  1624.  
  1625. bp.Name = "bp"
  1626.  
  1627. bp.MaxForce = V3.new(math.huge, math.huge, math.huge)
  1628.  
  1629. bp.Position = ball.Position + Vector3.new(0, 5, 0)
  1630.  
  1631. bloop = In("Sound", ball)
  1632.  
  1633. bloop.SoundId = "rbxassetid://236989198"
  1634.  
  1635. bloop.Volume = 10
  1636.  
  1637. bloop:play()
  1638.  
  1639. end
  1640.  
  1641. function Click2(mouse)
  1642.  
  1643. gen = true
  1644.  
  1645. Enabled = true
  1646.  
  1647. while gen == true do
  1648.  
  1649. ball = In("Part")
  1650.  
  1651. ball.CanCollide = false
  1652.  
  1653. ball.Name = "orb"
  1654.  
  1655. ball.Parent = player.Character
  1656.  
  1657. ball.Shape = "Ball"
  1658.  
  1659. ball.Material = "Neon"
  1660.  
  1661. ball.BrickColor = BrickColor.new(color)
  1662.  
  1663. ball.Size = V3.new(1, 1, 1)
  1664.  
  1665. pos = math.random(-200, 200)
  1666.  
  1667. pos2 = math.random(-200, 200)
  1668.  
  1669. ball.CFrame = player.Character.Head.CFrame * CFrame.new(pos, -5, pos2)
  1670.  
  1671. bp = In("BodyPosition", ball)
  1672.  
  1673. bp.Name = "bp"
  1674.  
  1675. bp.MaxForce = V3.new(math.huge, math.huge, math.huge)
  1676.  
  1677. bp.Position = ball.Position + Vector3.new(0, 5, 0)
  1678.  
  1679. bloop = In("Sound", ball)
  1680.  
  1681. bloop.SoundId = "rbxassetid://236989198"
  1682.  
  1683. bloop.Volume = 10
  1684.  
  1685. bloop:play()
  1686.  
  1687. wait()
  1688.  
  1689. end
  1690.  
  1691. end
  1692.  
  1693. function Click3(mouse)
  1694.  
  1695. if mouse.Target:IsA("Part") then
  1696.  
  1697. bp = In("BodyPosition")
  1698.  
  1699. bp.Name = "bp"
  1700.  
  1701. grab = true
  1702.  
  1703. mouse.Target.Anchored = false
  1704.  
  1705. coroutine.resume(coroutine.create(function()
  1706.  
  1707. move(mouse.Target, bp, mouse)
  1708.  
  1709. end))
  1710.  
  1711. end
  1712.  
  1713. end
  1714.  
  1715. function Release(mouse)
  1716.  
  1717. gen = false
  1718.  
  1719. end
  1720.  
  1721. function Select(mouse)
  1722.  
  1723. mouse.Button1Down:connect(function()
  1724.  
  1725. if typ == "Click-Generate" then
  1726.  
  1727. Click(mouse)
  1728.  
  1729. elseif typ == "Auto-Generate" then
  1730.  
  1731. Click2(mouse)
  1732.  
  1733. end
  1734.  
  1735. end)
  1736.  
  1737. mouse.Button1Up:connect(function()
  1738.  
  1739. Release(mouse)
  1740.  
  1741. end)
  1742.  
  1743. mouse.KeyDown:connect(function(key)
  1744.  
  1745. PressKey(key, mouse)
  1746.  
  1747. end)
  1748.  
  1749. mouse.KeyUp:connect(function(key)
  1750.  
  1751. LiftKey(key, mouse)
  1752.  
  1753. end)
  1754.  
  1755. end
  1756.  
  1757. Bin.Selected:connect(Select)
  1758.  
  1759. wait(2)
  1760.  
  1761. Bin.Name = "Overseer Hopperbin Loaded"
  1762.  
  1763. wait(2)
  1764.  
  1765. Bin.Name = "..."
  1766.  
  1767.  
  1768.  
  1769. Bin2 = In("HopperBin", player.Backpack)
  1770.  
  1771. while wait(6) do
  1772.  
  1773. Bin2.Name = "Hello, " .. game.Players.LocalPlayer.Name
  1774.  
  1775. wait(3)
  1776.  
  1777. Bin2.Name = "Your player id is: " .. game.Players.LocalPlayer.UserId
  1778.  
  1779. end
  1780.  
  1781.  
  1782.  
  1783. print'Overseer loaded.'
Add Comment
Please, Sign In to add comment