Advertisement
DarkScriptZEditors

Tha op

Dec 23rd, 2018
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 166.84 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")
  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()}
  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. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) 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 self[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. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145. -- Synapse Decompiler
  146. -- Purchase Here: https://brack4712.xyz/synapse/purchase/
  147.  
  148. ----------Converted/compiled by youssefaxo/Josen
  149. Player=game:GetService('Players').LocalPlayer
  150. Character=Player.Character
  151. Mouse=Player:GetMouse()
  152. m=Instance.new('Model',Character)
  153. it=Instance.new
  154. function nooutline(part)
  155. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  156. end
  157. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  158. local fp=it("Part")
  159. fp.formFactor=formfactor
  160. fp.Parent=parent
  161. fp.Reflectance=reflectance
  162. fp.Transparency=transparency
  163. fp.CanCollide=false
  164. fp.Locked=true
  165. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  166. fp.Name=name
  167. fp.Size=size
  168. fp.Position=Character.Torso.Position
  169. nooutline(fp)
  170. fp.Material=material
  171. fp:BreakJoints()
  172. return fp
  173. end
  174. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  175. local mesh=it(Mesh)
  176. mesh.Parent=part
  177. if Mesh=="SpecialMesh" then
  178. mesh.MeshType=meshtype
  179. mesh.MeshId=meshid
  180. end
  181. mesh.Offset=offset
  182. mesh.Scale=scale
  183. return mesh
  184. end
  185. function weld(parent,part0,part1,c0,c1)
  186. local weld=it("Weld")
  187. weld.Parent=parent
  188. weld.Part0=part0
  189. weld.Part1=part1
  190. weld.C0=c0
  191. weld.C1=c1
  192. return weld
  193. end
  194.  
  195. Handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(4, 1, 2))
  196. Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.606956482, -6.08631992, -4.85469818, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  197. Emitter=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  198. Emitterweld=weld(m,Handle,Emitter,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.74092484, 3.18198395, 2.45869446, 0, -0.999999464, 1.49011594e-08, 0.999999881, 1.77635684e-15, 5.96046448e-08, -5.96046448e-08, 8.94069672e-08, 0.999999464))
  199. Emitter1=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter1",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  200. Emitter1weld=weld(m,Handle,Emitter1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.50817871, 4.67385864, 2.45869446, -0.923879385, -0.382683396, 0, 0.382683396, -0.923879504, 1.63912773e-07, -5.96046448e-08, 8.94069672e-08, 0.999999464))
  201. Emitter10=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter10",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  202. Emitter10weld=weld(m,Handle,Emitter10,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.50072479, 5.10736465, 2.45648956, -0.923879385, 0.382683367, 0, -0.382683426, -0.923879266, -8.94069672e-08, 0, -5.96046448e-08, 0.999999642))
  203. Emitter11=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter11",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  204. Emitter11weld=weld(m,Handle,Emitter11,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.80597305, 5.41551208, -2.45868683, 0.382683426, -0.923879206, 1.1920929e-07, -0.923879385, -0.382683426, -1.78813934e-07, 2.38418579e-07, 2.98023224e-08, -0.999999642))
  205. Emitter12=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter12",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  206. Emitter12weld=weld(m,Handle,Emitter12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.55233765, 5.10635376, -2.45868683, 0.923879504, -0.382683367, 1.49011612e-07, -0.382683396, -0.923879266, -8.94069672e-08, 2.38418579e-07, 2.98023224e-08, -0.999999642))
  207. Emitter13=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter13",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  208. Emitter13weld=weld(m,Handle,Emitter13,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.74092484, 4.31216431, -2.45868683, 0, -0.999999464, 1.49011594e-08, -0.999999881, -1.42108547e-14, -2.38418579e-07, 2.38418579e-07, 2.98023224e-08, -0.999999642))
  209. Emitter14=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter14",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  210. Emitter14weld=weld(m,Handle,Emitter14,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.31216431, 3.74092484, -2.45868683, 0.999999881, 1.42108547e-14, 2.38418579e-07, 0, -0.999999464, 1.49011594e-08, 2.38418579e-07, 2.98023224e-08, -0.999999642))
  211. Emitter15=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter15",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  212. Emitter15weld=weld(m,Handle,Emitter15,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.14199066, 4.15154266, -2.45868683, -0.707106709, -0.707106411, 0, -0.707106709, 0.70710659, -1.49011612e-07, 1.78813934e-07, -8.94069672e-08, -0.999999642))
  213. Emitter16=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter16",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  214. Emitter16weld=weld(m,Handle,Emitter16,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.75449371, 4.31216431, -2.45869446, 0, -0.999999464, 1.49011594e-08, -0.999999881, 2.66453526e-15, -5.96046448e-08, 5.96046448e-08, -8.94069672e-08, -0.999999464))
  215. Emitter17=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter17",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  216. Emitter17weld=weld(m,Handle,Emitter17,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.23797226, 5.42060089, -2.45868683, -0.382683307, -0.923879385, 0, -0.923879504, 0.382683337, -1.49011612e-07, 1.78813934e-07, -8.94069672e-08, -0.999999642))
  217. Emitter18=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter18",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  218. Emitter18weld=weld(m,Handle,Emitter18,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00675582886, 5.8644104, -2.45868683, 0, -0.999999523, 8.94069601e-08, -0.999999881, -1.77635684e-14, -1.49011612e-07, 1.78813934e-07, -8.94069672e-08, -0.999999642))
  219. Emitter19=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter19",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  220. Emitter19weld=weld(m,Handle,Emitter19,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.81681824, 4.3685379, 2.45868683, -0.382683426, -0.923879385, 0, 0.923879504, -0.382683396, 8.94069672e-08, -1.78813934e-07, 8.94069672e-08, 0.999999642))
  221. Emitter2=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  222. Emitter2weld=weld(m,Handle,Emitter2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.568016052, 5.29289341, 2.45648956, -0.999999881, 0, 0, 0, -0.999999702, -5.96046377e-08, 0, -5.96046448e-08, 0.999999642))
  223. Emitter20=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter20",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  224. Emitter20weld=weld(m,Handle,Emitter20,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.568016052, 5.30652666, -2.45868683, -0.999999881, 0, 0, 0, 0.999999702, 5.96046377e-08, 0, 5.96046448e-08, -0.999999642))
  225. Emitter21=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter21",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  226. Emitter21weld=weld(m,Handle,Emitter21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.55550385, 4.68522263, -2.45868683, -0.923879385, 0.382683337, 0, 0.382683307, 0.923879266, 8.94069672e-08, 0, 5.96046448e-08, -0.999999642))
  227. Emitter22=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter22",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  228. Emitter22weld=weld(m,Handle,Emitter22,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.5059433, 5.11996078, -2.45868683, -0.923879385, -0.382683367, 0, -0.382683426, 0.923879266, 8.94069672e-08, 0, 5.96046448e-08, -0.999999642))
  229. Emitter23=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter23",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  230. Emitter23weld=weld(m,Handle,Emitter23,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.15154266, 4.14199066, -2.45868683, 0.707106709, -0.70710659, 1.49011612e-07, -0.707106709, -0.707106411, 0, 1.78813934e-07, -8.94069672e-08, -0.999999642))
  231. Emitter24=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter24",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  232. Emitter24weld=weld(m,Handle,Emitter24,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.15393066, 3.35063171, -2.45868683, -0.707106709, 0.707106471, -2.98023224e-08, 0.707106709, 0.707106471, -2.98023224e-08, 0, 5.96046448e-08, -0.999999642))
  233. Emitter25=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter25",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  234. Emitter25weld=weld(m,Handle,Emitter25,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.35063171, 4.15393066, -2.45868683, -0.707106709, -0.707106411, 0, -0.707106709, 0.707106411, 0, 0, 5.96046448e-08, -0.999999642))
  235. Emitter26=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter26",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  236. Emitter26weld=weld(m,Handle,Emitter26,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.25045013, 5.41542816, -2.45868683, 0.382683456, -0.923879504, 1.63912773e-07, -0.923879504, -0.382683367, -8.94069672e-08, 1.78813934e-07, -8.94069672e-08, -0.999999642))
  237. Emitter27=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter27",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  238. Emitter27weld=weld(m,Handle,Emitter27,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.394340515, 5.70398712, -2.45869446, -0.707106709, -0.707106471, 2.98023224e-08, -0.707106709, 0.707106411, -2.98023224e-08, 5.96046448e-08, -8.94069672e-08, -0.999999464))
  239. Emitter28=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter28",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  240. Emitter28weld=weld(m,Handle,Emitter28,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.25100708, 4.37654877, 2.45868683, 0.382683396, -0.923879504, 1.63912773e-07, 0.923879504, 0.382683396, 1.49011612e-07, -2.38418579e-07, -2.98023224e-08, 0.999999642))
  241. Emitter29=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter29",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  242. Emitter29weld=weld(m,Handle,Emitter29,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18198395, 3.75449371, 2.45868683, 0.999999881, 1.42108547e-14, 2.38418579e-07, 0, 0.999999464, -1.49011594e-08, -2.38418579e-07, -2.98023224e-08, 0.999999642))
  243. Emitter3=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter3",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  244. Emitter3weld=weld(m,Handle,Emitter3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.55028534, 4.6726265, 2.45648956, -0.923879385, -0.382683337, 0, 0.382683307, -0.923879266, -8.94069672e-08, 0, -5.96046448e-08, 0.999999642))
  245. Emitter30=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter30",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  246. Emitter30weld=weld(m,Handle,Emitter30,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34073639, 3.35028839, 2.45868683, 0.707106709, -0.70710659, 1.49011612e-07, 0.707106709, 0.707106411, 0, -1.78813934e-07, 8.94069672e-08, 0.999999642))
  247. Emitter31=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter31",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  248. Emitter31weld=weld(m,Handle,Emitter31,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.81850815, 5.4207077, -2.45869446, -0.382683396, -0.923879385, 0, -0.923879504, 0.382683396, -8.94069672e-08, 5.96046448e-08, -8.94069672e-08, -0.999999464))
  249. Emitter32=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter32",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  250. Emitter32weld=weld(m,Handle,Emitter32,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.54714203, 5.11889267, -2.45869446, -0.923879385, -0.382683396, 0, -0.382683426, 0.923879206, -1.1920929e-07, 5.96046448e-08, -8.94069672e-08, -0.999999464))
  251. Emitter33=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter33",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  252. Emitter33weld=weld(m,Handle,Emitter33,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.80434036, 4.37371063, 2.45868683, 0.382683307, -0.923879504, 1.78813934e-07, 0.923879504, 0.382683337, 8.94069672e-08, -1.78813934e-07, 8.94069672e-08, 0.999999642))
  253. Emitter34=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter34",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  254. Emitter34weld=weld(m,Handle,Emitter34,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.31216431, 3.75449371, -2.45869446, -0.999999881, -1.77635684e-15, -5.96046448e-08, 0, 0.999999464, -1.49011594e-08, 5.96046448e-08, -8.94069672e-08, -0.999999464))
  255. Emitter35=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter35",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  256. Emitter35weld=weld(m,Handle,Emitter35,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.50298309, 4.68639374, 2.45868683, 0.923879385, -0.382683426, 1.78813934e-07, 0.382683456, 0.923879147, 4.47034836e-08, -2.38418579e-07, -2.98023224e-08, 0.999999642))
  257. Emitter36=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter36",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  258. Emitter36weld=weld(m,Handle,Emitter36,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00675582886, 4.73126984, 2.45868683, 0, -0.999999523, 8.94069601e-08, 0.999999881, 1.77635684e-14, 1.49011612e-07, -1.78813934e-07, 8.94069672e-08, 0.999999642))
  259. Emitter37=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter37",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  260. Emitter37weld=weld(m,Handle,Emitter37,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.404823303, 4.9048233, 2.45868683, 0.707106709, -0.707106471, 1.49011612e-07, 0.707106709, 0.707106531, 8.94069672e-08, -2.38418579e-07, -2.98023224e-08, 0.999999642))
  261. Emitter38=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter38",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  262. Emitter38weld=weld(m,Handle,Emitter38,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.75449371, 3.18198395, 2.45868683, 0, -0.999999464, 1.49011594e-08, 0.999999881, 1.42108547e-14, 2.38418579e-07, -2.38418579e-07, -2.98023224e-08, 0.999999642))
  263. Emitter39=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter39",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  264. Emitter39weld=weld(m,Handle,Emitter39,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.35028839, 3.34073639, 2.45868683, -0.707106709, -0.707106411, 0, 0.707106709, -0.70710659, 1.49011612e-07, -1.78813934e-07, 8.94069672e-08, 0.999999642))
  265. Emitter4=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter4",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  266. Emitter4weld=weld(m,Handle,Emitter4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.18198395, 3.74092484, 2.45869446, -0.999999881, 2.66453526e-15, -5.96046448e-08, 0, -0.999999464, 1.49011594e-08, -5.96046448e-08, 8.94069672e-08, 0.999999464))
  267. Emitter5=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter5",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  268. Emitter5weld=weld(m,Handle,Emitter5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.23846817, 4.37135315, 2.45869446, -0.382683426, -0.923879206, 8.94069672e-08, 0.923879385, -0.382683396, 5.96046448e-08, -5.96046448e-08, 8.94069672e-08, 0.999999464))
  269. Emitter6=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter6",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  270. Emitter6weld=weld(m,Handle,Emitter6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.395233154, 4.89523315, 2.45869446, -0.707106709, -0.707106471, 2.98023224e-08, 0.707106709, -0.707106411, 2.98023224e-08, -5.96046448e-08, 8.94069672e-08, 0.999999464))
  271. Emitter7=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter7",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  272. Emitter7weld=weld(m,Handle,Emitter7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.34099579, 4.14429474, 2.45648956, -0.707106709, 0.707106411, 0, -0.707106709, -0.707106411, 0, 0, -5.96046448e-08, 0.999999642))
  273. Emitter8=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter8",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  274. Emitter8weld=weld(m,Handle,Emitter8,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.403930664, 5.69439697, -2.45868683, 0.707106709, -0.707106471, 1.49011612e-07, -0.707106709, -0.707106531, -8.94069672e-08, 2.38418579e-07, 2.98023224e-08, -0.999999642))
  275. Emitter9=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter9",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  276. Emitter9weld=weld(m,Handle,Emitter9,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.14429474, 3.34099579, 2.45648956, -0.707106709, -0.707106471, 2.98023224e-08, 0.707106709, -0.707106471, 2.98023224e-08, 0, -5.96046448e-08, 0.999999642))
  277.  
  278.  
  279. local particleemitter = Instance.new("ParticleEmitter", Emitter)
  280.  
  281. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  282. particleemitter.LightEmission = 1
  283. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  284. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  285. particleemitter.Lifetime = NumberRange.new(2, 2)
  286. particleemitter.Rate = 200
  287. local particleemitter = Instance.new("ParticleEmitter", Emitter1)
  288.  
  289. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  290. particleemitter.LightEmission = 1
  291. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  292. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  293. particleemitter.Lifetime = NumberRange.new(2, 2)
  294. particleemitter.Rate = 200
  295. local particleemitter = Instance.new("ParticleEmitter", Emitter2)
  296.  
  297. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  298. particleemitter.LightEmission = 1
  299. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  300. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  301. particleemitter.Lifetime = NumberRange.new(2, 2)
  302. particleemitter.Rate = 200
  303. local particleemitter = Instance.new("ParticleEmitter", Emitter3)
  304.  
  305. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  306. particleemitter.LightEmission = 1
  307. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  308. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  309. particleemitter.Lifetime = NumberRange.new(2, 2)
  310. particleemitter.Rate = 200
  311. local particleemitter = Instance.new("ParticleEmitter", Emitter4)
  312.  
  313. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  314. particleemitter.LightEmission = 1
  315. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  316. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  317. particleemitter.Lifetime = NumberRange.new(2, 2)
  318. particleemitter.Rate = 200
  319. local particleemitter = Instance.new("ParticleEmitter", Emitter5)
  320.  
  321. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  322. particleemitter.LightEmission = 1
  323. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  324. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  325. particleemitter.Lifetime = NumberRange.new(2, 2)
  326. particleemitter.Rate = 200
  327. local particleemitter = Instance.new("ParticleEmitter", Emitter6)
  328.  
  329. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  330. particleemitter.LightEmission = 1
  331. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  332. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  333. particleemitter.Lifetime = NumberRange.new(2, 2)
  334. particleemitter.Rate = 200
  335. local particleemitter = Instance.new("ParticleEmitter", Emitter7)
  336.  
  337. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  338. particleemitter.LightEmission = 1
  339. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  340. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  341. particleemitter.Lifetime = NumberRange.new(2, 2)
  342. particleemitter.Rate = 200
  343. local particleemitter = Instance.new("ParticleEmitter", Emitter8)
  344.  
  345. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  346. particleemitter.LightEmission = 1
  347. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  348. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  349. particleemitter.Lifetime = NumberRange.new(2, 2)
  350. particleemitter.Rate = 200
  351. local particleemitter = Instance.new("ParticleEmitter", Emitter9)
  352.  
  353. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  354. particleemitter.LightEmission = 1
  355. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  356. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  357. particleemitter.Lifetime = NumberRange.new(2, 2)
  358. particleemitter.Rate = 200
  359. local particleemitter = Instance.new("ParticleEmitter", Emitter10)
  360.  
  361. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  362. particleemitter.LightEmission = 1
  363. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  364. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  365. particleemitter.Lifetime = NumberRange.new(2, 2)
  366. particleemitter.Rate = 200
  367. local particleemitter = Instance.new("ParticleEmitter", Emitter11)
  368.  
  369. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  370. particleemitter.LightEmission = 1
  371. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  372. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  373. particleemitter.Lifetime = NumberRange.new(2, 2)
  374. particleemitter.Rate = 200
  375. local particleemitter = Instance.new("ParticleEmitter", Emitter12)
  376.  
  377. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  378. particleemitter.LightEmission = 1
  379. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  380. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  381. particleemitter.Lifetime = NumberRange.new(2, 2)
  382. particleemitter.Rate = 200
  383. local particleemitter = Instance.new("ParticleEmitter", Emitter13)
  384.  
  385. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  386. particleemitter.LightEmission = 1
  387. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  388. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  389. particleemitter.Lifetime = NumberRange.new(2, 2)
  390. particleemitter.Rate = 200
  391. local particleemitter = Instance.new("ParticleEmitter", Emitter14)
  392.  
  393. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  394. particleemitter.LightEmission = 1
  395. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  396. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  397. particleemitter.Lifetime = NumberRange.new(2, 2)
  398. particleemitter.Rate = 200
  399. local particleemitter = Instance.new("ParticleEmitter", Emitter15)
  400.  
  401. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  402. particleemitter.LightEmission = 1
  403. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  404. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  405. particleemitter.Lifetime = NumberRange.new(2, 2)
  406. particleemitter.Rate = 200
  407. local particleemitter = Instance.new("ParticleEmitter", Emitter16)
  408.  
  409. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  410. particleemitter.LightEmission = 1
  411. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  412. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  413. particleemitter.Lifetime = NumberRange.new(2, 2)
  414. particleemitter.Rate = 200
  415. local particleemitter = Instance.new("ParticleEmitter", Emitter17)
  416.  
  417. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  418. particleemitter.LightEmission = 1
  419. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  420. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  421. particleemitter.Lifetime = NumberRange.new(2, 2)
  422. particleemitter.Rate = 200
  423. local particleemitter = Instance.new("ParticleEmitter", Emitter18)
  424.  
  425. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  426. particleemitter.LightEmission = 1
  427. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  428. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  429. particleemitter.Lifetime = NumberRange.new(2, 2)
  430. particleemitter.Rate = 200
  431. local particleemitter = Instance.new("ParticleEmitter", Emitter19)
  432.  
  433. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  434. particleemitter.LightEmission = 1
  435. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  436. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  437. particleemitter.Lifetime = NumberRange.new(2, 2)
  438. particleemitter.Rate = 200
  439. local particleemitter = Instance.new("ParticleEmitter", Emitter20)
  440.  
  441. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  442. particleemitter.LightEmission = 1
  443. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  444. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  445. particleemitter.Lifetime = NumberRange.new(2, 2)
  446. particleemitter.Rate = 200
  447. local particleemitter = Instance.new("ParticleEmitter", Emitter21)
  448.  
  449. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  450. particleemitter.LightEmission = 1
  451. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  452. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  453. particleemitter.Lifetime = NumberRange.new(2, 2)
  454. particleemitter.Rate = 200
  455. local particleemitter = Instance.new("ParticleEmitter", Emitter22)
  456.  
  457. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  458. particleemitter.LightEmission = 1
  459. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  460. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  461. particleemitter.Lifetime = NumberRange.new(2, 2)
  462. particleemitter.Rate = 200
  463. local particleemitter = Instance.new("ParticleEmitter", Emitter23)
  464.  
  465. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  466. particleemitter.LightEmission = 1
  467. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  468. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  469. particleemitter.Lifetime = NumberRange.new(2, 2)
  470. particleemitter.Rate = 200
  471. local particleemitter = Instance.new("ParticleEmitter", Emitter24)
  472.  
  473. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  474. particleemitter.LightEmission = 1
  475. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  476. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  477. particleemitter.Lifetime = NumberRange.new(2, 2)
  478. particleemitter.Rate = 200
  479. local particleemitter = Instance.new("ParticleEmitter", Emitter25)
  480.  
  481. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  482. particleemitter.LightEmission = 1
  483. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  484. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  485. particleemitter.Lifetime = NumberRange.new(2, 2)
  486. particleemitter.Rate = 200
  487. local particleemitter = Instance.new("ParticleEmitter", Emitter26)
  488.  
  489. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  490. particleemitter.LightEmission = 1
  491. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  492. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  493. particleemitter.Lifetime = NumberRange.new(2, 2)
  494. particleemitter.Rate = 200
  495. local particleemitter = Instance.new("ParticleEmitter", Emitter27)
  496.  
  497. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  498. particleemitter.LightEmission = 1
  499. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  500. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  501. particleemitter.Lifetime = NumberRange.new(2, 2)
  502. particleemitter.Rate = 200
  503. local particleemitter = Instance.new("ParticleEmitter", Emitter28)
  504.  
  505. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  506. particleemitter.LightEmission = 1
  507. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  508. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  509. particleemitter.Lifetime = NumberRange.new(2, 2)
  510. particleemitter.Rate = 200
  511. local particleemitter = Instance.new("ParticleEmitter", Emitter29)
  512.  
  513. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  514. particleemitter.LightEmission = 1
  515. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  516. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  517. particleemitter.Lifetime = NumberRange.new(2, 2)
  518. particleemitter.Rate = 200
  519. local particleemitter = Instance.new("ParticleEmitter", Emitter30)
  520.  
  521. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  522. particleemitter.LightEmission = 1
  523. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  524. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  525. particleemitter.Lifetime = NumberRange.new(2, 2)
  526. particleemitter.Rate = 200
  527. local particleemitter = Instance.new("ParticleEmitter", Emitter31)
  528.  
  529. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  530. particleemitter.LightEmission = 1
  531. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  532. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  533. particleemitter.Lifetime = NumberRange.new(2, 2)
  534. particleemitter.Rate = 200
  535. local particleemitter = Instance.new("ParticleEmitter", Emitter32)
  536.  
  537. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  538. particleemitter.LightEmission = 1
  539. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  540. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  541. particleemitter.Lifetime = NumberRange.new(2, 2)
  542. particleemitter.Rate = 200
  543. local particleemitter = Instance.new("ParticleEmitter", Emitter33)
  544.  
  545. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  546. particleemitter.LightEmission = 1
  547. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  548. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  549. particleemitter.Lifetime = NumberRange.new(2, 2)
  550. particleemitter.Rate = 200
  551. local particleemitter = Instance.new("ParticleEmitter", Emitter34)
  552.  
  553. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  554. particleemitter.LightEmission = 1
  555. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  556. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  557. particleemitter.Lifetime = NumberRange.new(2, 2)
  558. particleemitter.Rate = 200
  559. local particleemitter = Instance.new("ParticleEmitter", Emitter35)
  560.  
  561. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  562. particleemitter.LightEmission = 1
  563. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  564. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  565. particleemitter.Lifetime = NumberRange.new(2, 2)
  566. particleemitter.Rate = 200
  567. local particleemitter = Instance.new("ParticleEmitter", Emitter36)
  568.  
  569. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  570. particleemitter.LightEmission = 1
  571. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  572. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  573. particleemitter.Lifetime = NumberRange.new(2, 2)
  574. particleemitter.Rate = 200
  575. local particleemitter = Instance.new("ParticleEmitter", Emitter37)
  576.  
  577. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  578. particleemitter.LightEmission = 1
  579. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  580. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  581. particleemitter.Lifetime = NumberRange.new(2, 2)
  582. particleemitter.Rate = 200
  583. local particleemitter = Instance.new("ParticleEmitter", Emitter38)
  584.  
  585. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  586. particleemitter.LightEmission = 1
  587. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  588. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  589. particleemitter.Lifetime = NumberRange.new(2, 2)
  590. particleemitter.Rate = 200
  591. local particleemitter = Instance.new("ParticleEmitter", Emitter39)
  592.  
  593. particleemitter.Color = ColorSequence.new(Color3.new(0.35,0,1),Color3.new(0.35,0,1))
  594. particleemitter.LightEmission = 1
  595. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  596. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  597. particleemitter.Lifetime = NumberRange.new(2, 2)
  598. particleemitter.Rate = 200
  599.  
  600.  
  601. wait(0.2)
  602. Player = owner
  603. PlayerGui = Player.PlayerGui
  604. Cam = workspace.CurrentCamera
  605. Backpack = Player.Backpack
  606. Character = Player.Character
  607. Humanoid = Character.Humanoid
  608.  
  609. RootPart = Character["HumanoidRootPart"]
  610. Torso = Character["Torso"]
  611. Head = Character["Head"]
  612. RightArm = Character["Right Arm"]
  613. LeftArm = Character["Left Arm"]
  614. RightLeg = Character["Right Leg"]
  615. LeftLeg = Character["Left Leg"]
  616. RootJoint = RootPart["RootJoint"]
  617. Neck = Torso["Neck"]
  618. RightShoulder = Torso["Right Shoulder"]
  619. LeftShoulder = Torso["Left Shoulder"]
  620. RightHip = Torso["Right Hip"]
  621. LeftHip = Torso["Left Hip"]
  622. local TIME = 0
  623. local sick = Instance.new("Sound",Torso)
  624. local EYES = {}
  625. local EYE, PUPIL
  626.  
  627. IT = Instance.new
  628. CF = CFrame.new
  629. VT = Vector3.new
  630. RAD = math.rad
  631. C3 = Color3.new
  632. UD2 = UDim2.new
  633. BRICKC = BrickColor.new
  634. ANGLES = CFrame.Angles
  635. EULER = CFrame.fromEulerAnglesXYZ
  636. COS = math.cos
  637. ACOS = math.acos
  638. SIN = math.sin
  639. ASIN = math.asin
  640. ABS = math.abs
  641. MRANDOM = math.random
  642. FLOOR = math.floor
  643. local RWINGS = {}
  644. local LWINGS = {}
  645. local GunPoint
  646. Player_Size = 1
  647.  
  648. -- Thingy To Make Song Work
  649.  
  650. p = owner
  651. char = p.Character
  652.  
  653. ---------------------------[[[ LOOPED SONG ]]]--------------------------
  654. local s = Instance.new("Sound",char)
  655. s.Name = "BGMusic"
  656. s.SoundId = "rbxassetid://747000636"
  657. s.Pitch = 1
  658. s.Volume = 40
  659. s.Looped = true
  660. s.archivable = false
  661. s.Parent = char.Head
  662. wait(0.1)
  663. s:play()
  664.  
  665. -- Rest of Script
  666. -- Want To Use This For Scripts With No Songs? Go Ahead Copy This InfiniteOneWithdank created the looped song thing that is in here anyways.
  667.  
  668. --//=================================\\
  669. --|| PARTICLES N STUFF
  670. --\\=================================//
  671.  
  672. local particleemitter = Instance.new('ParticleEmitter', LeftArm)
  673. particleemitter.VelocitySpread = 350
  674. particleemitter.Lifetime = NumberRange.new(1)
  675. particleemitter.Speed = NumberRange.new(0)
  676. cringememe= {}
  677. for i=0, 19 do
  678. cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  679. end
  680. particleemitter.Size = NumberSequence.new(cringememe)
  681. particleemitter.Rate = 20
  682. particleemitter.LockedToPart = true
  683. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  684. particleemitter.LightEmission = 1
  685. particleemitter.Texture = "rbxassetid://38727848"
  686. particleemitter.Color = ColorSequence.new(BrickColor.new("Royal purple").Color)
  687.  
  688. local particleemitter = Instance.new('ParticleEmitter', Torso)
  689. particleemitter.VelocitySpread = 250
  690. particleemitter.Lifetime = NumberRange.new(3)
  691. particleemitter.Speed = NumberRange.new(1.5)
  692. youAreATHOT = {}
  693. for i=0, 19 do
  694. youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  695. end
  696. particleemitter.Size = NumberSequence.new(youAreATHOT)
  697. particleemitter.Rate = 10
  698. particleemitter.LockedToPart = false
  699. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  700. particleemitter.LightEmission = 1
  701. particleemitter.Texture = "rbxassetid://253188763"
  702. particleemitter.Color = ColorSequence.new(BrickColor.new("Royal purple").Color)
  703.  
  704. local particleemitter = Instance.new('ParticleEmitter', RightArm)
  705. particleemitter.VelocitySpread = 350
  706. particleemitter.Lifetime = NumberRange.new(1)
  707. particleemitter.Speed = NumberRange.new(0)
  708. cringememe2= {}
  709. for i=0, 19 do
  710. cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  711. end
  712. particleemitter.Size = NumberSequence.new(cringememe2)
  713. particleemitter.Rate = 20
  714. particleemitter.LockedToPart = true
  715. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  716. particleemitter.LightEmission = 1
  717. particleemitter.Texture = "rbxassetid://38727848"
  718. particleemitter.Color = ColorSequence.new(BrickColor.new("Royal purple").Color)
  719.  
  720. local particleemitter = Instance.new('ParticleEmitter', RightLeg)
  721. particleemitter.VelocitySpread = 350
  722. particleemitter.Lifetime = NumberRange.new(1)
  723. particleemitter.Speed = NumberRange.new(0)
  724. cringememe3= {}
  725. for i=0, 19 do
  726. cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  727. end
  728. particleemitter.Size = NumberSequence.new(cringememe3)
  729. particleemitter.Rate = 30
  730. particleemitter.LockedToPart = true
  731. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  732. particleemitter.LightEmission = 1
  733. particleemitter.Texture = "rbxassetid://38727848"
  734. particleemitter.Color = ColorSequence.new(BrickColor.new("Royal purple").Color)
  735.  
  736. local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
  737. particleemitter.VelocitySpread = 350
  738. particleemitter.Lifetime = NumberRange.new(1)
  739. particleemitter.Speed = NumberRange.new(0)
  740. cringememe4= {}
  741. for i=0, 19 do
  742. cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  743. end
  744. particleemitter.Size = NumberSequence.new(cringememe4)
  745. particleemitter.Rate = 30
  746. particleemitter.LockedToPart = true
  747. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  748. particleemitter.LightEmission = 1
  749. particleemitter.Texture = "rbxassetid://38727848"
  750. particleemitter.Color = ColorSequence.new(BrickColor.new("Royal purple").Color)
  751.  
  752. --//=================================\\
  753. --|| USEFUL VALUES
  754. --\\=================================//
  755.  
  756. Animation_Speed = 1.5
  757. local FORCERESET = false
  758. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  759. local Speed = 16
  760. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  761. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  762. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  763. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  764. local DAMAGEMULTIPLIER = 1
  765. local ANIM = "Idle"
  766. local ATTACK = false
  767. local EQUIPPED = false
  768. local HOLD = false
  769. local COMBO = 1
  770. local Rooted = false
  771. local SINE = 0
  772. local KEYHOLD = false
  773. local CHANGE = 2 / Animation_Speed
  774. local WALKINGANIM = false
  775. local VALUE1 = false
  776. local VALUE2 = false
  777. local ROBLOXIDLEANIMATION = IT("Animation")
  778. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  779. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  780. --ROBLOXIDLEANIMATION.Parent = Humanoid
  781. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  782. WEAPONGUI.Name = "BanishV3Gui"
  783. local Weapon = IT("Model")
  784. Weapon.Name = "Adds"
  785. local Effects = IT("Folder", Weapon)
  786. Effects.Name = "Effects"
  787. local ANIMATOR = Humanoid.Animator
  788. local ANIMATE = Character:FindFirstChild("Animate")
  789. local UNANCHOR = true
  790. local TOBANISH = {}
  791. script.Parent = PlayerGui
  792.  
  793. function StatLabel(CFRAME, TEXT, COLOR)
  794. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  795. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  796. local BODYGYRO = IT("BodyGyro", STATPART)
  797. game:GetService("Debris"):AddItem(STATPART ,5)
  798. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  799. BILLBOARDGUI.Adornee = STATPART
  800. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  801. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  802. BILLBOARDGUI.AlwaysOnTop = false
  803. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  804. TEXTLABEL.BackgroundTransparency = 1
  805. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  806. TEXTLABEL.Text = TEXT
  807. TEXTLABEL.Font = SKILLFONT
  808. TEXTLABEL.FontSize="Size42"
  809. TEXTLABEL.TextColor3 = COLOR
  810. TEXTLABEL.TextStrokeTransparency = 0
  811. TEXTLABEL.TextScaled = true
  812. TEXTLABEL.TextWrapped = true
  813. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  814. for i = 1, 50 do
  815. Swait()
  816. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  817. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  818. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  819. end
  820. THEPART.Parent = nil
  821. end),STATPART, TEXTLABEL)
  822. end
  823.  
  824. --//=================================\\
  825. --\\=================================//
  826.  
  827.  
  828. --//=================================\\
  829. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  830. --\\=================================//
  831.  
  832. ArtificialHB = Instance.new("BindableEvent", script)
  833. ArtificialHB.Name = "ArtificialHB"
  834.  
  835. script:WaitForChild("ArtificialHB")
  836.  
  837. frame = Frame_Speed
  838. tf = 0
  839. allowframeloss = false
  840. tossremainder = false
  841. lastframe = tick()
  842. script.ArtificialHB:Fire()
  843.  
  844. game:GetService("RunService").Heartbeat:connect(function(s, p)
  845. tf = tf + s
  846. if tf >= frame then
  847. if allowframeloss then
  848. script.ArtificialHB:Fire()
  849. lastframe = tick()
  850. else
  851. for i = 1, math.floor(tf / frame) do
  852. script.ArtificialHB:Fire()
  853. end
  854. lastframe = tick()
  855. end
  856. if tossremainder then
  857. tf = 0
  858. else
  859. tf = tf - frame * math.floor(tf / frame)
  860. end
  861. end
  862. end)
  863.  
  864. --//=================================\\
  865. --\\=================================//
  866.  
  867. --//=================================\\
  868. --|| SOME TAG EDIT
  869. --\\=================================//
  870.  
  871. m = owner --The name of the guy who was using the script.
  872. char = m.Character
  873. local txt = Instance.new("BillboardGui", char)
  874. txt.Adornee = char.Head
  875. txt.Name = "_status"
  876. txt.Size = UDim2.new(2, 0, 1.2, 0)
  877. txt.StudsOffset = Vector3.new(-9, 8, 0)
  878. local text = Instance.new("TextLabel", txt)
  879. text.Size = UDim2.new(10, 0, 7, 0)
  880. text.FontSize = "Size24"
  881. text.TextScaled = true
  882. text.TextTransparency = 0
  883. text.BackgroundTransparency = 1
  884. text.TextTransparency = 0
  885. text.TextStrokeTransparency = 0
  886. text.Font = "Bodoni"
  887. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  888. v = Instance.new("Part")
  889. v.Name = "ColorBrick"
  890. v.Parent = m.Character
  891. v.FormFactor = "Symmetric"
  892. v.Anchored = true
  893. v.CanCollide = false
  894. v.BottomSurface = "Smooth"
  895. v.TopSurface = "Smooth"
  896. v.Size = Vector3.new(10, 5, 3)
  897. v.Transparency = 1
  898. v.CFrame = char.Torso.CFrame
  899. v.BrickColor = BrickColor.new("Really black")
  900. v.Transparency = 1
  901. v.Shape = "Block"
  902. spawn(function()
  903. local TweenService = game:GetService("TweenService")
  904. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  905. local Int = 0
  906. while wait(0.5) do
  907. if Int == #Colours then Int = 0 end
  908. Int = Int+1
  909. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  910. end
  911. end)
  912. text.Text = "O Hello there"
  913. wait(2)
  914. text.Text = "It Seems that ur the only skid here Is time to rekt u"
  915. wait(2)
  916. text.Text = "YEET SKIDDO PREPARE TO GET KILLED LMAO ;)"
  917. wait(5)
  918. text.Text = "Lunatic Eyes"
  919.  
  920. --//=================================\\
  921. --\\=================================//
  922.  
  923. --//=================================\\
  924. --|| SOME FUNCTIONS
  925. --\\=================================//
  926.  
  927. function Petrify(Foe)
  928. local STONEMODEL = IT("Model", Effects)
  929. local CHILDREN = Foe:GetDescendants()
  930. for index, CHILD in pairs(CHILDREN) do
  931. if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
  932. CHILD.Parent = STONEMODEL
  933. CHILD.Material = "Slate"
  934. CHILD.Color = C3(0.5, 0.5, 0.5)
  935. if CHILD:FindFirstChildOfClass("SpecialMesh") then
  936. local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
  937. mesh.TextureId = ""
  938. end
  939. if CHILD:FindFirstChildOfClass("Decal") then
  940. local mesh = CHILD:FindFirstChildOfClass("Decal")
  941. mesh:remove()
  942. end
  943. if CHILD.ClassName == "MeshPart" then
  944. CHILD.TextureID = ""
  945. end
  946. if CHILD.ClassName == "UnionOperation" then
  947. CHILD.UsePartColor = true
  948. end
  949. CHILD.CanCollide = true
  950. end
  951. end
  952. Debris:AddItem(STONEMODEL, 5)
  953. end
  954. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  955. if FLOOR ~= nil then
  956. coroutine.resume(coroutine.create(function()
  957. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  958. PART.CFrame = CF(POSITION)
  959. for i = 1, 45 do
  960. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  961. RingPiece.Material = FLOOR.Material
  962. RingPiece.Color = FLOOR.Color
  963. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  964. Debris:AddItem(RingPiece, SWAIT)
  965. end
  966. PART:remove()
  967. end))
  968. end
  969. end
  970. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  971. if FLOOR ~= nil then
  972. for i = 1, AMOUNT do
  973. do
  974. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  975. DEBREE.Material = FLOOR.Material
  976. DEBREE.Color = FLOOR.Color
  977. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  978. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  979. coroutine.resume(coroutine.create(function()
  980. Swait(15)
  981. DEBREE.Parent = workspace
  982. DEBREE.CanCollide = true
  983. Debris:AddItem(DEBREE, SWAIT)
  984. end))
  985. end
  986. end
  987. end
  988. end
  989. function CheckIntangible(Hit)
  990. local ProjectileNames = {
  991. "Water",
  992. "Arrow",
  993. "Projectile",
  994. "Effect",
  995. "Rail",
  996. "Lightning",
  997. "Bullet"
  998. }
  999. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  1000. return true
  1001. end
  1002. return false
  1003. end
  1004. Debris = game:GetService("Debris")
  1005. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1006. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  1007. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  1008. if RayHit and CheckIntangible(RayHit) then
  1009. if DelayIfHit then
  1010. wait()
  1011. end
  1012. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  1013. end
  1014. return RayHit, RayPos, RayNormal
  1015. end
  1016. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1017. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  1018. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  1019. if RayHit and CheckIntangible(RayHit) then
  1020. if DelayIfHit then
  1021. wait()
  1022. end
  1023. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  1024. end
  1025. return RayHit, RayPos, RayNormal
  1026. end
  1027. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1028. local DIRECTION = CF(StartPos, EndPos).lookVector
  1029. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1030. end
  1031. function turnto(position)
  1032. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  1033. end
  1034. BaseLightning = IT("Part")
  1035. BaseLightning.Anchored = true
  1036. BaseLightning.CanCollide = false
  1037. BaseLightning.Material = "Neon"
  1038. local LightningBolts = {}
  1039. function Zap(Table)
  1040. local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  1041. local Duration = Table.Duration or 2
  1042. local Offset = Table.Offset or 2
  1043. local Individualize = Table.Individualize or false
  1044. local MaxRange = Table.MaxRange or 200
  1045. local SegmentLength = Table.SegmentLength or 5
  1046. local Transparency = Table.Transparency or 0
  1047. local Ignore = Table.Ignore or {}
  1048. local SIZE = Table.SIZE or 0.3
  1049. if not (StartPos and TargetPos) or not Character then
  1050. return
  1051. end
  1052. local LightningModel = IT("Folder", Effects)
  1053. LightningModel.Name = "ZAPP"
  1054. for i, v in pairs({Character, LightningModel}) do
  1055. table.insert(Ignore, v)
  1056. end
  1057. local LastPos = StartPos
  1058. local Direction = CFrame.new(StartPos, TargetPos).lookVector
  1059. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  1060. local RayLength = (StartPos - RayPos).Magnitude
  1061. local Struck = false
  1062. local TotalSegments = math.ceil(RayLength / SegmentLength)
  1063. Direction = CFrame.new(StartPos, RayPos).lookVector
  1064. local LightningBolt = IT("Model", Effects)
  1065. LightningBolt.Name = "Lightning"
  1066. LastBolt = LightningBolt
  1067. Debris:AddItem(LightningBolt, Duration)
  1068. LightningBolt.Parent = LightningModel
  1069. for i = 1, TotalSegments do
  1070. if not Struck then
  1071. local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
  1072. local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
  1073. local SegmentVec = NewPos - LastPos
  1074. local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  1075. local RayVec = LastPos - RayPos
  1076. local LightningPart = BaseLightning:Clone()
  1077. LightningPart.BrickColor = BrickColor.new(Color)
  1078. LightningPart.Transparency = Transparency
  1079. LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  1080. LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
  1081. local CylinderMesh = IT("CylinderMesh", LightningPart)
  1082. local OrigCF = LightningPart.CFrame
  1083. LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  1084. LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
  1085. LightningPart.Parent = LightningBolt
  1086. LastPos = NewPos
  1087. end
  1088. end
  1089. return {
  1090. RayHit = RayHit,
  1091. RayPos = RayPos,
  1092. RayNormal = RayNormal,
  1093. LightningModel = LightningModel
  1094. }
  1095. end
  1096.  
  1097. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1098. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1099. end
  1100.  
  1101. function PositiveAngle(NUMBER)
  1102. if NUMBER >= 0 then
  1103. NUMBER = 0
  1104. end
  1105. return NUMBER
  1106. end
  1107.  
  1108. function NegativeAngle(NUMBER)
  1109. if NUMBER <= 0 then
  1110. NUMBER = 0
  1111. end
  1112. return NUMBER
  1113. end
  1114.  
  1115. function CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  1116. if FLOOR ~= nil then
  1117. for i = 1, AMOUNT do
  1118. local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Deep orange", "Debree", BLOCKSIZE, false)
  1119. DEBREE.Material = FLOOR.Material
  1120. DEBREE.Color = FLOOR.Color
  1121. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1122. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH))
  1123. coroutine.resume(coroutine.create(function()
  1124. Swait(15)
  1125. DEBREE.Parent = workspace
  1126. DEBREE.CanCollide = true
  1127. Debris:AddItem(DEBREE,SWAIT)
  1128. end))
  1129. end
  1130. end
  1131. end
  1132.  
  1133. function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  1134. if FLOOR ~= nil then
  1135. coroutine.resume(coroutine.create(function()
  1136. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Royal purple", "DebreeCenter", VT(0,0,0))
  1137. PART.CFrame = CF(POSITION)
  1138. for i = 1, 45 do
  1139. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Royal purple", "DebreePart", BLOCKSIZE)
  1140. RingPiece.Material = FLOOR.Material
  1141. RingPiece.Color = FLOOR.Color
  1142. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  1143. Debris:AddItem(RingPiece,SWAIT)
  1144. end
  1145. PART:remove()
  1146. end))
  1147. end
  1148. end
  1149.  
  1150. local DECAL = IT("Decal")
  1151. function MakeRing()
  1152. local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true)
  1153. local MSH = IT("BlockMesh", RING)
  1154. local TOP = DECAL:Clone()
  1155. local BOTTOM = DECAL:Clone()
  1156. TOP.Parent = RING
  1157. BOTTOM.Parent = RING
  1158. TOP.Face = "Top"
  1159. BOTTOM.Face = "Bottom"
  1160. TOP.Texture = "http://www.roblox.com/asset/?id=127817121"
  1161. BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121"
  1162. local function REMOVE()
  1163. coroutine.resume(coroutine.create(function()
  1164. local SIZE = MSH.Scale.X
  1165. for i = 1, 35 do
  1166. Swait()
  1167. MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60
  1168. TOP.Transparency = TOP.Transparency + 0.02857142857142857
  1169. BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857
  1170. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0))
  1171. end
  1172. RING:remove()
  1173. end))
  1174. end
  1175. return RING, MSH, REMOVE
  1176. end
  1177.  
  1178. function killnearest(position, range, maxstrength)
  1179. for i, v in ipairs(workspace:GetChildren()) do
  1180. do
  1181. local body = v:GetChildren()
  1182. for part = 1, #body do
  1183. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  1184. if v.ClassName == "Model" then
  1185. v:BreakJoints()
  1186. end
  1187. local bv = Instance.new("BodyVelocity")
  1188. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1189. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  1190. bv.Parent = body[part]
  1191. Debris:AddItem(bv, 0.2)
  1192. body[part].Parent = Effects
  1193. body[part].Material = "Neon"
  1194. body[part].Color = C3(0, 0, 0)
  1195. body[part].CanCollide = true
  1196. coroutine.resume(coroutine.create(function()
  1197. wait(5)
  1198. if body[part].Parent == Effects then
  1199. body[part]:remove()
  1200. end
  1201. end))
  1202. end
  1203. end
  1204. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  1205. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  1206. end
  1207. end
  1208. end
  1209. end
  1210.  
  1211. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1212. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1213. wave.Color = COLOR
  1214. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "647661410", "", SIZE, VT(0, 0, 0))
  1215. wave.CFrame = CFRAME
  1216. coroutine.resume(coroutine.create(function(PART)
  1217. for i = 1, WAIT do
  1218. Swait()
  1219. mesh.Scale = mesh.Scale + GROW
  1220. if DOESROT == true then
  1221. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1222. end
  1223. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1224. if wave.Transparency > 0.99 then
  1225. wave:remove()
  1226. end
  1227. end
  1228. end))
  1229. end
  1230.  
  1231. function MakeForm(PART, TYPE)
  1232. if TYPE == "Cyl" then
  1233. local MSH = IT("CylinderMesh", PART)
  1234. elseif TYPE == "Ball" then
  1235. local MSH = IT("SpecialMesh", PART)
  1236. MSH.MeshType = "Sphere"
  1237. elseif TYPE == "Wedge" then
  1238. local MSH = IT("SpecialMesh", PART)
  1239. MSH.MeshType = "Wedge"
  1240. end
  1241. end
  1242.  
  1243. function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, NAME, SIZE, ANCHOR)
  1244. local NEWPART = IT("Part")
  1245. NEWPART.formFactor = FORMFACTOR
  1246. NEWPART.Reflectance = REFLECTANCE
  1247. NEWPART.Transparency = TRANSPARENCY
  1248. NEWPART.CanCollide = false
  1249. NEWPART.Locked = true
  1250. NEWPART.Anchored = true
  1251. if ANCHOR == false then
  1252. NEWPART.Anchored = false
  1253. end
  1254. NEWPART.Name = NAME
  1255. NEWPART.Size = SIZE
  1256. NEWPART.Position = Torso.Position
  1257. NEWPART.Material = MATERIAL
  1258. NEWPART:BreakJoints()
  1259. NEWPART.Parent = PARENT
  1260. return NEWPART
  1261. end
  1262.  
  1263. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  1264. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1265. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1266. wave.CFrame = CFRAME
  1267. coroutine.resume(coroutine.create(function(PART)
  1268. for i = 1, WAIT do
  1269. Swait()
  1270. mesh.Scale = mesh.Scale + GROW
  1271. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  1272. if DOESROT == true then
  1273. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1274. end
  1275. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1276. if wave.Transparency > 0.99 then
  1277. wave:remove()
  1278. end
  1279. end
  1280. end))
  1281. end
  1282.  
  1283. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  1284. for _, c in pairs(PARENT:GetChildren()) do
  1285. if c.ClassName == "Model" then
  1286. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  1287. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  1288. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  1289. if DIST > (TORSO.Position - FROM).Magnitude then
  1290. table.insert(TABLE, c)
  1291. end
  1292. AddChildrenToTable(FROM, c, DIST, TABLE)
  1293. elseif c.ClassName == "Folder" then
  1294. AddChildrenToTable(FROM, c, DIST, TABLE)
  1295. end
  1296. end
  1297. end
  1298. end
  1299.  
  1300. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  1301. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1302. local mesh
  1303. if KIND == "Base" then
  1304. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  1305. elseif KIND == "Thin" then
  1306. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1307. elseif KIND == "Round" then
  1308. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1309. end
  1310. wave.CFrame = CFRAME
  1311. coroutine.resume(coroutine.create(function(PART)
  1312. for i = 1, WAIT do
  1313. Swait()
  1314. mesh.Scale = mesh.Scale + GROW / 10
  1315. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1316. if wave.Transparency > 0.99 then
  1317. wave:remove()
  1318. end
  1319. end
  1320. end))
  1321. end
  1322.  
  1323. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1324. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1325. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1326. wave.CFrame = CFRAME
  1327. coroutine.resume(coroutine.create(function(PART)
  1328. for i = 1, WAIT do
  1329. Swait()
  1330. mesh.Scale = mesh.Scale + GROW
  1331. wave.Transparency = wave.Transparency + 1 / WAIT
  1332. if wave.Transparency > 0.99 then
  1333. wave:remove()
  1334. end
  1335. end
  1336. end))
  1337. end
  1338.  
  1339. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  1340. local TORSO = Torso
  1341. local HUM = Humanoid
  1342. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  1343. coroutine.wrap(function()
  1344. VT = Vector3.new
  1345. MRANDOM = math.random
  1346. local A = TIME
  1347. local B = INTENSITY
  1348. local C = true
  1349. local HUMANOID = Humanoid
  1350. local TIMER = A or 35
  1351. local SHAKE = B or 5
  1352. local FADE = C or true
  1353. if HUMANOID then
  1354. local FADER = SHAKE / TIMER
  1355. for i = 1, TIMER do
  1356. wait()
  1357. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  1358. end
  1359. HUMANOID.CameraOffset = VT(0, 0, 0)
  1360. end
  1361.  
  1362. end)()
  1363. end
  1364. end
  1365.  
  1366. function Effect(data)
  1367. local FX = data.Effect or 'ResizeAndFade'
  1368. local Parent = data.Parent or Effects
  1369. local Color = data.Color or C3.N(0,0,0)
  1370. local Size = data.Size or V3.N(1,1,1)
  1371. local MoveDir = data.MoveDirection or nil
  1372. local MeshData = data.Mesh or nil
  1373. local SndData = data.Sound or nil
  1374. local Frames = data.Frames or 45
  1375. local Manual = data.Manual or nil
  1376. local Material = data.Material or nil
  1377. local CFra = data.CFrame or Torso.CFrame
  1378. local Settings = data.FXSettings or {}
  1379. local Snd,Prt,Msh;
  1380. local Shape = data.Shape or Enum.PartType.Block
  1381. coroutine.resume(coroutine.create(function()
  1382. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  1383. Prt = Manual
  1384. else
  1385. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  1386. Prt.Shape = Shape
  1387. end
  1388. if(typeof(MeshData) == 'table')then
  1389. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  1390. elseif(typeof(MeshData) == 'Instance')then
  1391. Msh = MeshData:Clone()
  1392. Msh.Parent = Prt
  1393. elseif(Shape == Enum.PartType.Block)then
  1394. Msh = Mesh(Prt,Enum.MeshType.Brick)
  1395. end
  1396. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  1397. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  1398. end
  1399. if(Snd)then
  1400. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  1401. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  1402. end
  1403. local MoveSpeed = nil;
  1404. if(MoveDir)then
  1405. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  1406. end
  1407. local Inc = M.RNG()-M.RNG()
  1408. local Thingie = 0
  1409. local Thingie2 = M.RNG(50,100)/100
  1410. if(FX ~= 'Arc')then
  1411. for i = 1, Frames do
  1412. if(swait and typeof(swait) == 'function')then
  1413. swait()
  1414. else
  1415. wait()
  1416. end
  1417. if(FX == 'ResizeAndFade')then
  1418. if(not Settings.EndSize)then
  1419. Settings.EndSize = V3.N(0,0,0)
  1420. end
  1421. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  1422. if(Settings.EndIsIncrement)then
  1423. Prt.Size = Prt.Size + Settings.EndSize
  1424. else
  1425. Prt.Size = Prt.Size - grow/Frames
  1426. end
  1427. Prt.Transparency = (i/Frames)
  1428. elseif(FX == 'Fade')then
  1429. Prt.Transparency = (i/Frames)
  1430. end
  1431.  
  1432. if(Settings.RandomizeCFrame)then
  1433. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  1434. end
  1435. if(MoveDir and MoveSpeed)then
  1436. local Orientation = Prt.Orientation
  1437. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  1438. Prt.Orientation = Orientation
  1439. end
  1440. end
  1441. Prt:destroy()
  1442. else
  1443. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  1444. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  1445. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1446. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  1447. assert(start ~= nil,"You need to specify a start point!")
  1448. assert(endP ~= nil,"You need to specify an end point!")
  1449. for i = 0, 1, Settings.Speed or 0.01 do
  1450. if(swait and typeof(swait) == 'function')then
  1451. swait()
  1452. else
  1453. wait()
  1454. end
  1455. if(Settings.Home)then
  1456. endP = Settings.Home.CFrame
  1457. end
  1458. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  1459. end
  1460. if(Settings.RemoveOnGoal)then
  1461. Prt:destroy()
  1462. end
  1463. end
  1464. end))
  1465. return Prt,Msh,Snd
  1466. end
  1467.  
  1468.  
  1469. BODY = {}
  1470. for _, c in pairs(Character:GetDescendants()) do
  1471. if c:IsA("BasePart") then
  1472. table.insert(BODY, {
  1473. c,
  1474. c.Parent,
  1475. c.Material,
  1476. c.Color
  1477. })
  1478. elseif c:IsA("JointInstance") then
  1479. table.insert(BODY, {
  1480. c,
  1481. c.Parent,
  1482. nil,
  1483. nil
  1484. })
  1485. end
  1486. end
  1487.  
  1488.  
  1489. BODY = {}
  1490. for _, c in pairs(Character:GetDescendants()) do
  1491. if c:IsA("BasePart") then
  1492. table.insert(BODY, {
  1493. c,
  1494. c.Parent,
  1495. c.Material,
  1496. c.Color
  1497. })
  1498. elseif c:IsA("JointInstance") then
  1499. table.insert(BODY, {
  1500. c,
  1501. c.Parent,
  1502. nil,
  1503. nil
  1504. })
  1505. end
  1506. end
  1507.  
  1508.  
  1509. function Swait(NUMBER)
  1510. if NUMBER == 0 or NUMBER == nil then
  1511. ArtificialHB.Event:wait()
  1512. else
  1513. for i = 1, NUMBER do
  1514. ArtificialHB.Event:wait()
  1515. end
  1516. end
  1517. end
  1518.  
  1519. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1520. local NEWMESH = IT(MESH)
  1521. if MESH == "SpecialMesh" then
  1522. NEWMESH.MeshType = MESHTYPE
  1523. if MESHID ~= "nil" and MESHID ~= "" then
  1524. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1525. end
  1526. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1527. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1528. end
  1529. end
  1530. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1531. NEWMESH.Scale = SCALE
  1532. NEWMESH.Parent = PARENT
  1533. return NEWMESH
  1534. end
  1535.  
  1536. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1537. local NEWPART = IT("Part")
  1538. NEWPART.formFactor = FORMFACTOR
  1539. NEWPART.Reflectance = REFLECTANCE
  1540. NEWPART.Transparency = TRANSPARENCY
  1541. NEWPART.CanCollide = false
  1542. NEWPART.Locked = true
  1543. NEWPART.Anchored = true
  1544. if ANCHOR == false then
  1545. NEWPART.Anchored = false
  1546. end
  1547. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1548. NEWPART.Name = NAME
  1549. NEWPART.Size = SIZE
  1550. NEWPART.Position = Torso.Position
  1551. NEWPART.Material = MATERIAL
  1552. NEWPART:BreakJoints()
  1553. NEWPART.Parent = PARENT
  1554. return NEWPART
  1555. end
  1556.  
  1557. local function weldBetween(a, b)
  1558. local weldd = Instance.new("ManualWeld")
  1559. weldd.Part0 = a
  1560. weldd.Part1 = b
  1561. weldd.C0 = CFrame.new()
  1562. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1563. weldd.Parent = a
  1564. return weldd
  1565. end
  1566.  
  1567.  
  1568. function QuaternionFromCFrame(cf)
  1569. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1570. local trace = m00 + m11 + m22
  1571. if trace > 0 then
  1572. local s = math.sqrt(1 + trace)
  1573. local recip = 0.5 / s
  1574. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1575. else
  1576. local i = 0
  1577. if m11 > m00 then
  1578. i = 1
  1579. end
  1580. if m22 > (i == 0 and m00 or m11) then
  1581. i = 2
  1582. end
  1583. if i == 0 then
  1584. local s = math.sqrt(m00 - m11 - m22 + 1)
  1585. local recip = 0.5 / s
  1586. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1587. elseif i == 1 then
  1588. local s = math.sqrt(m11 - m22 - m00 + 1)
  1589. local recip = 0.5 / s
  1590. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1591. elseif i == 2 then
  1592. local s = math.sqrt(m22 - m00 - m11 + 1)
  1593. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1594. end
  1595. end
  1596. end
  1597.  
  1598. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1599. local xs, ys, zs = x + x, y + y, z + z
  1600. local wx, wy, wz = w * xs, w * ys, w * zs
  1601. local xx = x * xs
  1602. local xy = x * ys
  1603. local xz = x * zs
  1604. local yy = y * ys
  1605. local yz = y * zs
  1606. local zz = z * zs
  1607. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  1608. end
  1609.  
  1610. function QuaternionSlerp(a, b, t)
  1611. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1612. local startInterp, finishInterp;
  1613. if cosTheta >= 0.0001 then
  1614. if (1 - cosTheta) > 0.0001 then
  1615. local theta = ACOS(cosTheta)
  1616. local invSinTheta = 1 / SIN(theta)
  1617. startInterp = SIN((1 - t) * theta) * invSinTheta
  1618. finishInterp = SIN(t * theta) * invSinTheta
  1619. else
  1620. startInterp = 1 - t
  1621. finishInterp = t
  1622. end
  1623. else
  1624. if (1 + cosTheta) > 0.0001 then
  1625. local theta = ACOS(-cosTheta)
  1626. local invSinTheta = 1 / SIN(theta)
  1627. startInterp = SIN((t - 1) * theta) * invSinTheta
  1628. finishInterp = SIN(t * theta) * invSinTheta
  1629. else
  1630. startInterp = t - 1
  1631. finishInterp = t
  1632. end
  1633. end
  1634. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  1635. end
  1636.  
  1637. function Clerp(a, b, t)
  1638. local qa = {QuaternionFromCFrame(a)}
  1639. local qb = {QuaternionFromCFrame(b)}
  1640. local ax, ay, az = a.x, a.y, a.z
  1641. local bx, by, bz = b.x, b.y, b.z
  1642. local _t = 1 - t
  1643. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1644. end
  1645.  
  1646. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1647. local frame = IT("Frame")
  1648. frame.BackgroundTransparency = TRANSPARENCY
  1649. frame.BorderSizePixel = BORDERSIZEPIXEL
  1650. frame.Position = POSITION
  1651. frame.Size = SIZE
  1652. frame.BackgroundColor3 = COLOR
  1653. frame.BorderColor3 = BORDERCOLOR
  1654. frame.Name = NAME
  1655. frame.Parent = PARENT
  1656. return frame
  1657. end
  1658.  
  1659. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1660. local label = IT("TextLabel")
  1661. label.BackgroundTransparency = 1
  1662. label.Size = UD2(1, 0, 1, 0)
  1663. label.Position = UD2(0, 0, 0, 0)
  1664. label.TextColor3 = TEXTCOLOR
  1665. label.TextStrokeTransparency = STROKETRANSPARENCY
  1666. label.TextTransparency = TRANSPARENCY
  1667. label.FontSize = TEXTFONTSIZE
  1668. label.Font = TEXTFONT
  1669. label.BorderSizePixel = BORDERSIZEPIXEL
  1670. label.TextScaled = false
  1671. label.Text = TEXT
  1672. label.Name = NAME
  1673. label.Parent = PARENT
  1674. return label
  1675. end
  1676.  
  1677. function NoOutlines(PART)
  1678. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1679. end
  1680.  
  1681. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1682. local NEWWELD = IT(TYPE)
  1683. NEWWELD.Part0 = PART0
  1684. NEWWELD.Part1 = PART1
  1685. NEWWELD.C0 = C0
  1686. NEWWELD.C1 = C1
  1687. NEWWELD.Parent = PARENT
  1688. return NEWWELD
  1689. end
  1690.  
  1691. local S = IT("Sound")
  1692. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1693. local NEWSOUND = nil
  1694. coroutine.resume(coroutine.create(function()
  1695. NEWSOUND = S:Clone()
  1696. NEWSOUND.Parent = PARENT
  1697. NEWSOUND.Volume = VOLUME
  1698. NEWSOUND.Pitch = PITCH
  1699. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1700. NEWSOUND:play()
  1701. if DOESLOOP == true then
  1702. NEWSOUND.Looped = true
  1703. else
  1704. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  1705. NEWSOUND:remove()
  1706. end
  1707. end))
  1708. return NEWSOUND
  1709. end
  1710.  
  1711. function CFrameFromTopBack(at, top, back)
  1712. local right = top:Cross(back)
  1713. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1714. end
  1715.  
  1716. --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
  1717. function Lightning(Table)
  1718. local Color = Table.Color or C3(1,1,1)
  1719. local StartPos = Table.Start or Torso.Position
  1720. local EndPos = Table.End or Mouse.Hit.p
  1721. local SegmentLength = Table.SegmentL or 2
  1722. local Thickness = Table.Thickness or 0.1
  1723. local Dissapear = Table.DoesFade or false
  1724. local Parent = Table.Ignore or Character
  1725. local MaxDist = Table.MaxDist or 400
  1726. local Branches = Table.Branches or false
  1727. local Thicken = Table.Thicken or false
  1728. local FadeTime = Table.FadeTime or 15
  1729. local FadeIn = Table.FadeIn or false
  1730. local Material = Table.Material or "Neon"
  1731. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  1732. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  1733. local LIGHTNINGMODEL = IT("Model",Effects)
  1734. LIGHTNINGMODEL.Name = "Lightning"
  1735. local LastBolt = nil
  1736. for E = 1, DISTANCE do
  1737. local ExtraSize = 0
  1738. if Thicken == true then
  1739. ExtraSize = (DISTANCE-E)/15
  1740. end
  1741. local TRANSPARENCY = 0
  1742. if FadeIn == true then
  1743. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  1744. if TRANSPARENCY < 0 then
  1745. TRANSPARENCY = 0
  1746. end
  1747. end
  1748. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  1749. PART.Color = Color
  1750. MakeForm(PART,"Cyl")
  1751. if LastBolt == nil then
  1752. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1753. else
  1754. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1755. end
  1756. LastBolt = PART
  1757. if Branches == true and E < (DISTANCE-5) then
  1758. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  1759. if CHOICE == 1 then
  1760. local LASTBRANCH = nil
  1761. for i = 1, MRANDOM(2,5) do
  1762. local ExtraSize2 = 0
  1763. if Thicken == true then
  1764. ExtraSize = ((DISTANCE-E)/25)/i
  1765. end
  1766. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  1767. PART.Color = Color
  1768. MakeForm(PART,"Cyl")
  1769. if LASTBRANCH == nil then
  1770. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1771. else
  1772. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1773. end
  1774. LASTBRANCH = PART
  1775. end
  1776. end
  1777. end
  1778. end
  1779. if Dissapear == true then
  1780. coroutine.resume(coroutine.create(function()
  1781. for i = 1, FadeTime do
  1782. Swait()
  1783. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  1784. if c.ClassName == "Part" then
  1785. c.Transparency = c.Transparency + (i/FadeTime)/10
  1786. end
  1787. end
  1788. end
  1789. LIGHTNINGMODEL:remove()
  1790. end))
  1791. elseif Dissapear == false then
  1792. Debris:AddItem(LIGHTNINGMODEL,0.1)
  1793. end
  1794. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  1795. end
  1796.  
  1797. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1798. local cR=255
  1799. local cG=0
  1800. local cB=0
  1801. local flg5=1 local omgidk=1
  1802. local add=15
  1803. if omgidk>10000 then omgidk=0 end
  1804. omgidk=omgidk+1
  1805. if cR>=255 then flg5=1 end
  1806. if cG>=255 then flg5=2 end
  1807. if cB>=255 then flg5=3 end
  1808. if flg5==1 then cR=cR-add cG=cG+add end
  1809. if flg5==2 then cG=cG-add cB=cB+add end
  1810. if flg5==3 then cB=cB-add cR=cR+add end
  1811. color=Color3.fromRGB(cR,cG,cB)
  1812. function WACKYEFFECT(Table)
  1813. local TYPE = (Table.EffectType or "Sphere")
  1814. local SIZE = (Table.Size or VT(6,6,6))
  1815. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  1816. local TRANSPARENCY = (Table.Transparency or 0)
  1817. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1818. local CFRAME = (Table.CFrame or Torso.CFrame)
  1819. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1820. local ROTATION1 = (Table.RotationX or 0)
  1821. local ROTATION2 = (Table.RotationY or 0)
  1822. local ROTATION3 = (Table.RotationZ or 0)
  1823. local MATERIAL = "Neon"
  1824. local COLOR = color
  1825. local TIME = (Table.Time or 45)
  1826. local SOUNDID = (Table.SoundID or nil)
  1827. local SOUNDPITCH = (Table.SoundPitch or nil)
  1828. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1829. coroutine.resume(coroutine.create(function()
  1830. local PLAYSSOUND = false
  1831. local SOUND = nil
  1832. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1833. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1834. PLAYSSOUND = true
  1835. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1836. end
  1837. EFFECT.Color = color
  1838. local MSH = nil
  1839. if TYPE == "Sphere" then
  1840. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1841. elseif TYPE == "Block" then
  1842. MSH = IT("BlockMesh",EFFECT)
  1843. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1844. elseif TYPE == "Wave" then
  1845. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1846. elseif TYPE == "Ring" then
  1847. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1848. elseif TYPE == "Slash" then
  1849. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1850. elseif TYPE == "Round Slash" then
  1851. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1852. elseif TYPE == "Swirl" then
  1853. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1854. elseif TYPE == "Skull" then
  1855. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1856. elseif TYPE == "Crystal" then
  1857. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1858. end
  1859. if MSH ~= nil then
  1860. local MOVESPEED = nil
  1861. if MOVEDIRECTION ~= nil then
  1862. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1863. end
  1864. local GROWTH = SIZE - ENDSIZE
  1865. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1866. if TYPE == "Block" then
  1867. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1868. else
  1869. EFFECT.CFrame = CFRAME
  1870. end
  1871. for LOOP = 1, TIME+1 do
  1872. Swait()
  1873. MSH.Scale = MSH.Scale - GROWTH/TIME
  1874. if TYPE == "Wave" then
  1875. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1876. end
  1877. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1878. if TYPE == "Block" then
  1879. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1880. else
  1881. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1882. end
  1883. if MOVEDIRECTION ~= nil then
  1884. local ORI = EFFECT.Orientation
  1885. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1886. EFFECT.Orientation = ORI
  1887. end
  1888. end
  1889. if PLAYSSOUND == false then
  1890. EFFECT:remove()
  1891. else
  1892. SOUND.Stopped:Connect(function()
  1893. EFFECT:remove()
  1894. end)
  1895. end
  1896. else
  1897. if PLAYSSOUND == false then
  1898. EFFECT:remove()
  1899. else
  1900. repeat Swait() until SOUND.Playing == false
  1901. EFFECT:remove()
  1902. end
  1903. end
  1904. end))
  1905. end
  1906. function MakeForm(PART,TYPE)
  1907. if TYPE == "Cyl" then
  1908. local MSH = IT("CylinderMesh",PART)
  1909. elseif TYPE == "Ball" then
  1910. local MSH = IT("SpecialMesh",PART)
  1911. MSH.MeshType = "Sphere"
  1912. elseif TYPE == "Wedge" then
  1913. local MSH = IT("SpecialMesh",PART)
  1914. MSH.MeshType = "Wedge"
  1915. end
  1916. end
  1917.  
  1918.  
  1919.  
  1920. Debris = game:GetService("Debris")
  1921.  
  1922. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1923. local DIRECTION = CF(StartPos,EndPos).lookVector
  1924. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1925. end
  1926.  
  1927. function turnto(position)
  1928. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1929. end
  1930.  
  1931. --//=================================\\
  1932. --|| WEAPON CREATION
  1933. --\\=================================//
  1934.  
  1935. Player=owner
  1936. Character=Player.Character
  1937. Mouse=Player:GetMouse()
  1938. m=Instance.new('Model',Character)
  1939. local function weldBetween(a, b)
  1940. local weldd = Instance.new("ManualWeld")
  1941. weldd.Part0 = a
  1942. weldd.Part1 = b
  1943. weldd.C0 = CFrame.new()
  1944. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1945. weldd.Parent = a
  1946. return weldd
  1947. end
  1948.  
  1949. it=Instance.new
  1950.  
  1951. function nooutline(part)
  1952. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1953. end
  1954.  
  1955. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1956. local fp=it("Part")
  1957. fp.formFactor=formfactor
  1958. fp.Parent=parent
  1959. fp.Reflectance=reflectance
  1960. fp.Transparency=transparency
  1961. fp.CanCollide=false
  1962. fp.Locked=true
  1963. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1964. fp.Name=name
  1965. fp.Size=size
  1966. fp.Position=Character.Torso.Position
  1967. nooutline(fp)
  1968. fp.Material=material
  1969. fp:BreakJoints()
  1970. return fp
  1971. end
  1972.  
  1973. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1974. local mesh=it(Mesh)
  1975. mesh.Parent=part
  1976. if Mesh=="SpecialMesh" then
  1977. mesh.MeshType=meshtype
  1978. mesh.MeshId=meshid
  1979. end
  1980. mesh.Offset=offset
  1981. mesh.Scale=scale
  1982. return mesh
  1983. end
  1984.  
  1985. function weld(parent,part0,part1,c0,c1)
  1986. local weld=it("Weld")
  1987. weld.Parent=parent
  1988. weld.Part0=part0
  1989. weld.Part1=part1
  1990. weld.C0=c0
  1991. weld.C1=c1
  1992. return weld
  1993. end
  1994.  
  1995. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Royal purple","Handle",Vector3.new(4, 1, 2))
  1996. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.61954498, 0.610899925, 1.40690994, -0.258819044, 0, -0.965925813, 0, 1, 0, 0.965925813, 0, -0.258819044))
  1997. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"rbxassetid://1553468234",Vector3.new(0, 0, 0),Vector3.new(0.0480000004, 0.0480000004, 0.0480000004))
  1998.  
  1999. Player=owner
  2000. Character=Player.Character
  2001. Mouse=Player:GetMouse()
  2002. m=Instance.new('Model',Character)
  2003. local function weldBetween(a, b)
  2004. local weldd = Instance.new("ManualWeld")
  2005. weldd.Part0 = a
  2006. weldd.Part1 = b
  2007. weldd.C0 = CFrame.new()
  2008. weldd.C1 = b.CFrame:inverse() * a.CFrame
  2009. weldd.Parent = a
  2010. return weldd
  2011. end
  2012.  
  2013. it=Instance.new
  2014.  
  2015. function nooutline(part)
  2016. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  2017. end
  2018.  
  2019. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  2020. local fp=it("Part")
  2021. fp.formFactor=formfactor
  2022. fp.Parent=parent
  2023. fp.Reflectance=reflectance
  2024. fp.Transparency=transparency
  2025. fp.CanCollide=false
  2026. fp.Locked=true
  2027. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  2028. fp.Name=name
  2029. fp.Size=size
  2030. fp.Position=Character.Torso.Position
  2031. nooutline(fp)
  2032. fp.Material=material
  2033. fp:BreakJoints()
  2034. return fp
  2035. end
  2036.  
  2037. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2038. local mesh=it(Mesh)
  2039. mesh.Parent=part
  2040. if Mesh=="SpecialMesh" then
  2041. mesh.MeshType=meshtype
  2042. mesh.MeshId=meshid
  2043. end
  2044. mesh.Offset=offset
  2045. mesh.Scale=scale
  2046. return mesh
  2047. end
  2048.  
  2049. function weld(parent,part0,part1,c0,c1)
  2050. local weld=it("Weld")
  2051. weld.Parent=parent
  2052. weld.Part0=part0
  2053. weld.Part1=part1
  2054. weld.C0=c0
  2055. weld.C1=c1
  2056. return weld
  2057. end
  2058.  
  2059.  
  2060.  
  2061.  
  2062. local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0))
  2063.  
  2064. for i = 1, 35 do
  2065. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  2066. FACE.Color = C3(0,0,0)
  2067. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  2068. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  2069. end
  2070. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Royal purple", "Eye", VT(0.6,0.1,1)/2,false)
  2071. MakeForm(Eye,"Ball")
  2072. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  2073. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  2074. MakeForm(Eye,"Ball")
  2075. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  2076. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Royal purple", "Eye", VT(0.1,1,1)/2,false)
  2077. MakeForm(Eye,"Ball")
  2078. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  2079. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  2080. MakeForm(Eye,"Ball")
  2081. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  2082.  
  2083. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.5,0.5,1.25),false)
  2084. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2085.  
  2086. local Particle = IT("ParticleEmitter",nil)
  2087. Particle.Enabled = false
  2088. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2089. Particle.LightEmission = 0.5
  2090. Particle.Rate = 150
  2091. Particle.ZOffset = 0.2
  2092. Particle.Rotation = NumberRange.new(-180, 180)
  2093. Particle.RotSpeed = NumberRange.new(-180, 180)
  2094. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2095. Particle.Color = ColorSequence.new(C3(0.35,0,1),C3(0.35,0,1),C3(0.35,0,1),C3(0.35,0,1),C3(0.35,0,1),C3(0.35,0,1),C3(0.35,0,1),C3(0.35,0,1))
  2096.  
  2097. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2098. function ParticleEmitter(Table)
  2099. local PRTCL = Particle:Clone()
  2100. local Speed = Table.Speed or 5
  2101. local Drag = Table.Drag or 0
  2102. local Size1 = Table.Size1 or 1
  2103. local Size2 = Table.Size2 or 5
  2104. local Lifetime1 = Table.Lifetime1 or 1
  2105. local Lifetime2 = Table.Lifetime2 or 1.5
  2106. local Parent = Table.Parent or Torso
  2107. local Emit = Table.Emit or 100
  2108. local Offset = Table.Offset or 360
  2109. local Acel = Table.Acel or VT(0,0,0)
  2110. local Enabled = Table.Enabled or false
  2111. PRTCL.Parent = Parent
  2112. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2113. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2114. PRTCL.Speed = NumberRange.new(Speed)
  2115. PRTCL.VelocitySpread = Offset
  2116. PRTCL.Drag = Drag
  2117. PRTCL.Acceleration = Acel
  2118. if Enabled == false then
  2119. PRTCL:Emit(Emit)
  2120. Debris:AddItem(PRTCL,Lifetime2)
  2121. else
  2122. PRTCL.Enabled = true
  2123. end
  2124. return PRTCL
  2125. end
  2126.  
  2127. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2128. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2129. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2130. MakeForm(Part,"Wedge")
  2131. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2132. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2133. MakeForm(Part,"Wedge")
  2134. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2135. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2136. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2137. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2138. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2139. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2140. MakeForm(Part,"Cyl")
  2141. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2142.  
  2143. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2144. MakeForm(Part,"Cyl")
  2145. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2146. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  2147. MakeForm(Part,"Ball")
  2148. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2149. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2150. MakeForm(Part,"Wedge")
  2151. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2152. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2153. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2154. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2155. MakeForm(Part,"Cyl")
  2156. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2157. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2158. MakeForm(Part,"Cyl")
  2159. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2160. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2161. MakeForm(Part,"Cyl")
  2162. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2163. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2164. MakeForm(Part,"Wedge")
  2165. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2166. local LASTPART = Handle
  2167.  
  2168.  
  2169. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  2170. MakeForm(Barrel,"Cyl")
  2171. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2172. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  2173. MakeForm(Part,"Cyl")
  2174. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  2175. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2176. MakeForm(Part,"Wedge")
  2177. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2178. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2179. MakeForm(Hole,"Cyl")
  2180. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  2181. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2182. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2183. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2184. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2185. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2186. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2187. coroutine.resume(coroutine.create(function()
  2188. while wait() do
  2189.  
  2190. end
  2191. end))
  2192.  
  2193. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  2194. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  2195.  
  2196. local cR=255
  2197. local cG=0
  2198. local cB=0
  2199. local flg5=1 local omgidk=1
  2200. local add=15
  2201.  
  2202. if omgidk>10000 then omgidk=0 end
  2203. omgidk=omgidk+1
  2204. if cR>=255 then flg5=1 end
  2205. if cG>=255 then flg5=2 end
  2206. if cB>=255 then flg5=3 end
  2207. if flg5==1 then cR=cR-add cG=cG+add end
  2208. if flg5==2 then cG=cG-add cB=cB+add end
  2209. if flg5==3 then cB=cB-add cR=cR+add end
  2210. color=Color3.fromRGB(cR,cG,cB)
  2211. for _, c in pairs(Weapon:GetDescendants()) do
  2212. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2213. c.Material = "Glass"
  2214. c.Color = C3(0,0,0)
  2215. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2216. c.Color = color
  2217. c.Material = "Neon"
  2218. end
  2219.  
  2220. end
  2221. Weapon.Parent = Character
  2222. for _, c in pairs(Weapon:GetChildren()) do
  2223. if c.ClassName == "Part" then
  2224. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2225. end
  2226. end
  2227.  
  2228. function swait(num)
  2229. if num == 0 or num == nil then
  2230. ArtificialHB.Event:wait()
  2231. else
  2232. for i = 0, num do
  2233. ArtificialHB.Event:wait()
  2234. end
  2235. end
  2236. end
  2237.  
  2238. function chatfunc(text)
  2239. local chat = coroutine.wrap(function()
  2240. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  2241. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2242. end
  2243. local Bill = Instance.new("BillboardGui",Character)
  2244. Bill.Size = UDim2.new(0,100,0,40)
  2245. Bill.StudsOffset = Vector3.new(0,3,0)
  2246. Bill.Adornee = Character.Head
  2247. Bill.Name = "TalkingBillBoard"
  2248. local Hehe = Instance.new("TextLabel",Bill)
  2249. Hehe.BackgroundTransparency = 1
  2250. Hehe.BorderSizePixel = 0
  2251. Hehe.Text = ""
  2252. Hehe.Font = "Bodoni"
  2253. Hehe.TextSize = 40
  2254. Hehe.TextStrokeTransparency = 0
  2255. Hehe.Size = UDim2.new(1,0,0.5,0)
  2256. coroutine.resume(coroutine.create(function()
  2257. while Hehe ~= nil do
  2258. swait()
  2259. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  2260. Hehe.Rotation = math.random(-5,5)
  2261. Hehe.TextColor3 = Color3.new(0,255,0)
  2262. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  2263. end
  2264. end))
  2265. for i = 1,string.len(text),1 do
  2266. swait()
  2267. Hehe.Text = string.sub(text,1,i)
  2268. end
  2269. swait(90)--Re[math.random(1, 93)]
  2270. for i = 0, 1, .025 do
  2271. swait()
  2272. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  2273. Hehe.TextStrokeTransparency = i
  2274. Hehe.TextTransparency = i
  2275. end
  2276. Bill:Destroy()
  2277. end)
  2278. chat()
  2279. end
  2280.  
  2281. function onChatted(msg)
  2282. chatfunc(msg)
  2283. end
  2284.  
  2285. Player.Chatted:connect(onChatted)
  2286.  
  2287. local BODY = {}
  2288. for _, c in pairs(Character:GetDescendants()) do
  2289. if c:IsA("BasePart") and c.Name ~= "Handle" then
  2290. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  2291. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2292. end
  2293. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  2294. elseif c:IsA("JointInstance") then
  2295. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  2296. end
  2297. end
  2298.  
  2299. function refit()
  2300. Character.Parent = workspace
  2301. for e = 1, #BODY do
  2302. if BODY[e] ~= nil then
  2303. local STUFF = BODY[e]
  2304. local PART = STUFF[1]
  2305. local PARENT = STUFF[2]
  2306. local MATERIAL = STUFF[3]
  2307. local COLOR = STUFF[4]
  2308. local TRANSPARENCY = STUFF[5]
  2309. --local SIZE = STUFF[6]
  2310. local NAME = STUFF[7]
  2311.  
  2312. end
  2313. end
  2314. end
  2315.  
  2316. local SKILLTEXTCOLOR = C3(0.35,0,1)
  2317. local SKILLFONT = "Code"
  2318. local SKILLTEXTSIZE = 7
  2319.  
  2320. Humanoid.Died:connect(function()
  2321. refit()
  2322. end)
  2323.  
  2324. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  2325. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  2326. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  2327. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  2328. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  2329. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.3, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  2330. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.3, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  2331. local SKILL8FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 8 Frame")
  2332. local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.4, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame")
  2333. local SKILL10FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.4, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 10 Frame")
  2334. local SKILL11FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.5, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 11 Frame")
  2335. local SKILL12FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.5, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 12 Frame")
  2336. local SKILL13FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.6, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 13 Frame")
  2337. local SKILL14FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.6, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 14 Frame")
  2338. local SKILL15FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.2, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 15 Frame")
  2339.  
  2340. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Burning Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  2341. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[V] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  2342. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Burning Barrage", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  2343. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[C] Burning Beam", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  2344. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[B] removed: Lag and Glitch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  2345. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[P] removed: Glitch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
  2346. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 7")
  2347. local SKILL8TEXT = CreateLabel(SKILL8FRAME, "[G] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 8")
  2348. local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[E] removed: Lag", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 9")
  2349. local SKILL10TEXT = CreateLabel(SKILL10FRAME, "[Y] Overflowing Burn", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 10")
  2350. local SKILL11TEXT = CreateLabel(SKILL11FRAME, "[J] Supernova", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 11")
  2351. local SKILL12TEXT = CreateLabel(SKILL12FRAME, "[U] removed: Lag", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 12")
  2352. local SKILL13TEXT = CreateLabel(SKILL13FRAME, "[N] Hell Bat", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 13")
  2353. local SKILL14TEXT = CreateLabel(SKILL14FRAME, "[Q] removed: Lag", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 14")
  2354. -- the pistols one looks dumb and i hate it, that is the real reason.
  2355. --ctrl + f "q" then remove the -'s to reactivate it
  2356. local SKILL15TEXT = CreateLabel(SKILL15FRAME, "[H] Petrify", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 15")
  2357.  
  2358. function printbye(Name)
  2359. local MESSAGES = {"Fade, "}
  2360. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2361. end
  2362.  
  2363. workspace.ChildAdded:connect(function(instance)
  2364. for BANISH = 1, #TOBANISH do
  2365. if TOBANISH[BANISH] ~= nil then
  2366. if instance.Name == TOBANISH[BANISH] then
  2367. coroutine.resume(coroutine.create(function()
  2368. printbye(instance.Name)
  2369. instance:ClearAllChildren()
  2370. Debris:AddItem(instance,0.0005)
  2371. end))
  2372. end
  2373. end
  2374. end
  2375. end)
  2376.  
  2377. --//=================================\\
  2378. --|| DAMAGING
  2379. --\\=================================//
  2380.  
  2381. function Banish(Foe)
  2382. if Foe then
  2383. coroutine.resume(coroutine.create(function()
  2384. --if game.Players:FindFirstChild(Foe.Name) then
  2385. table.insert(TOBANISH,Foe.Name)
  2386. printbye(Foe.Name)
  2387. --end
  2388. Foe.Archivable = true
  2389. local CLONE = Foe:Clone()
  2390. Foe:Destroy()
  2391. CLONE.Parent = Effects
  2392. CLONE:BreakJoints()
  2393. local MATERIALS = {"Glass","Neon"}
  2394. for _, c in pairs(CLONE:GetDescendants()) do
  2395. if c:IsA("BasePart") then
  2396. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  2397. CreateSound(340722848, c, 10, 1, false)
  2398. end
  2399. c.Anchored = true
  2400. c.Transparency = c.Transparency + 0.2
  2401. c.Material = MATERIALS[MRANDOM(1,2)]
  2402. c.Color = C3(0,255,0)
  2403. if c.ClassName == "MeshPart" then
  2404. c.TextureID = ""
  2405. end
  2406. if c:FindFirstChildOfClass("SpecialMesh") then
  2407. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2408. end
  2409. if c:FindFirstChildOfClass("Decal") then
  2410. c:FindFirstChildOfClass("Decal"):remove()
  2411. end
  2412. c.Name = "Banished"
  2413. c.CanCollide = false
  2414. else
  2415. c:remove()
  2416. end
  2417. end
  2418. local A = false
  2419. for i = 1, 35 do
  2420. if A == false then
  2421. A = true
  2422. elseif A == true then
  2423. A = false
  2424. end
  2425. for _, c in pairs(CLONE:GetDescendants()) do
  2426. if c:IsA("BasePart") then
  2427. c.Anchored = true
  2428. c.Material = MATERIALS[MRANDOM(1,2)]
  2429. c.Transparency = c.Transparency + 0.8/35
  2430. if A == false then
  2431. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2432. elseif A == true then
  2433. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2434. end
  2435. end
  2436. end
  2437. Swait()
  2438. end
  2439. CLONE:remove()
  2440. end))
  2441. end
  2442. end
  2443.  
  2444. function ApplyAoE(POSITION,RANGE,ISBANISH)
  2445. local CHILDREN = workspace:GetDescendants()
  2446. for index, CHILD in pairs(CHILDREN) do
  2447. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2448. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2449. if HUM then
  2450. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2451. if TORSO then
  2452. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2453. if ISBANISH == true then
  2454. Banish(CHILD)
  2455. else
  2456. if ISBANISH == "Gravity" then
  2457. HUM.PlatformStand = true
  2458. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2459. local grav = Instance.new("BodyPosition",TORSO)
  2460. grav.D = 15
  2461. grav.P = 20000
  2462. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2463. grav.position = TORSO.Position
  2464. grav.Name = "V3BanishForce"..Player.Name
  2465. else
  2466. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2467. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2468. end
  2469. else
  2470. HUM.PlatformStand = false
  2471. end
  2472. end
  2473. elseif ISBANISH == "Gravity" then
  2474. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2475. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2476. HUM.PlatformStand = false
  2477. end
  2478. end
  2479. end
  2480. end
  2481. end
  2482. end
  2483. end
  2484.  
  2485. UnBanishTaunts = {"You Are Released.", "If You Do The Same Thing Twice You Shall Not Be Given Mercy.", "Your Actions Have Been Forgiven.", "I shall set you free.", "I have let you go.", "Don't do that again.", "As A Person, i have the emotion of forgiving.", "Its Only Fair To Show You Mercy."}
  2486.  
  2487. DeathTaunt = {"You Will Know Pain."}
  2488. --//=================================\\
  2489. --|| ATTACK FUNCTIONS AND STUFF
  2490. --\\=================================//
  2491. local LAUGHS = {"907329532", "907329893", "865772398", "907333294"}
  2492.  
  2493. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  2494. MakeForm(RightHole,"Cyl")
  2495. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  2496. MakeForm(LeftHole,"Cyl")
  2497.  
  2498. function getbloody(victim,amount)
  2499. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  2500. PART.CFrame = victim.CFrame
  2501. local HITPLAYERSOUNDS = {"356551938","264486467"}
  2502. Debris:AddItem(PART,5)
  2503. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2504. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2505. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2506. local prtcl = asd:Clone()
  2507. prtcl.Parent = PART
  2508. prtcl:Emit(amount*10)
  2509. end
  2510.  
  2511. GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Royal purple", "Point blank", VT(0, 0, 0), false)
  2512.  
  2513. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  2514. if DoesCourontine == false then
  2515. local Direction = CF(Part.Position, ToLocation)
  2516. local Distance = (Part.Position - ToLocation).magnitude
  2517. for i = 1, AmountOfTime do
  2518. Swait()
  2519. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  2520. Direction = Part.CFrame
  2521. end
  2522. Part:remove()
  2523. elseif DoesCourontine == true then
  2524. coroutine.resume(coroutine.create(function()
  2525. local Direction = CF(Part.Position, ToLocation)
  2526. local Distance = (Part.Position - ToLocation).magnitude
  2527. for i = 1, AmountOfTime do
  2528. Swait()
  2529. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  2530. Direction = Part.CFrame
  2531. end
  2532. Part:remove()
  2533. end))
  2534. end
  2535. end
  2536.  
  2537.  
  2538.  
  2539. function OP()
  2540. ATTACK = true
  2541. Rooted = false
  2542. for i = 0, 1, 0.1 / Animation_Speed do
  2543. Swait()
  2544. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2545. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2546. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2547. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2548. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2549. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2550. end
  2551. Rooted = true
  2552. local GYRO = IT("BodyGyro", RootPart)
  2553. GYRO.D = 100
  2554. GYRO.P = 2000
  2555. GYRO.MaxTorque = VT(0, 4000000, 0)
  2556. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2557. for i = 1, 15 do
  2558. for i = 1, 15 do
  2559. Swait()
  2560. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2561. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2562. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2563. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2564. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2565. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2566. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2567. end
  2568. coroutine.resume(coroutine.create(function()
  2569. local EYE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Eyeball", VT(0, 0, 0))
  2570. CreateSound("814168787", EYE, 10, 1)
  2571. EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15))
  2572. local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "468351345", "468351348", VT(0, 0, 0), VT(0, 0, 0))
  2573. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  2574. local ATTACKI = false
  2575. local TORS
  2576. for i = 1, 10 do
  2577. Swait()
  2578. M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3
  2579. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  2580. end
  2581. for i = 1, 100 do
  2582. Swait()
  2583. for _, c in pairs(workspace:GetChildren()) do
  2584. if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  2585. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  2586. if 0 < HUMANOID.Health then
  2587. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  2588. if (TORSO.Position - EYE.Position).Magnitude < 35 then
  2589. ATTACKI = true
  2590. TORS = TORSO
  2591. end
  2592. end
  2593. end
  2594. end
  2595. if ATTACKI == true then
  2596. break
  2597. end
  2598. EYE.CFrame = EYE.CFrame * CF(0, 0, -1)
  2599. end
  2600. if ATTACKI == false then
  2601. for i = 1, 10 do
  2602. Swait()
  2603. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  2604. EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5)
  2605. end
  2606. else
  2607. if TORS ~= nil then
  2608. CreateSound("213603013", EYE, 10, 2)
  2609. local DIST = (TORS.Position - EYE.Position).Magnitude
  2610. MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  2611. MagicSphere(VT(1, 1, DIST), 15, CF(EYE.Position, TORS.Position) * CF(0, 0, -DIST / 2), SKILLTEXTCOLOR, VT(0, 0, 0))
  2612. MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), SKILLTEXTCOLOR, VT(1, 1, 1))
  2613. EYE.CFrame = CF(EYE.Position, TORS.Position)
  2614. TORS.Parent:BreakJoints()
  2615. Swait(35)
  2616. end
  2617. for i = 1, 10 do
  2618. Swait()
  2619. M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3
  2620. end
  2621. end
  2622. EYE:remove()
  2623. end))
  2624. end
  2625. GYRO:remove()
  2626. ATTACK = false
  2627. Rooted = false
  2628. end
  2629.  
  2630.  
  2631. function Nuke()
  2632. ATTACK = true
  2633. Rooted = true
  2634. local CHARGE = false
  2635. local BLASTS = {468991944, 468991990}
  2636. coroutine.resume(coroutine.create(function()
  2637. repeat
  2638. Swait()
  2639. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  2640. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  2641. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  2642. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  2643. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2644. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2645. until CHARGE == true
  2646. for i = 0, 0.4, 0.1 / Animation_Speed do
  2647. Swait()
  2648.  
  2649. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2650. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2651. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2652. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2653. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2654. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2655. end
  2656. coroutine.resume(coroutine.create(function()
  2657. local POS = RootPart.Position
  2658. wait(0.2)
  2659. for i = 1, 5 do
  2660.  
  2661. end
  2662. wait(1)
  2663. SHAKECAM(POS, 9999999999, 25, 25)
  2664. ApplyAoE(POS, 450, true)
  2665.  
  2666. for i = 1, 20 do
  2667.  
  2668. end
  2669. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2670. for i = 1, 5 do
  2671. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  2672.  
  2673. end
  2674. end))
  2675. for i = 0, 1, 0.1 / Animation_Speed do
  2676. Swait()
  2677. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  2678. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2679. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2680. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2681. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2682. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2683. end
  2684. ATTACK = false
  2685. Rooted = false
  2686. end))
  2687. for i = 1, 30 do
  2688. wait(0.01)
  2689. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  2690. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  2691. if HITFLOOR then
  2692. ApplyAoE(HITPOS, 65, true)
  2693. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  2694.  
  2695. for e = 1, 3 do
  2696.  
  2697. end
  2698. end
  2699. end
  2700. CHARGE = true
  2701. end
  2702.  
  2703. function SpectralBanishing()
  2704. ATTACK = true
  2705. Rooted = false
  2706. chatfunc("If you desire to be a ghost...", 20)
  2707. for i = 0, 5, 0.1 / Animation_Speed do
  2708. Swait()
  2709. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
  2710. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
  2711. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2712. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  2713. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  2714. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  2715. end
  2716. chatfunc("Then move on to the afterlife!", 6)
  2717. CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10)
  2718. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Royal purple", VT(0.1, 0.1, 0.1))
  2719. MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Royal purple", VT(0.05, 0.05, 0.05))
  2720. local RayHit, Way = CastProperRay(GunPoint.Position, CF(GunPoint.Position) * CF(0, 1500, 0).p, 1500, Character)
  2721. local distance = (GunPoint.Position - Way).magnitude
  2722. for i = 1, 5 do
  2723. local laser = Instance.new("Part", Effects)
  2724. laser.Transparency = 0
  2725. laser.CanCollide = false
  2726. laser.Anchored = true
  2727. laser.Color = C3(0.35,0,1)
  2728. laser.Material = "Neon"
  2729. laser.formFactor = Enum.FormFactor.Custom
  2730. laser.Size = Vector3.new(0.15, 0.15, distance)
  2731. laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2)
  2732. table.insert(Effects2, {
  2733. laser,
  2734. "Disappear",
  2735. 0.1,
  2736. 1,
  2737. 1,
  2738. 1,
  2739. 2
  2740. })
  2741. end
  2742. coroutine.resume(coroutine.create(function()
  2743. Swait(15)
  2744. local FILTER = IT("ColorCorrectionEffect", game.Lighting)
  2745. for i = 1, 25 do
  2746. Swait()
  2747. FILTER.TintColor = C3(1, 1 - i / 50, 1 - i / 50)
  2748. end
  2749. local GAME = game.Players:GetChildren()
  2750. for PLAYER = 1, #GAME do
  2751. do
  2752. local PLAY = GAME[PLAYER]
  2753. if PLAY.Character ~= nil and PLAY.Character.Parent ~= workspace then
  2754. PLAY.Character.Parent = nil
  2755. coroutine.resume(coroutine.create(function()
  2756. if PLAY.Character:FindFirstChild("HumanoidRootPart") then
  2757. PLAY.Character.Parent = workspace
  2758. local Value = IT("BoolValue", Delete)
  2759. Value.Name = PLAY.Name
  2760. end
  2761. end))
  2762. end
  2763. end
  2764. end
  2765. for i = 1, 25 do
  2766. Swait()
  2767. FILTER.TintColor = C3(1, 0.4980392156862745 + i / 50, 0.4980392156862745 + i / 50)
  2768. end
  2769. end))
  2770. for i = 0, 2, 0.1 / Animation_Speed do
  2771. Swait()
  2772. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed)
  2773. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed)
  2774. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(195), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2775. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  2776. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  2777. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  2778. end
  2779. ATTACK = false
  2780. Rooted = false
  2781. end
  2782.  
  2783.  
  2784.  
  2785. function EMOTE()
  2786. ATTACK = true
  2787. Rooted = false
  2788. local LOOP = 0
  2789. for i=0, 0.1, 0.1 / Animation_Speed do
  2790. Swait()
  2791. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2792. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2793. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2794. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2795. end
  2796. for i=0, 3, 0.1 / Animation_Speed do
  2797. Swait()
  2798. LOOP = LOOP + 1
  2799. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2800. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2801. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2802. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2803. end
  2804. for i=0, 0.1, 0.1 / Animation_Speed do
  2805. Swait()
  2806. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2807. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2808. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2809. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2810. end
  2811. ATTACK = false
  2812. Rooted = false
  2813. end
  2814.  
  2815. function Kill(Char)
  2816. local NewCharacter = IT("Model",Effects)
  2817. NewCharacter.Name = "Ow im ded ;-;"
  2818. for _, c in pairs(Char:GetDescendants()) do
  2819. if c:IsA("BasePart") and c.Transparency == 0 then
  2820. if c.Parent == Char then
  2821. getbloody(c,5)
  2822. end
  2823. c:BreakJoints()
  2824. c.Material = "Glass"
  2825. c.Color = C3(0.5,0,0)
  2826. c.CanCollide = true
  2827. c.Transparency = 0.3
  2828. if c:FindFirstChildOfClass("SpecialMesh") then
  2829. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2830. end
  2831. if c.Name == "Head" then
  2832. c:ClearAllChildren()
  2833. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  2834. end
  2835. if c.ClassName == "MeshPart" then
  2836. c.TextureID = ""
  2837. end
  2838. if c:FindFirstChildOfClass("BodyPosition") then
  2839. c:FindFirstChildOfClass("BodyPosition"):remove()
  2840. end
  2841. if c:FindFirstChildOfClass("ParticleEmitter") then
  2842. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2843. end
  2844. c.Parent = NewCharacter
  2845. c.Name = "DeadPart"
  2846. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  2847. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  2848. end
  2849. end
  2850. Char:remove()
  2851. Debris:AddItem(NewCharacter,5)
  2852. end
  2853.  
  2854. function Taunt()
  2855. ATTACK = true
  2856. Rooted = true
  2857. local TAUNT = CreateSound(907333294, Torso, 7, 1, false)
  2858. repeat
  2859. Swait()
  2860. TAUNT.Parent = Torso
  2861. TAUNT.Playing = true
  2862. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2863. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  2864. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2865. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2866. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2867. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2868. until TAUNT.TimePosition >= 1.25
  2869. for i=0, 1.6, 0.1 / Animation_Speed do
  2870. Swait()
  2871. TAUNT.Parent = Torso
  2872. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  2873. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  2874. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2875. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2876. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2877. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2878. end
  2879. ATTACK = false
  2880. Rooted = false
  2881. end
  2882.  
  2883. function oofBeam()
  2884. ATTACK = true
  2885. Rooted = false
  2886. VALUE2 = true
  2887. local GYRO = IT("BodyGyro", RootPart)
  2888. GYRO.D = 20
  2889. GYRO.P = 4000
  2890. GYRO.MaxTorque = VT(0, 40000, 0)
  2891. local POS = RootPart.Position + VT(0, 25, 0)
  2892. CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10)
  2893. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2894. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2895. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2896. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2897. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2898. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2899. coroutine.resume(coroutine.create(function()
  2900. local E = 0
  2901. repeat
  2902. E = E + 5
  2903. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2904. Swait()
  2905. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2906. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2907. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2908. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2909. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2910. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2911. until ATTACK == false
  2912. GYRO:remove()
  2913. end))
  2914. for i = 1, 50 do
  2915. Swait()
  2916. end
  2917. for i = 1, 25 do
  2918. Swait()
  2919.  
  2920. end
  2921. local LOOP = 0
  2922. local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Royal purple"), "Beamo", VT(0,0,0))
  2923. MakeForm(BEAMO, "Ball")
  2924. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Really red"), "Beam", VT(0, 0, 0), true)
  2925. MakeForm(BEAM, "Cyl")
  2926. repeat
  2927. local DISTANCE = (Eon.Position - Mouse.Hit.p).Magnitude
  2928. if DISTANCE < 2000 then
  2929. BEAMO.Size = VT(3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4))
  2930. BEAMO.CFrame = CF(Eon.Position)
  2931. BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4))
  2932. BEAM.CFrame = CF(Eon.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  2933. ApplyAoE(Mouse.Hit.p, 14,true,false)
  2934.  
  2935.  
  2936. Swait()
  2937. LOOP = LOOP + 1
  2938. end
  2939. until LOOP >= 35 or DISTANCE >= 2000
  2940. coroutine.resume(coroutine.create(function()
  2941. for i = 1, 15 do
  2942. Swait()
  2943. BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1)
  2944. BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1)
  2945. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  2946. BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667
  2947. end
  2948. BEAM:remove()
  2949. BEAMO:remove()
  2950. end))
  2951. ATTACK = false
  2952. Rooted = false
  2953. VALUE2 = false
  2954. end
  2955.  
  2956.  
  2957.  
  2958. function Banisher_Bullet()
  2959. ATTACK = true
  2960. Rooted = false
  2961. for i=0, 0.05, 0.1 / Animation_Speed do
  2962. Swait()
  2963. turnto(Mouse.Hit.p)
  2964. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2965. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2966. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2967. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2968. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2969. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2970. end
  2971.  
  2972. for i=0, 0.05, 0.1 / Animation_Speed do
  2973. Swait()
  2974. turnto(Mouse.Hit.p)
  2975. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2976. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2977. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2978. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2979. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2980. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2981. end
  2982. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2983.  
  2984. if HIT ~= nil then
  2985. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2986. Banish(HIT.Parent)
  2987. end
  2988. end
  2989.  
  2990. for i=0, 0.05, 0.1 / Animation_Speed do
  2991. Swait()
  2992. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2993. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2994. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2995. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2996. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2997. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2998. end
  2999.  
  3000. ATTACK = false
  3001. Rooted = false
  3002. end
  3003. function Execute()
  3004. ATTACK = true
  3005. Rooted = false
  3006. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  3007. Part.Color = C3(0,0,0)
  3008. MakeForm(Part,"Wedge")
  3009. Part.CanCollide = true
  3010. CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
  3011. for i=0, 1, 0.1 / Animation_Speed do
  3012. Swait()
  3013. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  3014. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  3015. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3016. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3017. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3018. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3019. end
  3020. CreateSound(541909867, RightBarrel, 7, 1, false)
  3021. local TOCH = Part.Touched:Connect(function(hit)
  3022. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  3023. Banish(hit.Parent)
  3024. end
  3025. end)
  3026. for i=0, 0.35, 0.1 / Animation_Speed do
  3027. Swait()
  3028. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  3029. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  3030. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3031. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3032. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3033. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3034. end
  3035. TOCH:disconnect()
  3036. for i=0, 0.35, 0.1 / Animation_Speed do
  3037. Swait()
  3038. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  3039. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed)
  3040. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3041. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3042. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3043. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3044. end
  3045. Part:remove()
  3046. ATTACK = false
  3047. Rooted = false
  3048. end
  3049.  
  3050. function Teleport()
  3051. ATTACK = true
  3052. Rooted = false
  3053. for i=0, 0.5, 0.1 / Animation_Speed do
  3054. Swait()
  3055. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3056. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  3057. end
  3058. for e = 1, #BODY do
  3059. if BODY[e] ~= nil then
  3060. local STUFF = BODY[e]
  3061. local PART = STUFF[1]
  3062. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  3063. local PRT = PART:Clone()
  3064. PRT.Anchored = true
  3065. PRT.CanCollide = false
  3066. PRT.Material = "Neon"
  3067. PRT.Color = C3(255,100,255)
  3068. PRT.Name = "WarpEffect"
  3069. PRT.Parent = Effects
  3070. PRT.CFrame = PART.CFrame
  3071. PRT:BreakJoints()
  3072. if PRT:FindFirstChildOfClass("Sound") then
  3073. PRT:FindFirstChildOfClass("Sound"):remove()
  3074. end
  3075. if PRT:FindFirstChildOfClass("Decal") then
  3076. PRT:FindFirstChildOfClass("Decal"):remove()
  3077. end
  3078. coroutine.resume(coroutine.create(function()
  3079. for i = 1, 100 do
  3080. Swait()
  3081. PRT.Transparency = PRT.Transparency + 1/100
  3082. end
  3083. PRT:remove()
  3084. end))
  3085. end
  3086. end
  3087. end
  3088. CreateSound(217767125, Torso, 10, 1)
  3089. local POS = RootPart.Orientation
  3090. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  3091. RootPart.Orientation = POS
  3092. RootJoint.Parent = RootPart
  3093. for i=0, 0.5, 0.1 / Animation_Speed do
  3094. Swait()
  3095. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3096. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  3097. end
  3098. for i=0, 0.1, 0.1 / Animation_Speed do
  3099. Swait()
  3100. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  3101. end
  3102. ATTACK = false
  3103. Rooted = false
  3104. end
  3105.  
  3106. function BanishmentBeam()
  3107. ATTACK = true
  3108. Rooted = false
  3109. local GYRO = IT("BodyGyro",RootPart)
  3110. GYRO.D = 100
  3111. GYRO.P = 2000
  3112. GYRO.MaxTorque = VT(0,4000000,0)
  3113. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3114. CreateSound("93724183", RightArm, 5, 1, false)
  3115. for i=1, 35 do
  3116. Swait()
  3117.  
  3118. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3119. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  3120. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  3121. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3122. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3123. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3124. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3125. end
  3126. local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Royal purple", "Lazer", VT(0,0,0))
  3127. local LOOP = CreateSound("415700134", RightArm, 5, 1, false)
  3128. local TOCH = BEAM.Touched:Connect(function(hit)
  3129. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  3130. Kill(hit)
  3131. end
  3132. end)
  3133. local I = 0
  3134. repeat
  3135. Swait()
  3136. I = I + 1
  3137. if I <= 10 then
  3138. BEAM.Transparency = BEAM.Transparency - 0.1
  3139. end
  3140. local STARTPOS = RightArm.CFrame*CF(0,-4,0).p
  3141. local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  3142. local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  3143. BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5))
  3144. BEAM.Size = VT(2,2,DISTANCE)
  3145.  
  3146. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3147. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  3148. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  3149. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3150. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3151. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3152. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3153. if ENDHIT ~= nil then
  3154. if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  3155. Banish(ENDHIT)
  3156. end
  3157. end
  3158. until LOOP.Playing == false
  3159. GYRO:remove()
  3160. BEAM:remove()
  3161. ATTACK = false
  3162. Rooted = false
  3163. end
  3164. function Bat_Wave()
  3165. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  3166. if HITFLOOR ~= nil then
  3167. ATTACK = true
  3168. Rooted = true
  3169. do
  3170. local BAT = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "BatBody", VT(3, 3, 3))
  3171. BAT.Color = C3(0, 0, 0)
  3172. MakeForm(BAT, "Ball")
  3173. CreateSound("1177785010", BAT, 10, 1)
  3174. for i = 1, 25 do
  3175. Swait()
  3176. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  3177. BAT.Transparency = BAT.Transparency - 0.04
  3178. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3179. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3180. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3181. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3182. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3183. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3184. end
  3185. local GYRO = IT("BodyGyro", RootPart)
  3186. GYRO.D = 100
  3187. GYRO.P = 2000
  3188. GYRO.MaxTorque = VT(0, 4000000, 0)
  3189. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  3190. local WING = CreatePart(3, BAT, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2))
  3191. WING.Color = C3(1, 0, 0)
  3192. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  3193. local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 0, 0))
  3194. for i = 1, 15 do
  3195. Swait()
  3196. BAT.CFrame = RootPart.CFrame * CF(0, 5, 0)
  3197. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  3198. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  3199. WING.Transparency = WING.Transparency - 0.06666666666666667
  3200. MSH.Scale = MSH.Scale + VT(0.15, 0.1, 0)
  3201. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3202. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3203. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3204. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3205. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3206. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3207. end
  3208. coroutine.resume(coroutine.create(function()
  3209. local LOOP = 0
  3210. for i = 1, 70 do
  3211. LOOP = LOOP + 1
  3212. Swait()
  3213. if i < 18 then
  3214. MSH.Scale = MSH.Scale + VT(0, 0, 0.3)
  3215. MSH.Offset = MSH.Offset + VT(0, 0, 0.3)
  3216. end
  3217. BAT.CFrame = BAT.CFrame * CF(0, 0, -2)
  3218. WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8)
  3219. if LOOP == 15 then
  3220. LOOP = 0
  3221. killnearest(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z), 25, 25)
  3222. CreateSound("201858087", BAT, 10, 1)
  3223. CreateRing(VT(0, 0, 0.1), false, 0, 45, CF(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z)) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(0, 0, 0), VT(0.2, 0.2, 0))
  3224. end
  3225. end
  3226. killnearest(BAT.Position, 35, 250)
  3227. MagicSphere(VT(0, 0, 0), 45, CF(BAT.Position), C3(0, 0, 0), VT(2, 2, 2))
  3228. CreateRing(VT(0, 0, 0.1), false, 0, 45, CF(BAT.Position) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(0, 0, 0), VT(0.2, 0.2, 0))
  3229. CreateSound("178452217", BAT, 10, 1)
  3230. WING:remove()
  3231. BAT.Transparency = 1
  3232. Debris:AddItem(BAT, 5)
  3233. end))
  3234. GYRO:remove()
  3235. ATTACK = false
  3236. Rooted = false
  3237. end
  3238. end
  3239. end
  3240. function Deathbound()
  3241. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  3242. ATTACK = true
  3243. Rooted = true
  3244. for i=0, 1, 0.1 / Animation_Speed do
  3245. Swait()
  3246. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3247. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3248. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3249. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3250. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3251. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3252. end
  3253. local DONE = false
  3254. local GATE = nil
  3255. local GATESPIN = true
  3256. coroutine.resume(coroutine.create(function()
  3257. repeat
  3258. Swait()
  3259. if GATE ~= nil then
  3260. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  3261. end
  3262. until GATESPIN == false
  3263. end))
  3264. coroutine.resume(coroutine.create(function()
  3265. repeat
  3266. Swait()
  3267. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3268. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3269. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3270. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3271. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3272. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3273. until DONE == true
  3274. Swait(50)
  3275. for i = 1, 35 do
  3276. Swait(4)
  3277. local FIRED = false
  3278. local CHILDREN = workspace:GetDescendants()
  3279. for index, CHILD in pairs(CHILDREN) do
  3280. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3281. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3282. if HUM then
  3283. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3284. if TORSO then
  3285. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  3286. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  3287. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  3288.  
  3289.  
  3290. Banish(CHILD)
  3291. FIRED = true
  3292. break
  3293. end
  3294. end
  3295. end
  3296. end
  3297. end
  3298. if FIRED == false then
  3299. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  3300.  
  3301.  
  3302. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  3303. if HITBOD ~= nil then
  3304. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  3305. Kill(HITBOD.Parent)
  3306. end
  3307. end
  3308. end
  3309. end
  3310. for i = 1, 45 do
  3311. Swait()
  3312. GATE.Size = GATE.Size - VT(3,0,3)
  3313. end
  3314. GATESPIN = false
  3315. GATE:remove()
  3316. end))
  3317. Swait(15)
  3318. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  3319. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  3320. local DECAL = IT("Decal",GATE)
  3321. DECAL.Texture = "http://www.roblox.com/asset/?id=647661410"
  3322. DECAL.Face = "Top"
  3323. GATE.CFrame = CF(HITPOS)
  3324. CreateSound(160772554, GATE, 7, 1.3, false)
  3325. for i = 1, 45 do
  3326. Swait()
  3327. GATE.Size = GATE.Size + VT(3,0,3)
  3328. end
  3329. CreateSound(213603013, RightHole, 7, 1, false)
  3330. CreateSound(213603013, LeftHole, 7, 1, false)
  3331.  
  3332. ATTACK = false
  3333. Rooted = false
  3334. DONE = true
  3335. end
  3336.  
  3337.  
  3338. function Imperfect_Command()
  3339. ATTACK = true
  3340. Rooted = true
  3341. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3342. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3343. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  3344. if TORSO then
  3345. local GYRO = IT("BodyGyro", RootPart)
  3346. GYRO.D = 750
  3347. GYRO.P = 2000
  3348. GYRO.MaxTorque = VT(0, 40000, 0)
  3349. CreateSound("907330103", Torso, 10, 1)
  3350. for i = 0, 1.6, 0.1 / Animation_Speed do
  3351. Swait()
  3352.  
  3353. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  3354. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
  3355. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
  3356. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3357. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3358. if ANIM == "Idle" then
  3359. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3360. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3361. elseif ANIM == "Walk" then
  3362. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3363. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3364. elseif ANIM == "Jump" or ANIM == "Fall" then
  3365. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3366. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3367. end
  3368. end
  3369. GYRO:remove()
  3370. for i = 1, 15 do
  3371.  
  3372. end
  3373. local bv = Instance.new("BodyVelocity")
  3374. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  3375. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  3376. bv.Parent = TORSO
  3377. Debris:AddItem(bv, 0.05)
  3378. CreateSound("1222405264", TORSO, 10, 1)
  3379. Petrify(HUM.Parent)
  3380. for i = 0, 0.5, 0.1 / Animation_Speed do
  3381. Swait()
  3382.  
  3383. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  3384. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  3385. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed)
  3386. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3387. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3388. if ANIM == "Idle" then
  3389. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3390. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3391. elseif ANIM == "Walk" then
  3392. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3393. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3394. elseif ANIM == "Jump" or ANIM == "Fall" then
  3395. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3396. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3397. end
  3398. end
  3399. end
  3400. end
  3401. ATTACK = false
  3402. Rooted = false
  3403. end
  3404.  
  3405. --//=================================\\
  3406. --|| ASSIGN THINGS TO KEYS
  3407. --\\=================================//
  3408.  
  3409. function MouseDown(Mouse)
  3410. if ATTACK == false then
  3411. EMOTE()
  3412. end
  3413. end
  3414.  
  3415. function MouseUp(Mouse)
  3416. HOLD = false
  3417. end
  3418.  
  3419. Mouse.KeyUp:connect(function(Key)
  3420. KEYHOLD = true
  3421. if Key == "z" and ATTACK == false then
  3422. Banisher_Bullet()
  3423.  
  3424.  
  3425.  
  3426.  
  3427. elseif Key == "c" and ATTACK == false then
  3428. BanishmentBeam()
  3429.  
  3430.  
  3431. elseif Key == "v" and ATTACK == false then
  3432. Teleport()
  3433.  
  3434.  
  3435. elseif Key == "t" and ATTACK == false then
  3436. Taunt()
  3437. chatfunc(DeathTaunt[MRANDOM(1,#DeathTaunt)])
  3438.  
  3439.  
  3440.  
  3441.  
  3442. elseif Key == "n" and ATTACK == false then
  3443. Bat_Wave()
  3444.  
  3445.  
  3446. --elseif Key == "q" and ATTACK == false then
  3447. --OP()
  3448.  
  3449.  
  3450.  
  3451. elseif Key == "j" and ATTACK == false then
  3452. Nuke()
  3453.  
  3454.  
  3455. elseif Key == "y" and ATTACK == false then
  3456. oofBeam()
  3457.  
  3458.  
  3459.  
  3460.  
  3461.  
  3462.  
  3463.  
  3464.  
  3465. elseif Key == "g" and ATTACK == false then
  3466. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  3467. TOBANISH = {}
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473. elseif Key == "x" and ATTACK == false then
  3474. Deathbound()
  3475.  
  3476.  
  3477.  
  3478. elseif Key == "h" and ATTACK == false then
  3479. Imperfect_Command()
  3480. end
  3481. end)
  3482.  
  3483. function KeyUp(Key)
  3484. KEYHOLD = false
  3485.  
  3486. Mouse.Button1Down:connect(function(NEWKEY)
  3487. MouseDown(NEWKEY)
  3488. end)
  3489. Mouse.Button1Up:connect(function(NEWKEY)
  3490. MouseUp(NEWKEY)
  3491. end)
  3492. Mouse.KeyDown:connect(function(NEWKEY)
  3493. KeyDown(NEWKEY)
  3494. end)
  3495. Mouse.KeyUp:connect(function(NEWKEY)
  3496. KeyUp(NEWKEY)
  3497. end)
  3498. end
  3499.  
  3500. --//=================================\\
  3501. --\\=================================//
  3502.  
  3503.  
  3504. function unanchor()
  3505. if UNANCHOR == true then
  3506. g = Character:GetChildren()
  3507. for i = 1, #g do
  3508. if g[i].ClassName == "Part" then
  3509. g[i].Anchored = false
  3510. end
  3511. end
  3512. end
  3513. end
  3514.  
  3515.  
  3516. --//=================================\\
  3517. --|| WRAP THE WHOLE SCRIPT UP
  3518. --\\=================================//
  3519.  
  3520. Humanoid.Changed:connect(function(Jump)
  3521. if Jump == "Jump" and (Disable_Jump == true) then
  3522. Humanoid.Jump = false
  3523. end
  3524. end)
  3525.  
  3526. local CONNECT = nil
  3527.  
  3528. while true do
  3529. Swait()
  3530. ANIMATE.Parent = nil
  3531. if Character:FindFirstChildOfClass("Humanoid") == nil then
  3532. Humanoid = IT("Humanoid",Character)
  3533. end
  3534. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3535. v:Stop();
  3536. end
  3537. SINE = SINE + CHANGE
  3538. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3539. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3540. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3541. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26)
  3542. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3543. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / 3)
  3544. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / 3)
  3545. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3)
  3546. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3)
  3547. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3548. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  3549. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  3550. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  3551. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3)
  3552. end
  3553. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3554. ANIM = "Jump"
  3555. if ATTACK == false then
  3556. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3557. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3558. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3559. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3560. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3561. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3562. end
  3563. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3564. ANIM = "Fall"
  3565. if ATTACK == false then
  3566. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3567. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3568. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3569. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3570. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3571. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3572. end
  3573. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3574. ANIM = "Idle"
  3575. if ATTACK == false then
  3576. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 1 / Animation_Speed)
  3577. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  3578. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3579. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3580. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3581. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3582. end
  3583. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3584. ANIM = "Walk"
  3585. if ATTACK == false then
  3586. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 3)
  3587. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / 3)
  3588. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / 3)
  3589. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / 3)
  3590. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / 3)
  3591. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / 3)
  3592. end
  3593. end
  3594. unanchor()
  3595. Humanoid.MaxHealth = "inf"
  3596. Humanoid.Health = "inf"
  3597. if Rooted == false then
  3598. Disable_Jump = false
  3599. Humanoid.WalkSpeed = Speed
  3600. elseif Rooted == true then
  3601. Disable_Jump = true
  3602. Humanoid.WalkSpeed = 0
  3603. end
  3604. refit()
  3605. sick.Parent = Torso
  3606. sick:resume()
  3607. sick.Volume = 5
  3608. sick.Pitch = 1
  3609. sick.SoundId = "rbxassetid://0"
  3610. sick.Name = "BanishV3Music"
  3611. end
  3612.  
  3613. --//=================================\\
  3614. --\\=================================//
  3615.  
  3616.  
  3617.  
  3618.  
  3619.  
  3620. --//====================================================\\--
  3621. --|| END OF SCRIPT
  3622. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement