Advertisement
kostik228

lol

Nov 27th, 2018
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 107.31 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  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 = owner
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = owner
  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. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. ----[EDIT By Drago_TH]----
  87.  
  88.  
  89.  
  90.  
  91.  
  92. Player = owner
  93. Character=Player.Character
  94. PlayerGui=Player.PlayerGui
  95. Backpack=Player.Backpack
  96. Torso=Character.Torso
  97. Head=Character.Head
  98. Humanoid=Character.Humanoid
  99. LeftArm=Character["Left Arm"]
  100. LeftLeg=Character["Left Leg"]
  101. RightArm=Character["Right Arm"]
  102. RightLeg=Character["Right Leg"]
  103. LS=Torso["Left Shoulder"]
  104. LH=Torso["Left Hip"]
  105. RS=Torso["Right Shoulder"]
  106. RH=Torso["Right Hip"]
  107. Face = Head.face
  108. Neck=Torso.Neck
  109. it=Instance.new
  110. attacktype=1
  111. attacktype2=1
  112. vt=Vector3.new
  113. it=Instance.new
  114. cf=CFrame.new
  115. cn=CFrame.new
  116. euler=CFrame.fromEulerAnglesXYZ
  117. angles=CFrame.Angles
  118. combo = 0
  119. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  120. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  121. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  122. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  123. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  124. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  125. RootPart=Character.HumanoidRootPart
  126. RootJoint=RootPart.RootJoint
  127. RootCF=euler(-1.57,0,3.14)
  128. attack = false
  129. attackdebounce = false
  130. trispeed=.2
  131. attackmode='none'
  132. local idle=0
  133. local Anim="Idle"
  134. stance = false
  135. local ff = 2
  136. noleg = false
  137. evadecooldown = false
  138. Humanoid.Animator.Parent = nil
  139. local equip = false
  140. local Effects = {}
  141. attackspeed = 0.14
  142. df = false
  143. Swing = 1
  144. local sine = 0
  145. local change = 1
  146. local val = 0
  147. local speed = 0
  148. local rs = game:GetService("RunService").RenderStepped
  149. cam = workspace.CurrentCamera
  150. local RbxUtility = LoadLibrary("RbxUtility")
  151. local Create = RbxUtility.Create
  152. deb = game:GetService("Debris")
  153. Face:Destroy()
  154.  
  155. --game.Lighting.TimeOfDay = 210
  156.  
  157. local eye1 = Instance.new("Part")
  158. eye1.Parent = Character
  159. eye1.Size = Vector3.new(0.2,0.2,0.2)
  160. eye1.Archivable = true
  161. eye1.Transparency = 0
  162. eye1.CanCollide = false
  163. eye1.Material = "Neon"
  164. eye1.Color = Color3.fromRGB(48,0,211)
  165. local eye1mesh = Instance.new("SpecialMesh",eye1)
  166. eye1mesh.MeshType = "Sphere"
  167. eye1mesh.Scale = Vector3.new(0.66,1.22,0.66)
  168. ko2 = eye1mesh.Scale
  169. local eye1weld = Instance.new("Weld")
  170. eye1weld.Parent = eye1
  171. eye1weld.Part0 = Head
  172. eye1weld.Part1 = eye1
  173. eye1weld.C0 = CFrame.new(.13,.19,-.55)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  174. eye1weld.Part0 = Head
  175.  
  176.  
  177.  
  178.  
  179. local eye2 = Instance.new("Part")
  180. eye2.Parent = Character
  181. eye2.Size = Vector3.new(0.2,0.2,0.2)
  182. eye2.Archivable = true
  183. eye2.Transparency = 0
  184. eye2.CanCollide = false
  185. eye2.Material = "Neon"
  186. eye2.Color = Color3.fromRGB(48,0,211)
  187. local eye2mesh = Instance.new("SpecialMesh",eye2)
  188. eye2mesh.MeshType = "Sphere"
  189. eye2mesh.Scale = Vector3.new(0.66,1.22,0.66)
  190. local eye2weld = Instance.new("Weld")
  191. eye2weld.Parent = eye2
  192. eye2weld.Part0 = Head
  193. eye2weld.Part1 = eye2
  194. eye2weld.C0 = CFrame.new(-.13,.19,-.55)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  195. eye2weld.Part0 = Head
  196.  
  197.  
  198.  
  199.  
  200. music = Instance.new("Sound",PlayerGui)
  201. music.Volume = 1
  202. music.TimePosition = 0
  203. music.Pitch = 1
  204. music.SoundId = "rbxassetid://779838221"
  205. music.Looped = true
  206. music:Play()
  207.  
  208. --------WEAPON C
  209.  
  210. m=Instance.new('Model',Character)
  211. it=Instance.new
  212. function nooutline(part)
  213. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  214. end
  215. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  216. local fp=it("Part")
  217. fp.formFactor=formfactor
  218. fp.Parent=parent
  219. fp.Reflectance=reflectance
  220. fp.Transparency=transparency
  221. fp.CanCollide=false
  222. fp.Locked=true
  223. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  224. fp.Name=name
  225. fp.Size=size
  226. fp.Position=Character.Torso.Position
  227. nooutline(fp)
  228. fp.Material=material
  229. fp:BreakJoints()
  230. return fp
  231. end
  232. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  233. local mesh=it(Mesh)
  234. mesh.Parent=part
  235. if Mesh=="SpecialMesh" then
  236. mesh.MeshType=meshtype
  237. mesh.MeshId=meshid
  238. end
  239. mesh.Offset=offset
  240. mesh.Scale=scale
  241. return mesh
  242. end
  243. function weld(parent,part0,part1,c0,c1)
  244. local weld=it("Weld")
  245. weld.Parent=parent
  246. weld.Part0=part0
  247. weld.Part1=part1
  248. weld.C0=c0
  249. weld.C1=c1
  250. return weld
  251. end
  252.  
  253. Handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(4, 1, 2))
  254. 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))
  255. Emitter=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  256. 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))
  257. Emitter1=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter1",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  258. 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))
  259. Emitter10=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter10",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  260. 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))
  261. Emitter11=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter11",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  262. 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))
  263. Emitter12=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter12",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  264. 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))
  265. Emitter13=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter13",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  266. 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))
  267. Emitter14=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter14",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  268. 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))
  269. Emitter15=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter15",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  270. 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))
  271. Emitter16=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter16",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  272. 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))
  273. Emitter17=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter17",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  274. 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))
  275. Emitter18=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter18",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  276. 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))
  277. Emitter19=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter19",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  278. 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))
  279. Emitter2=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  280. 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))
  281. Emitter20=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter20",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  282. 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))
  283. Emitter21=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter21",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  284. 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))
  285. Emitter22=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter22",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  286. 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))
  287. Emitter23=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter23",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  288. 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))
  289. Emitter24=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter24",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  290. 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))
  291. Emitter25=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter25",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  292. 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))
  293. Emitter26=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter26",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  294. 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))
  295. Emitter27=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter27",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  296. 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))
  297. Emitter28=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter28",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  298. 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))
  299. Emitter29=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter29",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  300. 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))
  301. Emitter3=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter3",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  302. 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))
  303. Emitter30=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter30",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  304. 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))
  305. Emitter31=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter31",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  306. 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))
  307. Emitter32=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter32",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  308. 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))
  309. Emitter33=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter33",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  310. 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))
  311. Emitter34=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter34",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  312. 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))
  313. Emitter35=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter35",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  314. 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))
  315. Emitter36=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter36",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  316. 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))
  317. Emitter37=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter37",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  318. 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))
  319. Emitter38=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter38",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  320. 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))
  321. Emitter39=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter39",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  322. 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))
  323. Emitter4=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter4",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  324. 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))
  325. Emitter5=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter5",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  326. 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))
  327. Emitter6=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter6",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  328. 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))
  329. Emitter7=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter7",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  330. 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))
  331. Emitter8=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter8",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  332. 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))
  333. Emitter9=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter9",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  334. 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))
  335.  
  336.  
  337. local particleemitter = Instance.new("ParticleEmitter", Emitter)
  338.  
  339. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  340. particleemitter.LightEmission = 1
  341. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  342. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  343. particleemitter.Lifetime = NumberRange.new(2, 2)
  344. particleemitter.Rate = 200
  345. local particleemitter = Instance.new("ParticleEmitter", Emitter1)
  346.  
  347. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  348. particleemitter.LightEmission = 1
  349. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  350. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  351. particleemitter.Lifetime = NumberRange.new(2, 2)
  352. particleemitter.Rate = 200
  353. local particleemitter = Instance.new("ParticleEmitter", Emitter2)
  354.  
  355. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  356. particleemitter.LightEmission = 1
  357. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  358. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  359. particleemitter.Lifetime = NumberRange.new(2, 2)
  360. particleemitter.Rate = 200
  361. local particleemitter = Instance.new("ParticleEmitter", Emitter3)
  362.  
  363. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  364. particleemitter.LightEmission = 1
  365. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  366. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  367. particleemitter.Lifetime = NumberRange.new(2, 2)
  368. particleemitter.Rate = 200
  369. local particleemitter = Instance.new("ParticleEmitter", Emitter4)
  370.  
  371. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  372. particleemitter.LightEmission = 1
  373. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  374. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  375. particleemitter.Lifetime = NumberRange.new(2, 2)
  376. particleemitter.Rate = 200
  377. local particleemitter = Instance.new("ParticleEmitter", Emitter5)
  378.  
  379. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  380. particleemitter.LightEmission = 1
  381. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  382. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  383. particleemitter.Lifetime = NumberRange.new(2, 2)
  384. particleemitter.Rate = 200
  385. local particleemitter = Instance.new("ParticleEmitter", Emitter6)
  386.  
  387. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  388. particleemitter.LightEmission = 1
  389. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  390. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  391. particleemitter.Lifetime = NumberRange.new(2, 2)
  392. particleemitter.Rate = 200
  393. local particleemitter = Instance.new("ParticleEmitter", Emitter7)
  394.  
  395. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  396. particleemitter.LightEmission = 1
  397. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  398. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  399. particleemitter.Lifetime = NumberRange.new(2, 2)
  400. particleemitter.Rate = 200
  401. local particleemitter = Instance.new("ParticleEmitter", Emitter8)
  402.  
  403. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  404. particleemitter.LightEmission = 1
  405. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  406. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  407. particleemitter.Lifetime = NumberRange.new(2, 2)
  408. particleemitter.Rate = 200
  409. local particleemitter = Instance.new("ParticleEmitter", Emitter9)
  410.  
  411. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  412. particleemitter.LightEmission = 1
  413. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  414. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  415. particleemitter.Lifetime = NumberRange.new(2, 2)
  416. particleemitter.Rate = 200
  417. local particleemitter = Instance.new("ParticleEmitter", Emitter10)
  418.  
  419. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  420. particleemitter.LightEmission = 1
  421. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  422. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  423. particleemitter.Lifetime = NumberRange.new(2, 2)
  424. particleemitter.Rate = 200
  425. local particleemitter = Instance.new("ParticleEmitter", Emitter11)
  426.  
  427. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  428. particleemitter.LightEmission = 1
  429. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  430. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  431. particleemitter.Lifetime = NumberRange.new(2, 2)
  432. particleemitter.Rate = 200
  433. local particleemitter = Instance.new("ParticleEmitter", Emitter12)
  434.  
  435. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  436. particleemitter.LightEmission = 1
  437. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  438. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  439. particleemitter.Lifetime = NumberRange.new(2, 2)
  440. particleemitter.Rate = 200
  441. local particleemitter = Instance.new("ParticleEmitter", Emitter13)
  442.  
  443. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  444. particleemitter.LightEmission = 1
  445. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  446. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  447. particleemitter.Lifetime = NumberRange.new(2, 2)
  448. particleemitter.Rate = 200
  449. local particleemitter = Instance.new("ParticleEmitter", Emitter14)
  450.  
  451. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  452. particleemitter.LightEmission = 1
  453. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  454. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  455. particleemitter.Lifetime = NumberRange.new(2, 2)
  456. particleemitter.Rate = 200
  457. local particleemitter = Instance.new("ParticleEmitter", Emitter15)
  458.  
  459. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  460. particleemitter.LightEmission = 1
  461. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  462. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  463. particleemitter.Lifetime = NumberRange.new(2, 2)
  464. particleemitter.Rate = 200
  465. local particleemitter = Instance.new("ParticleEmitter", Emitter16)
  466.  
  467. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  468. particleemitter.LightEmission = 1
  469. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  470. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  471. particleemitter.Lifetime = NumberRange.new(2, 2)
  472. particleemitter.Rate = 200
  473. local particleemitter = Instance.new("ParticleEmitter", Emitter17)
  474.  
  475. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  476. particleemitter.LightEmission = 1
  477. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  478. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  479. particleemitter.Lifetime = NumberRange.new(2, 2)
  480. particleemitter.Rate = 200
  481. local particleemitter = Instance.new("ParticleEmitter", Emitter18)
  482.  
  483. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  484. particleemitter.LightEmission = 1
  485. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  486. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  487. particleemitter.Lifetime = NumberRange.new(2, 2)
  488. particleemitter.Rate = 200
  489. local particleemitter = Instance.new("ParticleEmitter", Emitter19)
  490.  
  491. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  492. particleemitter.LightEmission = 1
  493. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  494. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  495. particleemitter.Lifetime = NumberRange.new(2, 2)
  496. particleemitter.Rate = 200
  497. local particleemitter = Instance.new("ParticleEmitter", Emitter20)
  498.  
  499. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  500. particleemitter.LightEmission = 1
  501. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  502. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  503. particleemitter.Lifetime = NumberRange.new(2, 2)
  504. particleemitter.Rate = 200
  505. local particleemitter = Instance.new("ParticleEmitter", Emitter21)
  506.  
  507. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  508. particleemitter.LightEmission = 1
  509. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  510. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  511. particleemitter.Lifetime = NumberRange.new(2, 2)
  512. particleemitter.Rate = 200
  513. local particleemitter = Instance.new("ParticleEmitter", Emitter22)
  514.  
  515. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  516. particleemitter.LightEmission = 1
  517. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  518. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  519. particleemitter.Lifetime = NumberRange.new(2, 2)
  520. particleemitter.Rate = 200
  521. local particleemitter = Instance.new("ParticleEmitter", Emitter23)
  522.  
  523. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  524. particleemitter.LightEmission = 1
  525. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  526. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  527. particleemitter.Lifetime = NumberRange.new(2, 2)
  528. particleemitter.Rate = 200
  529. local particleemitter = Instance.new("ParticleEmitter", Emitter24)
  530.  
  531. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  532. particleemitter.LightEmission = 1
  533. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  534. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  535. particleemitter.Lifetime = NumberRange.new(2, 2)
  536. particleemitter.Rate = 200
  537. local particleemitter = Instance.new("ParticleEmitter", Emitter25)
  538.  
  539. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  540. particleemitter.LightEmission = 1
  541. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  542. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  543. particleemitter.Lifetime = NumberRange.new(2, 2)
  544. particleemitter.Rate = 200
  545. local particleemitter = Instance.new("ParticleEmitter", Emitter26)
  546.  
  547. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  548. particleemitter.LightEmission = 1
  549. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  550. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  551. particleemitter.Lifetime = NumberRange.new(2, 2)
  552. particleemitter.Rate = 200
  553. local particleemitter = Instance.new("ParticleEmitter", Emitter27)
  554.  
  555. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  556. particleemitter.LightEmission = 1
  557. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  558. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  559. particleemitter.Lifetime = NumberRange.new(2, 2)
  560. particleemitter.Rate = 200
  561. local particleemitter = Instance.new("ParticleEmitter", Emitter28)
  562.  
  563. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  564. particleemitter.LightEmission = 1
  565. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  566. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  567. particleemitter.Lifetime = NumberRange.new(2, 2)
  568. particleemitter.Rate = 200
  569. local particleemitter = Instance.new("ParticleEmitter", Emitter29)
  570.  
  571. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  572. particleemitter.LightEmission = 1
  573. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  574. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  575. particleemitter.Lifetime = NumberRange.new(2, 2)
  576. particleemitter.Rate = 200
  577. local particleemitter = Instance.new("ParticleEmitter", Emitter30)
  578.  
  579. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  580. particleemitter.LightEmission = 1
  581. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  582. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  583. particleemitter.Lifetime = NumberRange.new(2, 2)
  584. particleemitter.Rate = 200
  585. local particleemitter = Instance.new("ParticleEmitter", Emitter31)
  586.  
  587. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  588. particleemitter.LightEmission = 1
  589. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  590. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  591. particleemitter.Lifetime = NumberRange.new(2, 2)
  592. particleemitter.Rate = 200
  593. local particleemitter = Instance.new("ParticleEmitter", Emitter32)
  594.  
  595. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  596. particleemitter.LightEmission = 1
  597. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  598. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  599. particleemitter.Lifetime = NumberRange.new(2, 2)
  600. particleemitter.Rate = 200
  601. local particleemitter = Instance.new("ParticleEmitter", Emitter33)
  602.  
  603. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  604. particleemitter.LightEmission = 1
  605. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  606. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  607. particleemitter.Lifetime = NumberRange.new(2, 2)
  608. particleemitter.Rate = 200
  609. local particleemitter = Instance.new("ParticleEmitter", Emitter34)
  610.  
  611. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  612. particleemitter.LightEmission = 1
  613. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  614. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  615. particleemitter.Lifetime = NumberRange.new(2, 2)
  616. particleemitter.Rate = 200
  617. local particleemitter = Instance.new("ParticleEmitter", Emitter35)
  618.  
  619. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  620. particleemitter.LightEmission = 1
  621. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  622. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  623. particleemitter.Lifetime = NumberRange.new(2, 2)
  624. particleemitter.Rate = 200
  625. local particleemitter = Instance.new("ParticleEmitter", Emitter36)
  626.  
  627. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  628. particleemitter.LightEmission = 1
  629. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  630. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  631. particleemitter.Lifetime = NumberRange.new(2, 2)
  632. particleemitter.Rate = 200
  633. local particleemitter = Instance.new("ParticleEmitter", Emitter37)
  634.  
  635. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  636. particleemitter.LightEmission = 1
  637. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  638. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  639. particleemitter.Lifetime = NumberRange.new(2, 2)
  640. particleemitter.Rate = 200
  641. local particleemitter = Instance.new("ParticleEmitter", Emitter38)
  642.  
  643. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  644. particleemitter.LightEmission = 1
  645. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  646. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  647. particleemitter.Lifetime = NumberRange.new(2, 2)
  648. particleemitter.Rate = 200
  649. local particleemitter = Instance.new("ParticleEmitter", Emitter39)
  650.  
  651. particleemitter.Color = ColorSequence.new(Color3.new(127/255, 0/255, 255/255),Color3.new(127/255, 0/255, 255/255))
  652. particleemitter.LightEmission = 1
  653. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  654. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  655. particleemitter.Lifetime = NumberRange.new(2, 2)
  656. particleemitter.Rate = 200
  657.  
  658.  
  659. Player = owner
  660. Character = Player.Character
  661. local txt = Instance.new("BillboardGui", Character)
  662. txt.Adornee = Character.Head
  663. txt.Name = "_status"
  664. txt.Size = UDim2.new(2, 0, 1.2, 0)
  665. txt.StudsOffset = Vector3.new(-9, 8, 0)
  666. local text = Instance.new("TextLabel", txt)
  667. text.Size = UDim2.new(10, 0, 7, 0)
  668. text.FontSize = "Size24"
  669. text.TextScaled = true
  670. text.TextTransparency = 0
  671. text.BackgroundTransparency = 1
  672. text.TextTransparency = 0
  673. text.TextStrokeTransparency = 0
  674. text.Font = "Antique"
  675. text.TextStrokeColor3 = Color3.new(127,0,255)
  676. text.Text = "The Dark"
  677.  
  678. CircleParts = {}
  679. Equipped = false
  680.  
  681. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  682. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  683. end
  684. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  685. Torso = Character:FindFirstChild("Torso")
  686. if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
  687. return
  688. end
  689. Equipped = true
  690. Circle = Instance.new("Model")
  691. Circle.Name = "Circle"
  692. Angle = 0
  693. for i = 1, 1 do
  694. local CirclePart = Instance.new("Part")
  695. CirclePart.Name = "CirclePart"
  696. CirclePart.Transparency = 1
  697. CirclePart.BrickColor = BrickColor.new("Really black")
  698. CirclePart.Material = Enum.Material.Plastic
  699. CirclePart.Shape = Enum.PartType.Block
  700. CirclePart.FormFactor = Enum.FormFactor.Custom
  701. CirclePart.TopSurface = Enum.SurfaceType.Smooth
  702. CirclePart.BottomSurface = Enum.SurfaceType.Smooth
  703. CirclePart.Anchored = true
  704. CirclePart.CanCollide = false
  705. CirclePart.Locked = true
  706. CirclePart.Size = Vector3.new(10, 0.2, 10)
  707. local Aura = Instance.new('ParticleEmitter')
  708. Aura.Name = "Aura"
  709. Aura.Texture = "rbxassetid://0"
  710. Aura.Parent = CirclePart
  711. Aura.LightEmission = 0
  712. Aura.Transparency = NumberSequence.new(0.2,0.4,1)
  713. Aura.Color = ColorSequence.new(Color3.new(255/255, 0/255, 0/255),Color3.new(0/200, 0/200, 0/200))
  714. Aura.Size = NumberSequence.new(0.9,0.5,0.3)
  715. Aura.LockedToPart = false
  716. Aura.Lifetime = NumberRange.new(1)
  717. Aura.Rate = 100
  718. Aura.Speed = NumberRange.new(2)
  719. Aura.SpreadAngle = Vector2.new(80,80)
  720. local BlockMesh = Instance.new("BlockMesh")
  721. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  722. BlockMesh.Parent = CirclePart
  723. CirclePart.Parent = Circle
  724. local Star = Instance.new("Decal", CirclePart)
  725. Star.Texture = "http://www.roblox.com/asset/?id=332392312"
  726. Star.Face = "Top"
  727. local Light = Instance.new("PointLight", CirclePart)
  728. Light.Color = Color3.new(1,0,0)
  729. Light.Brightness = 100
  730. Light.Range = 15
  731. table.insert(CircleParts, CirclePart)
  732. end
  733. Spawn(function()
  734. while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do
  735. if Angle == 360 then
  736. Angle = 0
  737. end
  738. Angle = Angle + 0.05
  739. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  740. if Hit then
  741. if not Circle.Parent then
  742. Circle.Parent = Character
  743. end
  744. for i, v in pairs(CircleParts) do
  745. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  746. end
  747. else
  748. Circle.Parent = nil
  749. end
  750. wait()
  751. end
  752. end)
  753.  
  754.  
  755.  
  756.  
  757.  
  758. so = function(id,par,vol,pit)
  759. coroutine.resume(coroutine.create(function()
  760. local sou = Instance.new("Sound",par or workspace)
  761. sou.Volume=vol
  762. sou.Pitch=pit or 1
  763. sou.SoundId=id
  764. sou:play()
  765. game:GetService("Debris"):AddItem(sou,8)
  766. end))
  767. end
  768.  
  769. --save shoulders
  770. RSH, LSH=nil, nil
  771. --welds
  772. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  773. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  774. LH=Torso["Left Hip"]
  775. RH=Torso["Right Hip"]
  776. TorsoColor=Torso.BrickColor
  777. function NoOutline(Part)
  778. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  779. end
  780. player=Player
  781. ch=Character
  782. RSH=ch.Torso["Right Shoulder"]
  783. LSH=ch.Torso["Left Shoulder"]
  784. --
  785. RSH.Parent=nil
  786. LSH.Parent=nil
  787. --
  788. RW.Name="Right Shoulder"
  789. RW.Part0=ch.Torso
  790. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  791. RW.C1=cf(0, 0.5, 0)
  792. RW.Part1=ch["Right Arm"]
  793. RW.Parent=ch.Torso
  794. --
  795. LW.Name="Left Shoulder"
  796. LW.Part0=ch.Torso
  797. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  798. LW.C1=cf(0, 0.5, 0)
  799. LW.Part1=ch["Left Arm"]
  800. LW.Parent=ch.Torso
  801.  
  802.  
  803. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  804. local wld = Instance.new("Weld", wp1)
  805. wld.Part0 = wp0
  806. wld.Part1 = wp1
  807. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  808. end
  809.  
  810. newWeld(RootPart, Torso, 0, -1, 0)
  811. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  812. newWeld(Torso, LeftLeg, -0.5, -1, 0)
  813. LeftLeg.Weld.C1 = CFrame.new(0, 1, 0)
  814. newWeld(Torso, RightLeg, 0.5, -1, 0)
  815. RightLeg.Weld.C1 = CFrame.new(0, 1, 0)
  816.  
  817. Player = owner
  818. Character=Player.Character
  819. mouse = Player:GetMouse()
  820. m=Instance.new('Model',Character)
  821.  
  822.  
  823. local function weldBetween(a, b)
  824. local weldd = Instance.new("ManualWeld")
  825. weldd.Part0 = a
  826. weldd.Part1 = b
  827. weldd.C0 = CFrame.new()
  828. weldd.C1 = b.CFrame:inverse() * a.CFrame
  829. weldd.Parent = a
  830. return weldd
  831. end
  832.  
  833. ArtificialHB = Instance.new("BindableEvent", script)
  834. ArtificialHB.Name = "Heartbeat"
  835.  
  836. script:WaitForChild("Heartbeat")
  837.  
  838. frame = 1 / 80
  839. tf = 0
  840. allowframeloss = false
  841. tossremainder = false
  842. lastframe = tick()
  843. script.Heartbeat:Fire()
  844. game:GetService("RunService").Heartbeat:connect(function(s, p)
  845. tf = tf + s
  846. if tf >= frame then
  847. if allowframeloss then
  848. script.Heartbeat:Fire()
  849. lastframe = tick()
  850. else
  851. for i = 1, math.floor(tf / frame) do
  852. script.Heartbeat: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. function swait(num)
  866. if num == 0 or num == nil then
  867. ArtificialHB.Event:wait()
  868. else
  869. for i = 0, num do
  870. ArtificialHB.Event:wait()
  871. end
  872. end
  873. end
  874.  
  875. ]]
  876.  
  877.  
  878. function swait(num)
  879. if num == 0 or num == nil then
  880. game:service("RunService").Stepped:wait()
  881. else
  882. for i = 0, num do
  883. game:service("RunService").Stepped:wait()
  884. end
  885. end
  886. end
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895. function RemoveOutlines(part)
  896. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  897. end
  898.  
  899.  
  900. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  901. local fp = it("Part")
  902. fp.formFactor = formfactor
  903. fp.Parent = parent
  904. fp.Reflectance = reflectance
  905. fp.Transparency = transparency
  906. fp.CanCollide = false
  907. fp.Locked = true
  908. fp.BrickColor = brickcolor
  909. fp.Name = name
  910. fp.Size = size
  911. fp.Position = Torso.Position
  912. NoOutline(fp)
  913. if fp.BrickColor == BrickColor.new("Dark indigo") then
  914. fp.Material = "Neon"
  915. else
  916. if fp.BrickColor == BrickColor.new("Really black") then
  917. fp.BrickColor = BrickColor.new("Really black")
  918. fp.Material = "Metal"
  919. else
  920. fp.Material = "Neon"
  921. end
  922. end
  923. fp:BreakJoints()
  924. return fp
  925. end
  926.  
  927. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  928. local mesh = it(Mesh)
  929. mesh.Parent = part
  930. if Mesh == "SpecialMesh" then
  931. mesh.MeshType = meshtype
  932. if meshid ~= "nil" then
  933. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  934. end
  935. end
  936. mesh.Offset = offset
  937. mesh.Scale = scale
  938. return mesh
  939. end
  940. weld = function(parent, part0, part1, c0)
  941. local weld = it("Weld")
  942. weld.Parent = parent
  943. weld.Part0 = part0
  944. weld.Part1 = part1
  945. weld.C0 = c0
  946. return weld
  947. end
  948.  
  949. F1 = Instance.new("Folder", Character)
  950. F1.Name = "Effects Folder"
  951. F2 = Instance.new("Folder", F1)
  952. F2.Name = "Effects"
  953. Triangle = function(a, b, c)
  954. end
  955.  
  956. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent)
  957. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  958. prt.Anchored = true
  959. prt.CFrame = cframe
  960. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  961. game:GetService("Debris"):AddItem(prt, 10)
  962. if Type == 1 or Type == nil then
  963. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  964. else
  965. if Type == 2 then
  966. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  967. else
  968. if Type == 3 then
  969. table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0})
  970. end
  971. end
  972. end
  973. end
  974. MagicSkull = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, goe)
  975. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  976. prt.Anchored = true
  977. prt.CFrame = cframe
  978. msh = mesh("SpecialMesh", prt, "FileMesh", "14028428", vt(0, 0, 0), vt(x1, y1, z1))
  979. game:GetService("Debris"):AddItem(prt, 10)
  980. table.insert(Effects, {prt, "Skull", delay, x3, y3, z3, msh, goe})
  981. end
  982. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  983. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  984. prt.Anchored = true
  985. prt.CFrame = cframe
  986. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  987. game:GetService("Debris"):AddItem(prt, 10)
  988. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  989. end
  990. MagicRing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  991. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  992. prt.Anchored = true
  993. prt.CFrame = cframe * cf(x2, y2, z2)
  994. local msh = mesh("SpecialMesh", prt, "FileMesh", "3270017", vt(0, 0, 0), vt(x1, y1, z1))
  995. game:GetService("Debris"):AddItem(prt, 10)
  996. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  997. end
  998. MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, push)
  999. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1000. prt.Anchored = true
  1001. prt.CFrame = cframe
  1002. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  1003. game:GetService("Debris"):AddItem(prt, 10)
  1004. table.insert(Effects, {prt, "Blood", delay, x3, y3, z3, msh, push})
  1005. end
  1006. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1007. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1008. prt.Anchored = true
  1009. prt.CFrame = cframe
  1010. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1011. game:GetService("Debris"):AddItem(prt, 10)
  1012. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1013. end
  1014. MagicCylinder2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, goe)
  1015. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1016. prt.Anchored = true
  1017. prt.CFrame = cframe
  1018. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1019. game:GetService("Debris"):AddItem(prt, 10)
  1020. table.insert(Effects, {prt, "Cylinder2", delay, x3, y3, z3, msh, goe})
  1021. end
  1022. MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1023. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1024. prt.Anchored = true
  1025. prt.CFrame = cframe
  1026. local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  1027. game:GetService("Debris"):AddItem(prt, 10)
  1028. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1029. end
  1030. ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
  1031. local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
  1032. prt.Anchored = true
  1033. prt.CFrame = cframe
  1034. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  1035. game:GetService("Debris"):AddItem(prt, 10)
  1036. table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
  1037. end
  1038. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1039. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1040. prt.Anchored = true
  1041. prt.CFrame = cframe
  1042. local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1043. game:GetService("Debris"):AddItem(prt, 10)
  1044. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1045. end
  1046. MagicFire = function(brickcolor, cframe, x1, y1, z1, delay)
  1047. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1048. prt.Anchored = true
  1049. prt.CFrame = cframe
  1050. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1051. game:GetService("Debris"):AddItem(prt, 10)
  1052. table.insert(Effects, {prt, "Fire", delay, 1, 1, 1, msh})
  1053. end
  1054. MagicFireWave = function(brickcolor, cframe, x1, y1, z1)
  1055. local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
  1056. prt.Anchored = true
  1057. prt.CFrame = cframe
  1058. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1059. d = Instance.new("Decal")
  1060. d.Parent = prt
  1061. d.Texture = "http://www.roblox.com/asset/?id=26356434"
  1062. d.Face = "Top"
  1063. d = Instance.new("Decal")
  1064. d.Parent = prt
  1065. d.Texture = "http://www.roblox.com/asset/?id=26356434"
  1066. d.Face = "Bottom"
  1067. game:GetService("Debris"):AddItem(prt, 10)
  1068. table.insert(Effects, {prt, "FireWave", 1, 30, math.random(400, 600) / 100, msh})
  1069. end
  1070. ElecEffect = function(cff, x, y, z)
  1071. local prt = part(3, workspace, 0, 0, BrickColor.new("White"), "Part", vt(1, 1, 1))
  1072. prt.Anchored = true
  1073. prt.CFrame = cff * cf(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1074. prt.CFrame = cf(prt.Position)
  1075. game:GetService("Debris"):AddItem(prt, 10)
  1076. xval = math.random() / 3
  1077. yval = math.random() / 3
  1078. zval = math.random() / 3
  1079. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(xval, yval, zval))
  1080. Effects[#Effects + 1] = {prt, "Elec", 0.2, x, y, z, xval, yval, zval, msh}
  1081. end
  1082.  
  1083. function FindNearestTorso(Position, Distance, SinglePlayer)
  1084. if SinglePlayer then
  1085. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  1086. end
  1087. local List = {}
  1088. for i, v in pairs(workspace:GetChildren()) do
  1089. if v:IsA("Model") then
  1090. if v:findFirstChild("Torso") then
  1091. if v ~= Character then
  1092. if (v.Torso.Position - Position).magnitude <= Distance then
  1093. table.insert(List, v)
  1094. end
  1095. end
  1096. end
  1097. end
  1098. end
  1099. return List
  1100. end
  1101.  
  1102.  
  1103. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1104. local Part = Create("Part"){
  1105. Parent = Parent,
  1106. Reflectance = Reflectance,
  1107. Transparency = Transparency,
  1108. CanCollide = false,
  1109. Locked = true,
  1110. BrickColor = BrickColor.new(tostring(BColor)),
  1111. Name = Name,
  1112. Size = Size,
  1113. Material = Material,
  1114. }
  1115. RemoveOutlines(Part)
  1116. return Part
  1117. end
  1118.  
  1119. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1120. local Msh = Create(Mesh){
  1121. Parent = Part,
  1122. Offset = OffSet,
  1123. Scale = Scale,
  1124. }
  1125. if Mesh == "SpecialMesh" then
  1126. Msh.MeshType = MeshType
  1127. Msh.MeshId = MeshId
  1128. end
  1129. return Msh
  1130. end
  1131.  
  1132.  
  1133.  
  1134. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1135. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1136. prt.Anchored = true
  1137. prt.CFrame = cframe
  1138. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1139. game:GetService("Debris"):AddItem(prt, 10)
  1140. if Type == 1 or Type == nil then
  1141. table.insert(Effects, {
  1142. prt,
  1143. "Block1",
  1144. delay,
  1145. x3,
  1146. y3,
  1147. z3,
  1148. msh
  1149. })
  1150. elseif Type == 2 then
  1151. table.insert(Effects, {
  1152. prt,
  1153. "Block2",
  1154. delay,
  1155. x3,
  1156. y3,
  1157. z3,
  1158. msh
  1159. })
  1160. end
  1161. end
  1162.  
  1163. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1164. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1165. prt.Anchored = true
  1166. prt.CFrame = cframe
  1167. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1168. game:GetService("Debris"):AddItem(prt, 10)
  1169. table.insert(Effects, {
  1170. prt,
  1171. "Cylinder",
  1172. delay,
  1173. x3,
  1174. y3,
  1175. z3,
  1176. msh
  1177. })
  1178. end
  1179.  
  1180. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1181. local prt=CreatePart(workspace,"Neon",0,0,brickcolor,"Effect",vt(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1182. prt.Anchored=true
  1183. prt.CFrame=cframe
  1184. msh=CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1185. game:GetService("Debris"):AddItem(prt,2)
  1186. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  1187. for i=0,1,delay do
  1188. swait()
  1189. Part.Transparency=i
  1190. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1191. end
  1192. Part.Parent=nil
  1193. end),prt,msh,(math.random(0,1)+math.random())/5)
  1194. end
  1195.  
  1196. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1197. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1198. prt.Anchored = true
  1199. prt.CFrame = cframe
  1200. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1201. game:GetService("Debris"):AddItem(prt, 10)
  1202. table.insert(Effects, {
  1203. prt,
  1204. "Cylinder",
  1205. delay,
  1206. x3,
  1207. y3,
  1208. z3,
  1209. msh
  1210. })
  1211. end
  1212.  
  1213. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1214. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1215. prt.Anchored = true
  1216. prt.CFrame = cframe
  1217. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1218. game:GetService("Debris"):AddItem(prt, 10)
  1219. table.insert(Effects, {
  1220. prt,
  1221. "Cylinder",
  1222. delay,
  1223. x3,
  1224. y3,
  1225. z3,
  1226. msh
  1227. })
  1228. end
  1229.  
  1230. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1231. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1232. prt.Anchored = true
  1233. prt.CFrame = cframe
  1234. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1235. game:GetService("Debris"):AddItem(prt, 10)
  1236. table.insert(Effects, {
  1237. prt,
  1238. "Cylinder",
  1239. delay,
  1240. x3,
  1241. y3,
  1242. z3,
  1243. msh
  1244. })
  1245. end
  1246.  
  1247.  
  1248. function MoonEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1249. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1250. prt.Anchored = true
  1251. prt.CFrame = cframe
  1252. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://259403370", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1253. game:GetService("Debris"):AddItem(prt, 10)
  1254. table.insert(Effects, {
  1255. prt,
  1256. "Cylinder",
  1257. delay,
  1258. x3,
  1259. y3,
  1260. z3,
  1261. msh
  1262. })
  1263. end
  1264.  
  1265. function HeadEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1266. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1267. prt.Anchored = true
  1268. prt.CFrame = cframe
  1269. local msh = CreateMesh("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1270. game:GetService("Debris"):AddItem(prt, 10)
  1271. table.insert(Effects, {
  1272. prt,
  1273. "Cylinder",
  1274. delay,
  1275. x3,
  1276. y3,
  1277. z3,
  1278. msh
  1279. })
  1280. end
  1281.  
  1282. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  1283. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1284. prt.Anchored = true
  1285. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1286. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1287. local num = math.random(10, 50) / 1000
  1288. game:GetService("Debris"):AddItem(prt, 10)
  1289. table.insert(Effects, {
  1290. prt,
  1291. "Shatter",
  1292. num,
  1293. prt.CFrame,
  1294. math.random() - math.random(),
  1295. 0,
  1296. math.random(50, 100) / 100
  1297. })
  1298. end
  1299.  
  1300. function FindNearestHead(Position, Distance, SinglePlayer)
  1301. if SinglePlayer then
  1302. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1303. end
  1304. local List = {}
  1305. for i, v in pairs(workspace:GetChildren()) do
  1306. if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
  1307. table.insert(List, v)
  1308. end
  1309. end
  1310. return List
  1311. end
  1312.  
  1313.  
  1314.  
  1315. function clerp(a,b,t)
  1316. local qa = {QuaternionFromCFrame(a)}
  1317. local qb = {QuaternionFromCFrame(b)}
  1318. local ax, ay, az = a.x, a.y, a.z
  1319. local bx, by, bz = b.x, b.y, b.z
  1320. local _t = 1-t
  1321. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1322. end
  1323.  
  1324. function QuaternionFromCFrame(cf)
  1325. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1326. local trace = m00 + m11 + m22
  1327. if trace > 0 then
  1328. local s = math.sqrt(1 + trace)
  1329. local recip = 0.5/s
  1330. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1331. else
  1332. local i = 0
  1333. if m11 > m00 then
  1334. i = 1
  1335. end
  1336. if m22 > (i == 0 and m00 or m11) then
  1337. i = 2
  1338. end
  1339. if i == 0 then
  1340. local s = math.sqrt(m00-m11-m22+1)
  1341. local recip = 0.5/s
  1342. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1343. elseif i == 1 then
  1344. local s = math.sqrt(m11-m22-m00+1)
  1345. local recip = 0.5/s
  1346. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1347. elseif i == 2 then
  1348. local s = math.sqrt(m22-m00-m11+1)
  1349. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1350. end
  1351. end
  1352. end
  1353. local lerp = function(a, b, t)
  1354. return a * (1 - t) + b * t
  1355. end
  1356.  
  1357.  
  1358.  
  1359.  
  1360. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1361. local xs, ys, zs = x + x, y + y, z + z
  1362. local wx, wy, wz = w*xs, w*ys, w*zs
  1363. local xx = x*xs
  1364. local xy = x*ys
  1365. local xz = x*zs
  1366. local yy = y*ys
  1367. local yz = y*zs
  1368. local zz = z*zs
  1369. 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))
  1370. end
  1371. function QuaternionSlerp(a, b, t)
  1372. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1373. local startInterp, finishInterp;
  1374. if cosTheta >= 0.0001 then
  1375. if (1 - cosTheta) > 0.0001 then
  1376. local theta = math.acos(cosTheta)
  1377. local invSinTheta = 1/math.sin(theta)
  1378. startInterp = math.sin((1-t)*theta)*invSinTheta
  1379. finishInterp = math.sin(t*theta)*invSinTheta
  1380. else
  1381. startInterp = 1-t
  1382. finishInterp = t
  1383. end
  1384. else
  1385. if (1+cosTheta) > 0.0001 then
  1386. local theta = math.acos(-cosTheta)
  1387. local invSinTheta = 1/math.sin(theta)
  1388. startInterp = math.sin((t-1)*theta)*invSinTheta
  1389. finishInterp = math.sin(t*theta)*invSinTheta
  1390. else
  1391. startInterp = t-1
  1392. finishInterp = t
  1393. end
  1394. end
  1395. 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
  1396. end
  1397.  
  1398. function weld5(part0, part1, c0, c1)
  1399. weeld=Instance.new("Weld", part0)
  1400. weeld.Part0=part0
  1401. weeld.Part1=part1
  1402. weeld.C0=c0
  1403. weeld.C1=c1
  1404. return weeld
  1405. end
  1406.  
  1407. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1408.  
  1409. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1410. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1411. end
  1412.  
  1413.  
  1414. function Bullets(thinggy,place,size,color,velocity,damage,bounce,collide,rotation)
  1415. swait()
  1416. local Bullet = Instance.new("Part",Workspace)
  1417. Bullet.Locked = true
  1418. Bullet.Name = "Bullet"
  1419. Bullet.Anchored = bounce
  1420. Bullet.CanCollide = collide
  1421. Bullet.Transparency = 0.24
  1422. Bullet.Reflectance = 0
  1423. Bullet.BottomSurface = 0
  1424. Bullet.TopSurface = 0
  1425. Bullet.Shape = 0
  1426. Bullet.BrickColor = BrickColor.new(color)
  1427. Bullet.Size = Vector3.new(size,size,size)
  1428. Bullet.Material = "Neon"
  1429. Bullet.Orientation = vt(-90,0,0)
  1430. local Bulletthing = Instance.new("SpecialMesh",Bullet)
  1431. Bulletthing.MeshType = "Sphere"
  1432. local Bulletforce = Instance.new("BodyForce")
  1433. Bulletforce.force = Vector3.new(0,Bullet:GetMass()*166.2,0)
  1434. Bulletforce.Parent = Bullet
  1435. Bullet.CFrame = thinggy.CFrame*CFrame.new(math.random(-place,place),math.random(-place,place),math.random(-place,place))
  1436. local bv = Instance.new("BodyVelocity",Bullet)
  1437. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1438. Bullet.CFrame = CFrame.new(Bullet.Position,mouse.Hit.p)
  1439. bv.velocity = Bullet.CFrame.lookVector*velocity
  1440.  
  1441.  
  1442. Bullet.Touched:connect(function(hit)
  1443.  
  1444. if (hit.Parent.Parent ~= Character and hit.Parent ~= Character and hit.Name ~= "prt" and hit.Name ~= "Effect" and hit.Name ~= "orb" and Bullet.Anchored == false) then
  1445. local orbexplode = Instance.new("Sound", Bullet)
  1446. orbexplode.Volume = 4
  1447. orbexplode.PlayOnRemove = true
  1448. orbexplode.SoundId = "http://roblox.com/asset/?id=142070127"
  1449. orbexplode.Pitch = 1
  1450. orbexplode:Destroy()
  1451. deb:AddItem(orbexplode, 4)
  1452. Bullet.Anchored = true
  1453. Bullet.Transparency = 1
  1454. deb:AddItem(Bullet, 4)
  1455. local Explode = Instance.new("Explosion")
  1456. Explode.Position = Bullet.Position
  1457. Explode.Parent = Workspace
  1458. Explode.BlastPressure = 0
  1459. Explode.BlastRadius = Bullet.Size.X *5.6
  1460. Explode.Visible = false
  1461.  
  1462. Explode.Hit:connect(function(hit)
  1463. if hit.Parent:FindFirstChildOfClass("Humanoid")~=nil and hit.Parent ~= Character then
  1464. if hit.Parent:FindFirstChildOfClass("Humanoid").MaxHealth > 500 then
  1465. hit.Parent:FindFirstChildOfClass("Humanoid").MaxHealth = 100
  1466. hit.Parent:FindFirstChildOfClass("Humanoid").Health = 100
  1467. end
  1468. if attackdebounce == false then
  1469. attackdebounce = true
  1470. hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(damage/2,damage))
  1471. wait(0.02)
  1472. attackdebounce = false
  1473. end
  1474. end
  1475. end)
  1476. coroutine.resume(coroutine.create(function()
  1477.  
  1478. MagicCircle(BrickColor.new("Royal purple"), cf(Bullet.Position), 10, 10, 10, 50, 50, 50, 0.065)
  1479. MagicCircle(BrickColor.new("Royal purple"), cf(Bullet.Position), 0, 1, 0, 15, 0, 15, 0.025)
  1480. MagicRing(BrickColor.new("Royal purple"), cf(Bullet.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 4, 4, 4, 0, 0.025)
  1481. MagicRing(BrickColor.new("Royal purple"), cf(Bullet.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 0.5, -1, -1, 0, 0.025)
  1482. end))
  1483. end
  1484. end)
  1485. coroutine.resume(coroutine.create(function()
  1486. for i = 0,16,0.1 do
  1487. swait()
  1488. end
  1489. if Bullet.Anchored == false then
  1490. Bullet:Destroy()
  1491. end
  1492. end))
  1493.  
  1494. end
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500. local bl = Instance.new("BlurEffect",cam)
  1501. bl.Size = 0
  1502.  
  1503.  
  1504. function Dash()
  1505. evadecooldown = true
  1506. attack = true
  1507. so("http://www.roblox.com/asset/?id=231917788", Torso, 1, 1)
  1508.  
  1509. so("http://www.roblox.com/asset/?id=231917788", Torso, 1, 1)
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520. bl.Size = 84
  1521.  
  1522.  
  1523. MagicCircle(BrickColor.new("White"), cf(RootPart.Position), 800, 5, 800, 0, 0, 0, 0.05)
  1524. MagicCircle(BrickColor.new("Royal purple"), cf(RootPart.Position), 800, 10, 800, -40, 0, -40, 0.025)
  1525. MagicCircle(BrickColor.new("White"), cf(RootPart.Position), 800, 10, 800, -42, 1000, -42, 0.05)
  1526. MagicCircle(BrickColor.new("Royal purple"), cf(RootPart.Position), 1000, 10, 1000, -62, 1200, -62, 0.05)
  1527.  
  1528. RootPart.CFrame = RootPart.CFrame*CFrame.new(0,0,-96)
  1529. RootPart.Velocity = RootPart.CFrame.lookVector *280
  1530.  
  1531. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  1532. if v:FindFirstChild("Torso") and v:FindFirstChild("Humanoid") then
  1533.  
  1534. so("http://www.roblox.com/asset/?id=138186576", v.Torso, 10, 1)
  1535. v:FindFirstChild("Humanoid"):TakeDamage(math.random(18,36))
  1536. SphereEffect(BrickColor.new("Royal purple"), cf(v.Torso.Position) , 1, 1, 1, 6.8, 6.8, 6.8, 0.04)
  1537. MagicBlock(BrickColor.new("White"), cf(v.Torso.Position), 2000, 2000, 2000, -100, -100, -100, 0.05, 1)
  1538. MagicBlock(BrickColor.new("Royal purple"), cf(v.Torso.Position), 2500, 2500, 2500, -150, -150, -150, 0.05, 1)
  1539. MagicBlock(BrickColor.new("White"), cf(v.Torso.Position), 3000, 3000, 3000, -200, -200, -200, 0.05, 1)
  1540. MagicCircle(BrickColor.new("Royal purple"), cf(v.Torso.Position), 800, 2, 800, 150, 2, 150, 0.05)
  1541. MagicCircle(BrickColor.new("White"), cf(v.Torso.Position), 800, 2, 800, 100, 4, 100, 0.05)
  1542. MagicCircle(BrickColor.new("Royal purple"), cf(v.Torso.Position), 800, 2, 800, 50, 6, 50, 0.05)
  1543. MagicCircle(BrickColor.new("White"), cf(v.Torso.Position), 0, 0, 0, 100, 100, 100, 0.05)
  1544. MagicCircle(BrickColor.new("Royal purple"), cf(v.Torso.Position), 0, 0, 0, 200, 200, 200, 0.05)
  1545. MagicCircle(BrickColor.new("White"), cf(v.Torso.Position), 0, 0, 0, 300, 300, 300, 0.05)
  1546. MagicCircle(BrickColor.new("Royal purple"), cf(v.Torso.Position), 0, 0, 0, 400, 400, 400, 0.05)
  1547. MagicCircle(BrickColor.new("White"), cf(v.Torso.Position), 800, 2, 800, 4, 350, 4, 0.005)
  1548. MagicCircle(BrickColor.new("Royal purple"), cf(v.Torso.Position), 600, 2, 600, 4, 300, 4, 0.005)
  1549. MagicCircle(BrickColor.new("White"), cf(v.Torso.Position), 400, 2, 400, 4, 250, 4, 0.005)
  1550. end
  1551. end
  1552.  
  1553. for i = 0,1,0.064 do
  1554. swait()
  1555. cam.FieldOfView = lerp(cam.FieldOfView, 110, 0.5)
  1556. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,12),0.24)
  1557. RootPart.Velocity = RootPart.CFrame.lookVector * 175
  1558. bl.Size = bl.Size - 8.5
  1559. SphereEffect(BrickColor.new("Royal purple"),RootPart.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,5.5,10,5.5,0.03)
  1560. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, -12) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), 0.4)
  1561. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  1562. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)),.4)
  1563. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.4)
  1564. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, -0.4) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), 0.8)
  1565. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -0.7, -0.7) * CFrame.Angles(math.rad(-60), math.rad(0), math.rad(0)), 0.8)
  1566.  
  1567.  
  1568.  
  1569. end
  1570.  
  1571.  
  1572.  
  1573. attack = false
  1574. attackdebounce = false
  1575. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.1)
  1576. wait(.2)
  1577. bl.Size = 0
  1578. evadecooldown = false
  1579.  
  1580.  
  1581.  
  1582. end
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595. local shooting = false
  1596.  
  1597.  
  1598.  
  1599. function shoot()
  1600. attack = true
  1601. shooting = true
  1602.  
  1603.  
  1604. local thing = Instance.new("BodyGyro",RootPart)
  1605. thing.D = 50
  1606. thing.P = 6000
  1607. thing.MaxTorque = vt(100000,math.huge,0)
  1608. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1609. for i = 0,2,0.16 do
  1610. swait()
  1611. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.2)
  1612. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.2)
  1613. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)),.2)
  1614. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.2)
  1615. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.73, -1.0, 0) * CFrame.Angles(math.rad(-25), math.rad(-66), math.rad(-25)), 0.1)
  1616. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.6, -1.0, 0) * CFrame.Angles(math.rad(0), math.rad(-83), math.rad(0)), 0.1)
  1617. end
  1618.  
  1619.  
  1620. while shooting == true do
  1621. swait(1)
  1622.  
  1623. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)),.2)
  1624. so("http://roblox.com/asset/?id=200633327",Torso,2,1)
  1625. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1626. Torso.Velocity = RootPart.CFrame.lookVector * -13
  1627. Bullets(RightArm,0,1.5,"Royal purple",700,25.5,false,false)
  1628. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(40), math.rad(80)),.2)
  1629. coroutine.resume(coroutine.create(function()
  1630. for i = 0, 0.5, 0.1 do
  1631. swait()
  1632. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.24)
  1633. end
  1634. end))
  1635. end
  1636.  
  1637. attack = false
  1638. thing:Destroy()
  1639. end
  1640.  
  1641.  
  1642.  
  1643. function dshoot()
  1644. attack = true
  1645. shooting = true
  1646.  
  1647.  
  1648. local thing = Instance.new("BodyGyro",RootPart)
  1649. thing.D = 50
  1650. thing.P = 6000
  1651. thing.MaxTorque = vt(100000,math.huge,0)
  1652. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1653. so("http://roblox.com/asset/?id=1268159756",Torso,5,1)
  1654. for i = 0,3,0.16 do
  1655. swait()
  1656. MagicRing(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,0,-8), 9, 9, 1, -0.7, -0.7, 0, 0.07)
  1657. MagicCircle(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,0,-8), 9, 9, 9, -0.7, -0.7, -0.7, 0.07)
  1658. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1659. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1660. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * angles(math.rad(90), math.rad(0), math.rad(-20)),.2)
  1661. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.4) * angles(math.rad(90), math.rad(0), math.rad(20)),.2)
  1662. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1.0, 0) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(-25)), 0.1)
  1663. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.0, 0) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(25)), 0.1)
  1664. end
  1665.  
  1666.  
  1667.  
  1668. while shooting == true do
  1669. swait(0.5)
  1670. coroutine.resume(coroutine.create(function()
  1671. MagicRing(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,0,-8), 3, 3, 1, 10.2, 10.2, 0, 0.07)
  1672. end))
  1673. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1.0, 0) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(-25)), 0.3)
  1674. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.0, 0) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(25)), 0.3)
  1675. so("http://roblox.com/asset/?id=200633327",Torso,2,1)
  1676. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1677. Torso.Velocity = RootPart.CFrame.lookVector * -63
  1678.  
  1679.  
  1680. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.4)
  1681. Bullets(RightArm,0,2.5,"Royal purple",1200,45.5,false,false)
  1682. coroutine.resume(coroutine.create(function()
  1683. for i = 0, 0.5, 0.1 do
  1684. swait()
  1685. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.55*4.8,0.55*4.8),math.random(-0.55*4.8,0.55*4.8),math.random(-0.55*4.8,0.55*4.8)),0.44)
  1686. end
  1687. end))
  1688.  
  1689. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2)
  1690. Bullets(LeftArm,0,2.5,"Royal purple",1200,45.5,false,false)
  1691. coroutine.resume(coroutine.create(function()
  1692. for i = 0, 0.5, 0.1 do
  1693. swait()
  1694. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.24)
  1695. end
  1696. end))
  1697.  
  1698. end
  1699.  
  1700. attack = false
  1701. thing:Destroy()
  1702. end
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708. function finaldev()
  1709. attack = true
  1710. so("http://roblox.com/asset/?id=815032096",Head,6,0.84)
  1711. so("http://roblox.com/asset/?id=200633529",Workspace,3,0.84)
  1712.  
  1713. for i = 0,14,0.1 do
  1714. swait()
  1715. WaveEffect(BrickColor.new("White"), RootPart.CFrame*CFrame.new(0,-1,0)*angles(0,math.rad(0+90*i),0) , 1, 1, 1, 7, 0.8, 7, 0.09)
  1716. WaveEffect(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,-1,0)*angles(0,math.rad(0-90*i),0) , 1, 1, 1, 5, 0.8, 5, 0.05)
  1717. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.25*2.8,0.25*2.8),math.random(-0.25*2.8,0.25*2.8),math.random(-0.25*2.8,0.25*2.8)),0.16)
  1718. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.15)
  1719. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(14),math.rad(0),math.rad(0)),.15)
  1720. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(87)),.15)
  1721. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0) * angles(math.rad(0), math.rad(0), math.rad(-87)),.15)
  1722. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, 0, -0.5) * CFrame.Angles(math.rad(16), math.rad(0), math.rad(0)), 0.15)
  1723. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.14, 0.2) * CFrame.Angles(math.rad(-17), math.rad(0), math.rad(0)), 0.15)
  1724.  
  1725. end
  1726. so("http://roblox.com/asset/?id=197161452",Torso,7,1)
  1727. for i = 0,6,0.1 do
  1728. swait()
  1729. WaveEffect(BrickColor.new("White"), RootPart.CFrame*CFrame.new(0,-1,0)*angles(0,math.rad(0+90*i),0) , 1, 1, 1, 7, 0.8, 7, 0.09)
  1730. WaveEffect(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,-1,0)*angles(0,math.rad(0-90*i),0) , 1, 1, 1, 5, 0.8, 5, 0.05)
  1731. Head.Velocity = Vector3.new(0,320,0)
  1732. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0+260*i), math.rad(0), math.rad(0)), 0.6)
  1733. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(70),math.rad(0),math.rad(0)),.1)
  1734. RW.C0 = clerp(RW.C0, CFrame.new(.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1)
  1735. LW.C0 = clerp(LW.C0, CFrame.new(-.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.1)
  1736. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  1737. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.34, -0.7) * CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
  1738. end
  1739.  
  1740.  
  1741. local bel = part(3, Character, 0, 1, BrickColor.new("Royal purple"), "Ball", vt(0.126,0.126,0.126))
  1742. local belmsh = mesh("SpecialMesh", bel, "Sphere", "nil", vt(0, 0, 0), vt(10, 10, 10))
  1743.  
  1744.  
  1745.  
  1746. local Charge = Instance.new("Sound", bel)
  1747. Charge.Volume = 10
  1748. Charge.SoundId = "http://roblox.com/asset/?id=244578827"
  1749. Charge.Pitch = 0.8
  1750. Charge.PlayOnRemove = true
  1751. Charge:Play()
  1752. Charge:Destroy()
  1753. bel.Anchored = true
  1754. for i = 0,47,0.1 do
  1755. swait()
  1756. bel.CFrame = RootPart.CFrame * cf(0, 90*i/3.5, 0)
  1757. bel.Transparency = bel.Transparency - 0.0034
  1758. belmsh.Scale = belmsh.Scale + Vector3.new(24,24,24)
  1759. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0+1*i,0+1*i),0.15)
  1760. cam.FieldOfView = lerp(cam.FieldOfView, 40+1*i, 0.15)
  1761. Head.Velocity = Vector3.new(0,2.4+0.8*i,0)
  1762. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(35), math.rad(0), math.rad(0)), 0.2)
  1763. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-13),math.rad(0),math.rad(0)),.2)
  1764. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(140)),.2)
  1765. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(-140)),.2)
  1766. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1.0, 0) * CFrame.Angles(math.rad(-45), math.rad(34), math.rad(-25)), 0.1)
  1767. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.0, 0) * CFrame.Angles(math.rad(-45), math.rad(-34), math.rad(25)), 0.1)
  1768. end
  1769. so("http://roblox.com/asset/?id=160212892",Head,10,0.84)
  1770. for i = 0,4,0.1 do
  1771. swait()
  1772. Head.Velocity = Vector3.new(0,2.4,0)
  1773. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  1774. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(35), math.rad(0), math.rad(0)), 0.2)
  1775. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.2)
  1776. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(140)),.2)
  1777. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(-140)),.2)
  1778. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1.0, 0) * CFrame.Angles(math.rad(-45), math.rad(34), math.rad(-25)), 0.1)
  1779. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.0, 0) * CFrame.Angles(math.rad(-45), math.rad(-34), math.rad(25)), 0.1)
  1780. end
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786. bel.Anchored = false
  1787. local bv = Instance.new("BodyVelocity",bel)
  1788. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1789. bel.CFrame = CFrame.new(bel.Position,mouse.Hit.p)
  1790. bv.velocity = bel.CFrame.lookVector*350
  1791.  
  1792.  
  1793.  
  1794. --[[
  1795. bel.Touched:connect(function(hit)
  1796.  
  1797. if hit.Parent.Parent ~= Character and hit.Parent ~= Character and hit.Name ~= "prt" and hit.Name ~= "Effect" and hit.Name ~= "orb" and Bullet.Anchored == false then
  1798. local orbexplode = Instance.new("Sound", bel)
  1799. orbexplode.Volume = 10
  1800. orbexplode.PlayOnRemove = true
  1801. orbexplode.SoundId = "http://roblox.com/asset/?id=142070127"
  1802. orbexplode.Pitch = 1
  1803. orbexplode:Destroy()
  1804. deb:AddItem(orbexplode, 4)
  1805. bel.Anchored = true
  1806. bel.Transparency = 1
  1807. deb:AddItem(bel, 4)
  1808. local Explode = Instance.new("Explosion")
  1809. Explode.Position = bel.Position
  1810. Explode.Parent = Workspace
  1811. Explode.BlastPressure = 90
  1812. Explode.BlastRadius = Bullet.Size.X *25.6
  1813. Explode.Visible = false
  1814.  
  1815. coroutine.resume(coroutine.create(function()
  1816.  
  1817.  
  1818.  
  1819. MagicBlock(BrickColor.new("White"), cf(bel.Position), 2000, 2000, 2000, -100, -100, -100, 0.05, 1)
  1820. MagicBlock(BrickColor.new("Royal purple"), cf(bel.Position), 2500, 2500, 2500, -150, -150, -150, 0.05, 1)
  1821. MagicBlock(BrickColor.new("White"), cf(bel.Position), 3000, 3000, 3000, -200, -200, -200, 0.05, 1)
  1822. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1800, 2, 1800, 1150, 2, 1150, 0.05)
  1823. MagicCircle(BrickColor.new("White"), cf(bel.Position), 1800, 2, 1800, 1100, 4, 1100, 0.05)
  1824. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1800, 2, 1800, 150, 16, 150, 0.05)
  1825. MagicCircle(BrickColor.new("White"), cf(bel.Position), 0, 0, 0, 1100, 4100, 1100, 0.05)
  1826. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 0, 0, 1200, 1200, 1200, 0.05)
  1827. MagicCircle(BrickColor.new("White"), cf(bel.Position), 0, 0, 0, 1300, 1300,1300, 0.05)
  1828. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 0, 0, 1400, 1400, 1400, 0.05)
  1829. MagicCircle(BrickColor.new("White"), cf(bel.Position), 4800, 2, 1800, 4, 1350, 4, 0.005)
  1830. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1600, 2, 1600, 4, 1300, 4, 0.005)
  1831. MagicCircle(BrickColor.new("White"), cf(bel.Position), 1400, 2, 1400, 4, 1250, 4, 0.005)
  1832.  
  1833.  
  1834. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 10, 10, 10, 50, 50, 50, 0.065)
  1835. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 1, 0, 15, 0, 15, 0.025)
  1836. MagicRing(BrickColor.new("Royal purple"), cf(bel.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 4, 4, 4, 0, 0.025)
  1837. MagicRing(BrickColor.new("Royal purple"), cf(bel.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0, 0, 0.5, -1, -1, 0, 0.025)
  1838. end))
  1839. end
  1840. end)
  1841.  
  1842. ]]
  1843.  
  1844. con5=bel.Touched:connect(function(hit)
  1845.  
  1846. local orbexplode = Instance.new("Sound", bel)
  1847. orbexplode.Volume = 10
  1848. orbexplode.PlayOnRemove = true
  1849. orbexplode.SoundId = "http://roblox.com/asset/?id=167115397"
  1850. orbexplode.Pitch = 1
  1851. orbexplode:Destroy()
  1852. deb:AddItem(orbexplode, 4)
  1853. bel.Anchored = true
  1854. bel.Transparency = 1
  1855. deb:AddItem(bel, 5.2)
  1856.  
  1857.  
  1858.  
  1859.  
  1860. coroutine.resume(coroutine.create(function()
  1861. so("http://www.roblox.com/asset/?id=167115397", Workspace, 6, 1)
  1862. so("http://www.roblox.com/asset/?id=138186576", Workspace, 6, 1)
  1863. for i = 0, 0.4, 0.1 do
  1864. swait()
  1865.  
  1866.  
  1867. for i, v in pairs(FindNearestHead(bel.CFrame.p, 252.5)) do
  1868. if v:FindFirstChild("Torso") and v:FindFirstChild("Humanoid") then
  1869. if v:FindFirstChildOfClass("Humanoid").MaxHealth > 500 then
  1870. v:FindFirstChildOfClass("Humanoid").MaxHealth = 100
  1871. v:FindFirstChildOfClass("Humanoid").Health = 100
  1872. end
  1873. v.Humanoid:TakeDamage(math.random(43,86))
  1874. coroutine.resume(coroutine.create(function()
  1875. for i = 0,2,0.1 do
  1876. swait()
  1877. v.Head.Velocity = -v.Head.CFrame.lookVector*660 + Vector3.new(0,684,0)
  1878. end
  1879. end))
  1880. end
  1881. end
  1882.  
  1883. coroutine.resume(coroutine.create(function()
  1884. for i = 0, 2.4, 0.1 do
  1885. swait()
  1886. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(math.random(-0.55*4.8,0.55*4.8),math.random(-0.55*4.8,0.55*4.8),math.random(-0.55*4.8,0.55*4.8)),0.44)
  1887. end
  1888. end))
  1889.  
  1890. MagicBlock(BrickColor.new("White"), cf(bel.Position), 2000, 2000, 2000, -100, -100, -100, 0.05, 1)
  1891. MagicBlock(BrickColor.new("Royal purple"), cf(bel.Position), 2500, 2500, 2500, -150, -150, -150, 0.05, 1)
  1892. MagicBlock(BrickColor.new("White"), cf(bel.Position), 3000, 3000, 3000, -200, -200, -200, 0.05, 1)
  1893. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1800,222, 1800, 1150, 222, 1150, 0.05)
  1894. MagicCircle(BrickColor.new("White"), cf(bel.Position), 1800, 222, 1800, 1100, 224, 1100, 0.05)
  1895. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1800, 222, 1800, 150, 216, 150, 0.05)
  1896. MagicCircle(BrickColor.new("White"), cf(bel.Position), 0, 0, 0, 1100, 4100, 1100, 0.05)
  1897. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 0, 0, 1200, 1200, 1200, 0.05)
  1898. MagicCircle(BrickColor.new("White"), cf(bel.Position), 0, 0, 0, 1300, 1300,1300, 0.05)
  1899. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 0, 0, 1400, 1400, 1400, 0.05)
  1900. MagicCircle(BrickColor.new("White"), cf(bel.Position), 4800, 222, 1800, 224, 1350, 224, 0.005)
  1901. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1600, 222, 1600, 224, 1300, 224, 0.005)
  1902. MagicCircle(BrickColor.new("White"), cf(bel.Position), 1400, 222, 1400, 224, 1250, 224, 0.005)
  1903.  
  1904. WaveEffect(BrickColor.new("White"), cf(bel.Position)*angles(0,math.rad(0+90*i),0) , 1, 1, 1, 24, 5.4, 24, 0.09)
  1905. WaveEffect(BrickColor.new("Royal purple"), cf(bel.Position)*angles(0,math.rad(0-90*i),0) , 1, 1, 1, 22, 4.8, 22, 0.05)
  1906.  
  1907. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 10, 10, 10, 50, 50, 50, 0.065)
  1908. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 1, 0, 15, 0, 15, 0.025)
  1909. MagicRing(BrickColor.new("White"), cf(bel.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 24, 24, 1, 12, 12, 0, 0.015)
  1910. MagicRing(BrickColor.new("Royal purple"), cf(bel.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 24, 24, 1, 12, 12, 0, 0.015)
  1911. MagicRing(BrickColor.new("White"), cf(bel.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 24, 24, 1, 8, 8, 0, 0.015)
  1912. MagicRing(BrickColor.new("Royal purple"), cf(bel.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 24, 24, 1, 12, 12, 0, 0.015)
  1913. end
  1914. end))
  1915.  
  1916.  
  1917. end)
  1918.  
  1919.  
  1920.  
  1921.  
  1922. for i = 0,32,0.1 do
  1923. swait()
  1924. Head.Velocity = Vector3.new(0,2.4,0)
  1925. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-35), math.rad(0), math.rad(0)), 0.2)
  1926. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(43),math.rad(0),math.rad(0)),.2)
  1927. RW.C0 = clerp(RW.C0, CFrame.new(1.0, 0.5, -0.4) * angles(math.rad(80), math.rad(12), math.rad(-30)),.2)
  1928. LW.C0 = clerp(LW.C0, CFrame.new(-1., 0.5, -0.4) * angles(math.rad(80), math.rad(-12), math.rad(30)),.2)
  1929. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1.0, 0) * CFrame.Angles(math.rad(75), math.rad(34), math.rad(-35)), 0.2)
  1930. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1.0, 0) * CFrame.Angles(math.rad(75), math.rad(-34), math.rad(35)), 0.2)
  1931. end
  1932.  
  1933. coroutine.resume(coroutine.create(function()
  1934. for i = 0, 63, 0.1 do
  1935. swait()
  1936. end
  1937. if bel.Anchored == false then
  1938. bel:Destroy()
  1939. end
  1940. end))
  1941.  
  1942.  
  1943.  
  1944.  
  1945. attack = false
  1946. end
  1947.  
  1948.  
  1949.  
  1950. mouse.Button1Down:connect(function(key)
  1951. if attack == false then
  1952. shoot()
  1953. end
  1954. end)
  1955.  
  1956.  
  1957.  
  1958.  
  1959. mouse.Button1Up:connect(function(key)
  1960. if shooting == true then
  1961. shooting = false
  1962. end
  1963. end)
  1964.  
  1965.  
  1966.  
  1967.  
  1968. mouse.KeyDown:connect(function(key)
  1969. if key == 'e' and attack == false then
  1970. dshoot()
  1971. end
  1972. end)
  1973.  
  1974.  
  1975.  
  1976.  
  1977. mouse.KeyDown:connect(function(key)
  1978. if key == 'q' and attack == false then
  1979. finaldev()
  1980. end
  1981. end)
  1982.  
  1983. mouse.KeyUp:connect(function(key)
  1984. if key == 'e' and shooting == true then
  1985. shooting = false
  1986. end
  1987. end)
  1988.  
  1989.  
  1990.  
  1991. mouse.KeyDown:connect(function(key)
  1992. if key == 'f' and attack == false and evadecooldown == false then
  1993. Dash()
  1994. end
  1995. end)
  1996.  
  1997.  
  1998. local orb = part(3, Character, 0, 0.9, BrickColor.new("White"), "Effect", vt())
  1999. local msh = mesh("SpecialMesh", orb, "Sphere", "nil", vt(0, 0, 0), vt(15, 15, 15))
  2000.  
  2001. local orb2 = part(3, Character, 0, 0.9, BrickColor.new("White"), "Effect", vt())
  2002. local msh = mesh("SpecialMesh", orb2, "Sphere", "nil", vt(0, 0, 0), vt(15, 15, 15))
  2003. orb.Anchored = true
  2004. orb2.Anchored = true
  2005. Humanoid.WalkSpeed = 32
  2006.  
  2007.  
  2008. local f = 0
  2009. game:GetService("RunService"):BindToRenderStep("W0tT", 0, function()
  2010.  
  2011.  
  2012. f = f+1
  2013. cam.FieldOfView = lerp(cam.FieldOfView, 70, 0.076)
  2014. if f >= 6 then
  2015. f=0
  2016. SphereEffect(BrickColor.new("Royal purple"),cf(orb.Position)*angles(math.random(-360, 360),math.random(-360, 360),math.random(-360, 360)),1,5,1,.05,4,.05,0.03)
  2017. SphereEffect(BrickColor.new("Royal purple"),cf(orb2.Position)*angles(math.random(-360, 360),math.random(-360, 360),math.random(-360, 360)),1,5,1,.05,4,.05,0.03)
  2018. MagicRing(BrickColor.new("Royal purple"), cf(orb.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 3, 3, 1, -0.2, -0.2, 0, 0.07)
  2019. MagicCircle(BrickColor.new("Royal purple"), cf(orb.Position), 0, 0, 0, 1.25, 1.25, 1.25, 0.05)
  2020. MagicRing(BrickColor.new("Royal purple"), cf(orb2.Position) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 3, 3, 1, -0.2, -0.2, 0, 0.07)
  2021. MagicCircle(BrickColor.new("Royal purple"), cf(orb2.Position), 0, 0, 0, 1.25, 1.25, 1.25, 0.05)
  2022. MagicBlock(BrickColor.new("Royal purple"), cf(orb.Position) * cf(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 1, 1, 1, 1, 1, 1, 0.1, 2)
  2023. MagicBlock(BrickColor.new("Royal purple"), cf(orb2.Position) * cf(math.random(-200, 200) / 100, math.random(-200, 200) / 100, math.random(-200, 200) / 100) * euler(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360)), 1, 1, 1, 1, 1, 1, 0.1, 2)
  2024.  
  2025. end
  2026. end)
  2027.  
  2028. Humanoid.MaxHealth = 400
  2029.  
  2030. print("Move list")
  2031. print("---------")
  2032. print("F: Time Dash")
  2033. print("Hold Click: Lesser Bullets")
  2034. print("Hold E: Mega Bullets")
  2035. print("Q: Final Devastator")
  2036.  
  2037.  
  2038.  
  2039.  
  2040. while true do
  2041. swait()
  2042. sine = sine + change
  2043. --speed = speed + music.PlaybackLoudness/90
  2044. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2045. local velderp=RootPart.Velocity.y
  2046. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2047. local TiltVelocity = CFrame.new(RootPart.CFrame:vectorToObjectSpace(RootPart.Velocity))
  2048. if attack==true or attack==false then
  2049. if attack==false then
  2050. idle=idle+1
  2051. else
  2052. idle=0
  2053. end
  2054. if idle>=500 then
  2055. if attack==false then
  2056. end
  2057. end
  2058.  
  2059. Humanoid.Health = Humanoid.Health + 4
  2060.  
  2061. orb.CFrame = RightArm.CFrame * cf(0, -1, 0)
  2062. orb2.CFrame = LeftArm.CFrame * cf(0, -1, 0)
  2063. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2064. Anim="Jump"
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070. if attack==false then
  2071. change = 1
  2072. look = 0
  2073. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2074. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(4), math.rad(0), math.rad(0)), 0.07)
  2075. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10+2.05*math.cos(sine/5)),math.rad(0),math.rad(0)),0.07)
  2076. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20+2.05*math.cos(sine/5)), math.rad(-10), math.rad(50-2.05*math.cos(sine/5))), 0.07)
  2077. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20+2.05*math.cos(sine/5)), math.rad(-10), math.rad(-50+2.05*math.cos(sine/5))), 0.07)
  2078. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, -0.6) * CFrame.Angles(math.rad(-25+3.05*math.cos(sine/5)), math.rad(-3), math.rad(0)), 0.1)
  2079. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -.47, -0.7) * CFrame.Angles(math.rad(-12+3.05*math.cos(sine/5)), math.rad(0), math.rad(0)), 0.1)
  2080. end
  2081.  
  2082. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2083. Anim="Fall"
  2084. change = 1
  2085.  
  2086.  
  2087.  
  2088. if attack==false then
  2089. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2090. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0.2) * CFrame.Angles(math.rad(7+4*math.sin(sine/1.3)), math.rad(0), math.rad(0)),0.07)
  2091. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(140+12*math.cos(sine/1.3))), 0.07)
  2092. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.65, 0) * angles(math.rad(0), math.rad(0), math.rad(-140+12*math.cos(sine/1.3))), 0.07)
  2093. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(40+7*math.sin(sine/1.3)),math.rad(0),math.rad(0)),0.07)
  2094. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.17*math.cos(sine/1.3), -0.13) * CFrame.Angles(math.rad(18+7*math.cos(sine/1.3)), math.rad(3), math.rad(0)), 0.1)
  2095. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -.37+0.17*math.cos(sine/1.3), -0.2) * CFrame.Angles(math.rad(32+7*math.cos(sine/1.3)), math.rad(0), math.rad(0)), 0.1)
  2096. end
  2097.  
  2098. elseif torvel<1 and hitfloor~=nil then
  2099. Anim="Idle"
  2100. change = 1
  2101. if attack==false and equip == false then
  2102. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2103.  
  2104.  
  2105.  
  2106. orb.CFrame = orb.CFrame:lerp(RightArm.CFrame*cf(0+2*math.cos(sine/40), -5+2*math.sin(sine/40), 0),0.1)
  2107. orb2.CFrame = orb2.CFrame:lerp(LeftArm.CFrame*cf(0-2*math.cos(sine/40), -5+2*math.sin(sine/40), 0),0.1)
  2108.  
  2109. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.04*math.cos(sine/40), -0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.25)
  2110. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10+2.6*math.sin(sine/40)),math.rad(0),math.rad(60)),0.25)
  2111. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.55+0.04*math.sin(sine/40), 0.2) * angles(math.rad(-32+1.3*math.cos(sine/40)), math.rad(0+4*math.sin(sine/40)), math.rad(-22.3+2.2*math.cos(sine/40))),0.25)
  2112. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.55+0.04*math.sin(sine/40), -0.3-0.04*math.cos(sine/40)) * angles(math.rad(28+1.3*math.cos(sine/40)), math.rad(0-4*math.sin(sine/40)), math.rad(26.3-2.2*math.cos(sine/40))),0.25)
  2113. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.04*math.cos(sine/40), 0) * CFrame.Angles(math.rad(0), math.rad(8), math.rad(-7)),0.25)
  2114. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.57, -1+0.04*math.cos(sine/40), 0) * CFrame.Angles(math.rad(0), math.rad(-2), math.rad(3)),0.25)
  2115. end
  2116.  
  2117.  
  2118.  
  2119. elseif torvel>1.5 and torvel<22 and hitfloor~=nil then
  2120. Anim="Walk"
  2121. change = 0.84
  2122. look = 0
  2123. if attack==false and equip == false then
  2124. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.02)
  2125. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1+0.14*math.cos(sine/5), -0.3) * angles(math.rad(-2)*-math.rad(TiltVelocity.z)*9.5, math.rad(0+2*math.cos(sine/10)), math.rad(8)*-math.rad(TiltVelocity.x)*7.5+ RootPart.RotVelocity.Y / 46), 0.08)
  2126. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(4-3*math.sin(sine/5)),math.rad(0),math.rad(2) + RootPart.RotVelocity.Y / 13), 0.08)
  2127. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0+0.34*math.sin(sine/10)) * angles(math.rad(0-26*math.sin(sine/10))+ RootPart.RotVelocity.Y / -34, math.rad(0), math.rad(6+8*math.cos(sine/5))- RootPart.RotVelocity.Y / 34), 0.08)
  2128. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0-0.34*math.sin(sine/10)) * angles(math.rad(0+26*math.sin(sine/10))+ RootPart.RotVelocity.Y / 34, math.rad(0), math.rad(-6-8*math.cos(sine/5))+ RootPart.RotVelocity.Y / -34), 0.08)
  2129. --LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.21*math.cos(sine/10), -0.03+0.19*math.cos(sine/10)) * CFrame.Angles(math.rad(-8-25*math.sin(sine/10)*-math.rad(TiltVelocity.z)*12.5), math.rad(0)- RootPart.RotVelocity.Y / -24, math.rad(0-25*math.sin(sine/10)*math.rad(TiltVelocity.x)*11.5+ RootPart.RotVelocity.Y / -34)), 0.08)
  2130. --RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.21*math.cos(sine/10),-0.03-0.19*math.cos(sine/10)) * CFrame.Angles(math.rad(-8+25*math.sin(sine/10)*-math.rad(TiltVelocity.z)*12.5), math.rad(0)+ RootPart.RotVelocity.Y / 24, math.rad(0-25*math.sin(sine/10)*-math.rad(TiltVelocity.x)*11.5- RootPart.RotVelocity.Y / 34)), 0.08)
  2131. end
  2132. if attack == false or attack==true and noleg == false then
  2133. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.21*math.cos(sine/10), -0.03+0.19*math.cos(sine/10)) * CFrame.Angles(math.rad(-8-25*math.sin(sine/10)*-math.rad(TiltVelocity.z)*9.5), math.rad(0)- RootPart.RotVelocity.Y / -24, math.rad(0-25*math.sin(sine/10)*math.rad(TiltVelocity.x)*6.5- RootPart.RotVelocity.Y / 34)), 0.08)
  2134. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.21*math.cos(sine/10),-0.03-0.19*math.cos(sine/10)) * CFrame.Angles(math.rad(-8+25*math.sin(sine/10)*-math.rad(TiltVelocity.z)*9.5), math.rad(0)+ RootPart.RotVelocity.Y / 24, math.rad(0-25*math.sin(sine/10)*-math.rad(TiltVelocity.x)*6.5- RootPart.RotVelocity.Y / 34)), 0.08)
  2135. end
  2136.  
  2137. elseif torvel>=22 and hitfloor~=nil then
  2138. Anim="Run"
  2139. change = 0.84+ Character.Humanoid.WalkSpeed/112
  2140. if attack==false and equip == false then
  2141. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.02)
  2142. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.5*math.cos(sine/2.5), -.8) * angles(math.rad(-23+4*math.cos(sine/5)), math.rad(0+4*math.sin(sine/5)), math.rad(0)+ RootPart.RotVelocity.Y / 26), .1)
  2143. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-12+20*math.sin(sine/2.5)),math.rad(0),math.rad(0+5*math.sin(sine/5)) + RootPart.RotVelocity.Y / 13),.1)
  2144. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0-0.34*math.cos(sine/5)) * angles(math.rad(10+57*math.cos(sine/5))+ RootPart.RotVelocity.Y / -34, math.rad(0+43*math.cos(sine/5)), math.rad(5)- RootPart.RotVelocity.Y / 34),.25)
  2145. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0+0.34*math.cos(sine/5))*angles(math.rad(10-57*math.cos(sine/5))+ RootPart.RotVelocity.Y / 34,math.rad(0+43*math.cos(sine/5)),math.rad(-5)+ RootPart.RotVelocity.Y / -34),.25)
  2146.  
  2147.  
  2148. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.56*math.cos(sine/5), 0-0.48*math.cos(sine/5)) * CFrame.Angles(math.rad(0+73*math.sin(sine/5)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)+ RootPart.RotVelocity.Y / -54), 0.3)
  2149. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1-0.56*math.cos(sine/5),0+0.48*math.cos(sine/5)) * CFrame.Angles(math.rad(0-73*math.sin(sine/5)), math.rad(0)+ RootPart.RotVelocity.Y / 42, math.rad(0)- RootPart.RotVelocity.Y / 54), 0.3)
  2150. end
  2151.  
  2152. --[[
  2153. if attack==false then
  2154. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.4*math.cos(sine/5.5)/2, 0 *math.sin(sine/6.6)/2) * CFrame.Angles(math.rad(0) + -math.sin(sine/5.5)/1.2, math.rad(0), 0), .8)
  2155. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.4*math.cos(sine/5.5)/2,0 *-math.sin(sine/6.6)/2) * CFrame.Angles(math.rad(0) + math.sin(sine/5.5)/1.2, math.rad(0), 0), .8)
  2156. end
  2157. ]]
  2158. if attack==true and noleg == false then
  2159. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.24*math.cos(sine/5), 0.+0.24*math.cos(sine/5)) * CFrame.Angles(math.rad(0-74*math.sin(sine/5)), math.rad(0), math.rad(0)), 0.3)
  2160. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.24*math.cos(sine/5),0.-0.24*math.cos(sine/5)) * CFrame.Angles(math.rad(0+74*math.sin(sine/5)), math.rad(0), math.rad(0)), 0.3)
  2161. end
  2162.  
  2163.  
  2164. end
  2165. end
  2166.  
  2167.  
  2168.  
  2169. if 0 < #Effects then
  2170. for e = 1, #Effects do
  2171. if Effects[e] ~= nil then
  2172. local Thing = Effects[e]
  2173. if Thing ~= nil then
  2174. local Part = Thing[1]
  2175. local Mode = Thing[2]
  2176. local Delay = Thing[3]
  2177. local IncX = Thing[4]
  2178. local IncY = Thing[5]
  2179. local IncZ = Thing[6]
  2180. if Thing[2] == "CylinderClang" then
  2181. if Thing[3] <= 1 then
  2182. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2183. Thing[7] = Thing[1].CFrame
  2184. effect("New Yeller", 0, Thing[8], Thing[7])
  2185. Thing[8] = Thing[7]
  2186. Thing[3] = Thing[3] + Thing[4]
  2187. else
  2188. Part.Parent = nil
  2189. table.remove(Effects, e)
  2190. end
  2191. end
  2192. if Thing[2] == "showDamage" then
  2193. if Thing[6] < Thing[5] then
  2194. Thing[6] = Thing[6] + 1
  2195. else
  2196. if Thing[6] < Thing[7] then
  2197. Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  2198. Thing[6] = Thing[6] + 1
  2199. else
  2200. if Thing[6] < Thing[8] then
  2201. Thing[6] = Thing[6] + 1
  2202. else
  2203. if Thing[6] < Thing[9] then
  2204. Thing[6] = Thing[6] + 1
  2205. Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  2206. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  2207. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  2208. else
  2209. Thing[1].Parent = nil
  2210. table.remove(Effects, e)
  2211. end
  2212. end
  2213. end
  2214. end
  2215. end
  2216. if Thing[2] == "PartiEmi" then
  2217. Thing[3] = Thing[3] - 1
  2218. if Thing[3] <= 0 then
  2219. Thing[1].Enabled = false
  2220. table.remove(Effects, e)
  2221. end
  2222. end
  2223. if Thing[2] == "AdjuEff" then
  2224. if 0 < Thing[3] then
  2225. Thing[3] = Thing[3] - 1
  2226. Thing[1].Size = Thing[1].Size + UDim2.new(0.2, 0, 0.2, 0)
  2227. Thing[1].StudsOffset = Thing[1].StudsOffset + vt(0, -0.2, 0)
  2228. Thing[4].ImageTransparency = Thing[4].ImageTransparency + 0.1
  2229. else
  2230. Thing[1].Parent = nil
  2231. table.remove(Effects, e)
  2232. end
  2233. end
  2234. if Thing[2] ~= "Shoot" and Thing[2] ~= "DecreaseStat" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" and Thing[2] ~= "showDamage" and Thing[2] ~= "PartiEmi" and Thing[2] ~= "AdjuEff" then
  2235. if Thing[1].Transparency <= 1 then
  2236. if Thing[2] == "Block1" then
  2237. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2238. Mesh = Thing[7]
  2239. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2240. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2241. else
  2242. if Thing[2] == "Block2" then
  2243. Thing[1].CFrame = Thing[1].CFrame
  2244. Mesh = Thing[7]
  2245. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2246. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2247. else
  2248. if Thing[2] == "Block3" then
  2249. Thing[9] = Thing[9] + 0.5
  2250. Thing[1].CFrame = Thing[8] * cf(0, Thing[9], 0)
  2251. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2252. Mesh = Thing[7]
  2253. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2254. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2255. else
  2256. if Thing[2] == "Skull" then
  2257. Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8] / 2, -Thing[8])
  2258. Mesh = Thing[7]
  2259. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2260. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2261. else
  2262. if Thing[2] == "Cylinder" then
  2263. Mesh = Thing[7]
  2264. Mesh.Scale = Mesh.Scale + vt(Thing[4]-Thing[1].Transparency, Thing[5]-Thing[1].Transparency, Thing[6]-Thing[1].Transparency)
  2265. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2266. else
  2267. if Thing[2] == "Cylinder2" then
  2268. Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8], 0)
  2269. Mesh = Thing[7]
  2270. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2271. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2272. else
  2273. if Thing[2] == "Blood" then
  2274. Mesh = Thing[7]
  2275. Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0)
  2276. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2277. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2278. else
  2279. if Thing[2] == "Elec" then
  2280. Mesh = Thing[10]
  2281. Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  2282. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2283. else
  2284. if Thing[2] == "Disappear" then
  2285. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2286. end
  2287. end
  2288. end
  2289. end
  2290. end
  2291. end
  2292. end
  2293. end
  2294. end
  2295. else
  2296. Part.Parent = nil
  2297. table.remove(Effects, e)
  2298. end
  2299. end
  2300. end
  2301. end
  2302. end
  2303. end
  2304. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement