Advertisement
kostik228

xsdfef

Nov 27th, 2018
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 107.28 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. m=Instance.new('Model',Character)
  820.  
  821.  
  822. local function weldBetween(a, b)
  823. local weldd = Instance.new("ManualWeld")
  824. weldd.Part0 = a
  825. weldd.Part1 = b
  826. weldd.C0 = CFrame.new()
  827. weldd.C1 = b.CFrame:inverse() * a.CFrame
  828. weldd.Parent = a
  829. return weldd
  830. end
  831.  
  832. ArtificialHB = Instance.new("BindableEvent", script)
  833. ArtificialHB.Name = "Heartbeat"
  834.  
  835. script:WaitForChild("Heartbeat")
  836.  
  837. frame = 1 / 80
  838. tf = 0
  839. allowframeloss = false
  840. tossremainder = false
  841. lastframe = tick()
  842. script.Heartbeat:Fire()
  843. game:GetService("RunService").Heartbeat:connect(function(s, p)
  844. tf = tf + s
  845. if tf >= frame then
  846. if allowframeloss then
  847. script.Heartbeat:Fire()
  848. lastframe = tick()
  849. else
  850. for i = 1, math.floor(tf / frame) do
  851. script.Heartbeat:Fire()
  852. end
  853. lastframe = tick()
  854. end
  855. if tossremainder then
  856. tf = 0
  857. else
  858. tf = tf - frame * math.floor(tf / frame)
  859. end
  860. end
  861. end)
  862.  
  863. --[[]
  864. function swait(num)
  865. if num == 0 or num == nil then
  866. ArtificialHB.Event:wait()
  867. else
  868. for i = 0, num do
  869. ArtificialHB.Event:wait()
  870. end
  871. end
  872. end
  873.  
  874. ]]
  875.  
  876.  
  877. function swait(num)
  878. if num == 0 or num == nil then
  879. game:service("RunService").Stepped:wait()
  880. else
  881. for i = 0, num do
  882. game:service("RunService").Stepped:wait()
  883. end
  884. end
  885. end
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894. function RemoveOutlines(part)
  895. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  896. end
  897.  
  898.  
  899. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  900. local fp = it("Part")
  901. fp.formFactor = formfactor
  902. fp.Parent = parent
  903. fp.Reflectance = reflectance
  904. fp.Transparency = transparency
  905. fp.CanCollide = false
  906. fp.Locked = true
  907. fp.BrickColor = brickcolor
  908. fp.Name = name
  909. fp.Size = size
  910. fp.Position = Torso.Position
  911. NoOutline(fp)
  912. if fp.BrickColor == BrickColor.new("Dark indigo") then
  913. fp.Material = "Neon"
  914. else
  915. if fp.BrickColor == BrickColor.new("Really black") then
  916. fp.BrickColor = BrickColor.new("Really black")
  917. fp.Material = "Metal"
  918. else
  919. fp.Material = "Neon"
  920. end
  921. end
  922. fp:BreakJoints()
  923. return fp
  924. end
  925.  
  926. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  927. local mesh = it(Mesh)
  928. mesh.Parent = part
  929. if Mesh == "SpecialMesh" then
  930. mesh.MeshType = meshtype
  931. if meshid ~= "nil" then
  932. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  933. end
  934. end
  935. mesh.Offset = offset
  936. mesh.Scale = scale
  937. return mesh
  938. end
  939. weld = function(parent, part0, part1, c0)
  940. local weld = it("Weld")
  941. weld.Parent = parent
  942. weld.Part0 = part0
  943. weld.Part1 = part1
  944. weld.C0 = c0
  945. return weld
  946. end
  947.  
  948. F1 = Instance.new("Folder", Character)
  949. F1.Name = "Effects Folder"
  950. F2 = Instance.new("Folder", F1)
  951. F2.Name = "Effects"
  952. Triangle = function(a, b, c)
  953. end
  954.  
  955. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent)
  956. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  957. prt.Anchored = true
  958. prt.CFrame = cframe
  959. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  960. game:GetService("Debris"):AddItem(prt, 10)
  961. if Type == 1 or Type == nil then
  962. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  963. else
  964. if Type == 2 then
  965. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  966. else
  967. if Type == 3 then
  968. 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})
  969. end
  970. end
  971. end
  972. end
  973. MagicSkull = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, goe)
  974. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  975. prt.Anchored = true
  976. prt.CFrame = cframe
  977. msh = mesh("SpecialMesh", prt, "FileMesh", "14028428", vt(0, 0, 0), vt(x1, y1, z1))
  978. game:GetService("Debris"):AddItem(prt, 10)
  979. table.insert(Effects, {prt, "Skull", delay, x3, y3, z3, msh, goe})
  980. end
  981. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  982. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  983. prt.Anchored = true
  984. prt.CFrame = cframe
  985. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  986. game:GetService("Debris"):AddItem(prt, 10)
  987. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  988. end
  989. MagicRing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  990. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  991. prt.Anchored = true
  992. prt.CFrame = cframe * cf(x2, y2, z2)
  993. local msh = mesh("SpecialMesh", prt, "FileMesh", "3270017", vt(0, 0, 0), vt(x1, y1, z1))
  994. game:GetService("Debris"):AddItem(prt, 10)
  995. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  996. end
  997. MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, push)
  998. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  999. prt.Anchored = true
  1000. prt.CFrame = cframe
  1001. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  1002. game:GetService("Debris"):AddItem(prt, 10)
  1003. table.insert(Effects, {prt, "Blood", delay, x3, y3, z3, msh, push})
  1004. end
  1005. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1006. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1007. prt.Anchored = true
  1008. prt.CFrame = cframe
  1009. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1010. game:GetService("Debris"):AddItem(prt, 10)
  1011. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1012. end
  1013. MagicCylinder2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, goe)
  1014. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1015. prt.Anchored = true
  1016. prt.CFrame = cframe
  1017. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1018. game:GetService("Debris"):AddItem(prt, 10)
  1019. table.insert(Effects, {prt, "Cylinder2", delay, x3, y3, z3, msh, goe})
  1020. end
  1021. MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1022. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1023. prt.Anchored = true
  1024. prt.CFrame = cframe
  1025. local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  1026. game:GetService("Debris"):AddItem(prt, 10)
  1027. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1028. end
  1029. ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
  1030. local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
  1031. prt.Anchored = true
  1032. prt.CFrame = cframe
  1033. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  1034. game:GetService("Debris"):AddItem(prt, 10)
  1035. table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
  1036. end
  1037. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1038. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1039. prt.Anchored = true
  1040. prt.CFrame = cframe
  1041. local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1042. game:GetService("Debris"):AddItem(prt, 10)
  1043. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1044. end
  1045. MagicFire = function(brickcolor, cframe, x1, y1, z1, delay)
  1046. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1047. prt.Anchored = true
  1048. prt.CFrame = cframe
  1049. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1050. game:GetService("Debris"):AddItem(prt, 10)
  1051. table.insert(Effects, {prt, "Fire", delay, 1, 1, 1, msh})
  1052. end
  1053. MagicFireWave = function(brickcolor, cframe, x1, y1, z1)
  1054. local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
  1055. prt.Anchored = true
  1056. prt.CFrame = cframe
  1057. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1058. d = Instance.new("Decal")
  1059. d.Parent = prt
  1060. d.Texture = "http://www.roblox.com/asset/?id=26356434"
  1061. d.Face = "Top"
  1062. d = Instance.new("Decal")
  1063. d.Parent = prt
  1064. d.Texture = "http://www.roblox.com/asset/?id=26356434"
  1065. d.Face = "Bottom"
  1066. game:GetService("Debris"):AddItem(prt, 10)
  1067. table.insert(Effects, {prt, "FireWave", 1, 30, math.random(400, 600) / 100, msh})
  1068. end
  1069. ElecEffect = function(cff, x, y, z)
  1070. local prt = part(3, workspace, 0, 0, BrickColor.new("White"), "Part", vt(1, 1, 1))
  1071. prt.Anchored = true
  1072. prt.CFrame = cff * cf(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1073. prt.CFrame = cf(prt.Position)
  1074. game:GetService("Debris"):AddItem(prt, 10)
  1075. xval = math.random() / 3
  1076. yval = math.random() / 3
  1077. zval = math.random() / 3
  1078. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(xval, yval, zval))
  1079. Effects[#Effects + 1] = {prt, "Elec", 0.2, x, y, z, xval, yval, zval, msh}
  1080. end
  1081.  
  1082. function FindNearestTorso(Position, Distance, SinglePlayer)
  1083. if SinglePlayer then
  1084. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  1085. end
  1086. local List = {}
  1087. for i, v in pairs(workspace:GetChildren()) do
  1088. if v:IsA("Model") then
  1089. if v:findFirstChild("Torso") then
  1090. if v ~= Character then
  1091. if (v.Torso.Position - Position).magnitude <= Distance then
  1092. table.insert(List, v)
  1093. end
  1094. end
  1095. end
  1096. end
  1097. end
  1098. return List
  1099. end
  1100.  
  1101.  
  1102. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1103. local Part = Create("Part"){
  1104. Parent = Parent,
  1105. Reflectance = Reflectance,
  1106. Transparency = Transparency,
  1107. CanCollide = false,
  1108. Locked = true,
  1109. BrickColor = BrickColor.new(tostring(BColor)),
  1110. Name = Name,
  1111. Size = Size,
  1112. Material = Material,
  1113. }
  1114. RemoveOutlines(Part)
  1115. return Part
  1116. end
  1117.  
  1118. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1119. local Msh = Create(Mesh){
  1120. Parent = Part,
  1121. Offset = OffSet,
  1122. Scale = Scale,
  1123. }
  1124. if Mesh == "SpecialMesh" then
  1125. Msh.MeshType = MeshType
  1126. Msh.MeshId = MeshId
  1127. end
  1128. return Msh
  1129. end
  1130.  
  1131.  
  1132.  
  1133. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1134. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1135. prt.Anchored = true
  1136. prt.CFrame = cframe
  1137. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1138. game:GetService("Debris"):AddItem(prt, 10)
  1139. if Type == 1 or Type == nil then
  1140. table.insert(Effects, {
  1141. prt,
  1142. "Block1",
  1143. delay,
  1144. x3,
  1145. y3,
  1146. z3,
  1147. msh
  1148. })
  1149. elseif Type == 2 then
  1150. table.insert(Effects, {
  1151. prt,
  1152. "Block2",
  1153. delay,
  1154. x3,
  1155. y3,
  1156. z3,
  1157. msh
  1158. })
  1159. end
  1160. end
  1161.  
  1162. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1163. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1164. prt.Anchored = true
  1165. prt.CFrame = cframe
  1166. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1167. game:GetService("Debris"):AddItem(prt, 10)
  1168. table.insert(Effects, {
  1169. prt,
  1170. "Cylinder",
  1171. delay,
  1172. x3,
  1173. y3,
  1174. z3,
  1175. msh
  1176. })
  1177. end
  1178.  
  1179. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1180. 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))
  1181. prt.Anchored=true
  1182. prt.CFrame=cframe
  1183. msh=CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1184. game:GetService("Debris"):AddItem(prt,2)
  1185. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  1186. for i=0,1,delay do
  1187. swait()
  1188. Part.Transparency=i
  1189. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1190. end
  1191. Part.Parent=nil
  1192. end),prt,msh,(math.random(0,1)+math.random())/5)
  1193. end
  1194.  
  1195. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1196. local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1197. prt.Anchored = true
  1198. prt.CFrame = cframe
  1199. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1200. game:GetService("Debris"):AddItem(prt, 10)
  1201. table.insert(Effects, {
  1202. prt,
  1203. "Cylinder",
  1204. delay,
  1205. x3,
  1206. y3,
  1207. z3,
  1208. msh
  1209. })
  1210. end
  1211.  
  1212. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1213. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1214. prt.Anchored = true
  1215. prt.CFrame = cframe
  1216. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1217. game:GetService("Debris"):AddItem(prt, 10)
  1218. table.insert(Effects, {
  1219. prt,
  1220. "Cylinder",
  1221. delay,
  1222. x3,
  1223. y3,
  1224. z3,
  1225. msh
  1226. })
  1227. end
  1228.  
  1229. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1230. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1231. prt.Anchored = true
  1232. prt.CFrame = cframe
  1233. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1234. game:GetService("Debris"):AddItem(prt, 10)
  1235. table.insert(Effects, {
  1236. prt,
  1237. "Cylinder",
  1238. delay,
  1239. x3,
  1240. y3,
  1241. z3,
  1242. msh
  1243. })
  1244. end
  1245.  
  1246.  
  1247. function MoonEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1248. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1249. prt.Anchored = true
  1250. prt.CFrame = cframe
  1251. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://259403370", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1252. game:GetService("Debris"):AddItem(prt, 10)
  1253. table.insert(Effects, {
  1254. prt,
  1255. "Cylinder",
  1256. delay,
  1257. x3,
  1258. y3,
  1259. z3,
  1260. msh
  1261. })
  1262. end
  1263.  
  1264. function HeadEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1265. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1266. prt.Anchored = true
  1267. prt.CFrame = cframe
  1268. local msh = CreateMesh("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1269. game:GetService("Debris"):AddItem(prt, 10)
  1270. table.insert(Effects, {
  1271. prt,
  1272. "Cylinder",
  1273. delay,
  1274. x3,
  1275. y3,
  1276. z3,
  1277. msh
  1278. })
  1279. end
  1280.  
  1281. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  1282. local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1283. prt.Anchored = true
  1284. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1285. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1286. local num = math.random(10, 50) / 1000
  1287. game:GetService("Debris"):AddItem(prt, 10)
  1288. table.insert(Effects, {
  1289. prt,
  1290. "Shatter",
  1291. num,
  1292. prt.CFrame,
  1293. math.random() - math.random(),
  1294. 0,
  1295. math.random(50, 100) / 100
  1296. })
  1297. end
  1298.  
  1299. function FindNearestHead(Position, Distance, SinglePlayer)
  1300. if SinglePlayer then
  1301. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1302. end
  1303. local List = {}
  1304. for i, v in pairs(workspace:GetChildren()) do
  1305. if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
  1306. table.insert(List, v)
  1307. end
  1308. end
  1309. return List
  1310. end
  1311.  
  1312.  
  1313.  
  1314. function clerp(a,b,t)
  1315. local qa = {QuaternionFromCFrame(a)}
  1316. local qb = {QuaternionFromCFrame(b)}
  1317. local ax, ay, az = a.x, a.y, a.z
  1318. local bx, by, bz = b.x, b.y, b.z
  1319. local _t = 1-t
  1320. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1321. end
  1322.  
  1323. function QuaternionFromCFrame(cf)
  1324. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1325. local trace = m00 + m11 + m22
  1326. if trace > 0 then
  1327. local s = math.sqrt(1 + trace)
  1328. local recip = 0.5/s
  1329. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1330. else
  1331. local i = 0
  1332. if m11 > m00 then
  1333. i = 1
  1334. end
  1335. if m22 > (i == 0 and m00 or m11) then
  1336. i = 2
  1337. end
  1338. if i == 0 then
  1339. local s = math.sqrt(m00-m11-m22+1)
  1340. local recip = 0.5/s
  1341. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1342. elseif i == 1 then
  1343. local s = math.sqrt(m11-m22-m00+1)
  1344. local recip = 0.5/s
  1345. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1346. elseif i == 2 then
  1347. local s = math.sqrt(m22-m00-m11+1)
  1348. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1349. end
  1350. end
  1351. end
  1352. local lerp = function(a, b, t)
  1353. return a * (1 - t) + b * t
  1354. end
  1355.  
  1356.  
  1357.  
  1358.  
  1359. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1360. local xs, ys, zs = x + x, y + y, z + z
  1361. local wx, wy, wz = w*xs, w*ys, w*zs
  1362. local xx = x*xs
  1363. local xy = x*ys
  1364. local xz = x*zs
  1365. local yy = y*ys
  1366. local yz = y*zs
  1367. local zz = z*zs
  1368. 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))
  1369. end
  1370. function QuaternionSlerp(a, b, t)
  1371. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1372. local startInterp, finishInterp;
  1373. if cosTheta >= 0.0001 then
  1374. if (1 - cosTheta) > 0.0001 then
  1375. local theta = math.acos(cosTheta)
  1376. local invSinTheta = 1/math.sin(theta)
  1377. startInterp = math.sin((1-t)*theta)*invSinTheta
  1378. finishInterp = math.sin(t*theta)*invSinTheta
  1379. else
  1380. startInterp = 1-t
  1381. finishInterp = t
  1382. end
  1383. else
  1384. if (1+cosTheta) > 0.0001 then
  1385. local theta = math.acos(-cosTheta)
  1386. local invSinTheta = 1/math.sin(theta)
  1387. startInterp = math.sin((t-1)*theta)*invSinTheta
  1388. finishInterp = math.sin(t*theta)*invSinTheta
  1389. else
  1390. startInterp = t-1
  1391. finishInterp = t
  1392. end
  1393. end
  1394. 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
  1395. end
  1396.  
  1397. function weld5(part0, part1, c0, c1)
  1398. weeld=Instance.new("Weld", part0)
  1399. weeld.Part0=part0
  1400. weeld.Part1=part1
  1401. weeld.C0=c0
  1402. weeld.C1=c1
  1403. return weeld
  1404. end
  1405.  
  1406. --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)
  1407.  
  1408. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1409. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1410. end
  1411.  
  1412.  
  1413. function Bullets(thinggy,place,size,color,velocity,damage,bounce,collide,rotation)
  1414. swait()
  1415. local Bullet = Instance.new("Part",Workspace)
  1416. Bullet.Locked = true
  1417. Bullet.Name = "Bullet"
  1418. Bullet.Anchored = bounce
  1419. Bullet.CanCollide = collide
  1420. Bullet.Transparency = 0.24
  1421. Bullet.Reflectance = 0
  1422. Bullet.BottomSurface = 0
  1423. Bullet.TopSurface = 0
  1424. Bullet.Shape = 0
  1425. Bullet.BrickColor = BrickColor.new(color)
  1426. Bullet.Size = Vector3.new(size,size,size)
  1427. Bullet.Material = "Neon"
  1428. Bullet.Orientation = vt(-90,0,0)
  1429. local Bulletthing = Instance.new("SpecialMesh",Bullet)
  1430. Bulletthing.MeshType = "Sphere"
  1431. local Bulletforce = Instance.new("BodyForce")
  1432. Bulletforce.force = Vector3.new(0,Bullet:GetMass()*166.2,0)
  1433. Bulletforce.Parent = Bullet
  1434. Bullet.CFrame = thinggy.CFrame*CFrame.new(math.random(-place,place),math.random(-place,place),math.random(-place,place))
  1435. local bv = Instance.new("BodyVelocity",Bullet)
  1436. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1437. Bullet.CFrame = CFrame.new(Bullet.Position,mouse.Hit.p)
  1438. bv.velocity = Bullet.CFrame.lookVector*velocity
  1439.  
  1440.  
  1441. Bullet.Touched:connect(function(hit)
  1442.  
  1443. 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
  1444. local orbexplode = Instance.new("Sound", Bullet)
  1445. orbexplode.Volume = 4
  1446. orbexplode.PlayOnRemove = true
  1447. orbexplode.SoundId = "http://roblox.com/asset/?id=142070127"
  1448. orbexplode.Pitch = 1
  1449. orbexplode:Destroy()
  1450. deb:AddItem(orbexplode, 4)
  1451. Bullet.Anchored = true
  1452. Bullet.Transparency = 1
  1453. deb:AddItem(Bullet, 4)
  1454. local Explode = Instance.new("Explosion")
  1455. Explode.Position = Bullet.Position
  1456. Explode.Parent = Workspace
  1457. Explode.BlastPressure = 0
  1458. Explode.BlastRadius = Bullet.Size.X *5.6
  1459. Explode.Visible = false
  1460.  
  1461. Explode.Hit:connect(function(hit)
  1462. if hit.Parent:FindFirstChildOfClass("Humanoid")~=nil and hit.Parent ~= Character then
  1463. if hit.Parent:FindFirstChildOfClass("Humanoid").MaxHealth > 500 then
  1464. hit.Parent:FindFirstChildOfClass("Humanoid").MaxHealth = 100
  1465. hit.Parent:FindFirstChildOfClass("Humanoid").Health = 100
  1466. end
  1467. if attackdebounce == false then
  1468. attackdebounce = true
  1469. hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(damage/2,damage))
  1470. wait(0.02)
  1471. attackdebounce = false
  1472. end
  1473. end
  1474. end)
  1475. coroutine.resume(coroutine.create(function()
  1476.  
  1477. MagicCircle(BrickColor.new("Royal purple"), cf(Bullet.Position), 10, 10, 10, 50, 50, 50, 0.065)
  1478. MagicCircle(BrickColor.new("Royal purple"), cf(Bullet.Position), 0, 1, 0, 15, 0, 15, 0.025)
  1479. 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)
  1480. 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)
  1481. end))
  1482. end
  1483. end)
  1484. coroutine.resume(coroutine.create(function()
  1485. for i = 0,16,0.1 do
  1486. swait()
  1487. end
  1488. if Bullet.Anchored == false then
  1489. Bullet:Destroy()
  1490. end
  1491. end))
  1492.  
  1493. end
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499. local bl = Instance.new("BlurEffect",cam)
  1500. bl.Size = 0
  1501.  
  1502.  
  1503. function Dash()
  1504. evadecooldown = true
  1505. attack = true
  1506. so("http://www.roblox.com/asset/?id=231917788", Torso, 1, 1)
  1507.  
  1508. so("http://www.roblox.com/asset/?id=231917788", Torso, 1, 1)
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519. bl.Size = 84
  1520.  
  1521.  
  1522. MagicCircle(BrickColor.new("White"), cf(RootPart.Position), 800, 5, 800, 0, 0, 0, 0.05)
  1523. MagicCircle(BrickColor.new("Royal purple"), cf(RootPart.Position), 800, 10, 800, -40, 0, -40, 0.025)
  1524. MagicCircle(BrickColor.new("White"), cf(RootPart.Position), 800, 10, 800, -42, 1000, -42, 0.05)
  1525. MagicCircle(BrickColor.new("Royal purple"), cf(RootPart.Position), 1000, 10, 1000, -62, 1200, -62, 0.05)
  1526.  
  1527. RootPart.CFrame = RootPart.CFrame*CFrame.new(0,0,-96)
  1528. RootPart.Velocity = RootPart.CFrame.lookVector *280
  1529.  
  1530. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  1531. if v:FindFirstChild("Torso") and v:FindFirstChild("Humanoid") then
  1532.  
  1533. so("http://www.roblox.com/asset/?id=138186576", v.Torso, 10, 1)
  1534. v:FindFirstChild("Humanoid"):TakeDamage(math.random(18,36))
  1535. SphereEffect(BrickColor.new("Royal purple"), cf(v.Torso.Position) , 1, 1, 1, 6.8, 6.8, 6.8, 0.04)
  1536. MagicBlock(BrickColor.new("White"), cf(v.Torso.Position), 2000, 2000, 2000, -100, -100, -100, 0.05, 1)
  1537. MagicBlock(BrickColor.new("Royal purple"), cf(v.Torso.Position), 2500, 2500, 2500, -150, -150, -150, 0.05, 1)
  1538. MagicBlock(BrickColor.new("White"), cf(v.Torso.Position), 3000, 3000, 3000, -200, -200, -200, 0.05, 1)
  1539. MagicCircle(BrickColor.new("Royal purple"), cf(v.Torso.Position), 800, 2, 800, 150, 2, 150, 0.05)
  1540. MagicCircle(BrickColor.new("White"), cf(v.Torso.Position), 800, 2, 800, 100, 4, 100, 0.05)
  1541. MagicCircle(BrickColor.new("Royal purple"), cf(v.Torso.Position), 800, 2, 800, 50, 6, 50, 0.05)
  1542. MagicCircle(BrickColor.new("White"), cf(v.Torso.Position), 0, 0, 0, 100, 100, 100, 0.05)
  1543. MagicCircle(BrickColor.new("Royal purple"), cf(v.Torso.Position), 0, 0, 0, 200, 200, 200, 0.05)
  1544. MagicCircle(BrickColor.new("White"), cf(v.Torso.Position), 0, 0, 0, 300, 300, 300, 0.05)
  1545. MagicCircle(BrickColor.new("Royal purple"), cf(v.Torso.Position), 0, 0, 0, 400, 400, 400, 0.05)
  1546. MagicCircle(BrickColor.new("White"), cf(v.Torso.Position), 800, 2, 800, 4, 350, 4, 0.005)
  1547. MagicCircle(BrickColor.new("Royal purple"), cf(v.Torso.Position), 600, 2, 600, 4, 300, 4, 0.005)
  1548. MagicCircle(BrickColor.new("White"), cf(v.Torso.Position), 400, 2, 400, 4, 250, 4, 0.005)
  1549. end
  1550. end
  1551.  
  1552. for i = 0,1,0.064 do
  1553. swait()
  1554. cam.FieldOfView = lerp(cam.FieldOfView, 110, 0.5)
  1555. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,12),0.24)
  1556. RootPart.Velocity = RootPart.CFrame.lookVector * 175
  1557. bl.Size = bl.Size - 8.5
  1558. 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)
  1559. 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)
  1560. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  1561. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)),.4)
  1562. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.4)
  1563. 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)
  1564. 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)
  1565.  
  1566.  
  1567.  
  1568. end
  1569.  
  1570.  
  1571.  
  1572. attack = false
  1573. attackdebounce = false
  1574. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.1)
  1575. wait(.2)
  1576. bl.Size = 0
  1577. evadecooldown = false
  1578.  
  1579.  
  1580.  
  1581. end
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594. local shooting = false
  1595.  
  1596.  
  1597.  
  1598. function shoot()
  1599. attack = true
  1600. shooting = true
  1601.  
  1602.  
  1603. local thing = Instance.new("BodyGyro",RootPart)
  1604. thing.D = 50
  1605. thing.P = 6000
  1606. thing.MaxTorque = vt(100000,math.huge,0)
  1607. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1608. for i = 0,2,0.16 do
  1609. swait()
  1610. 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)
  1611. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.2)
  1612. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)),.2)
  1613. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.2)
  1614. 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)
  1615. 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)
  1616. end
  1617.  
  1618.  
  1619. while shooting == true do
  1620. swait(1)
  1621.  
  1622. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)),.2)
  1623. so("http://roblox.com/asset/?id=200633327",Torso,2,1)
  1624. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1625. Torso.Velocity = RootPart.CFrame.lookVector * -13
  1626. Bullets(RightArm,0,1.5,"Royal purple",700,25.5,false,false)
  1627. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(40), math.rad(80)),.2)
  1628. coroutine.resume(coroutine.create(function()
  1629. for i = 0, 0.5, 0.1 do
  1630. swait()
  1631. 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)
  1632. end
  1633. end))
  1634. end
  1635.  
  1636. attack = false
  1637. thing:Destroy()
  1638. end
  1639.  
  1640.  
  1641.  
  1642. function dshoot()
  1643. attack = true
  1644. shooting = true
  1645.  
  1646.  
  1647. local thing = Instance.new("BodyGyro",RootPart)
  1648. thing.D = 50
  1649. thing.P = 6000
  1650. thing.MaxTorque = vt(100000,math.huge,0)
  1651. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1652. so("http://roblox.com/asset/?id=1268159756",Torso,5,1)
  1653. for i = 0,3,0.16 do
  1654. swait()
  1655. MagicRing(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,0,-8), 9, 9, 1, -0.7, -0.7, 0, 0.07)
  1656. MagicCircle(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,0,-8), 9, 9, 9, -0.7, -0.7, -0.7, 0.07)
  1657. 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)
  1658. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1659. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.4) * angles(math.rad(90), math.rad(0), math.rad(-20)),.2)
  1660. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.4) * angles(math.rad(90), math.rad(0), math.rad(20)),.2)
  1661. 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)
  1662. 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)
  1663. end
  1664.  
  1665.  
  1666.  
  1667. while shooting == true do
  1668. swait(0.5)
  1669. coroutine.resume(coroutine.create(function()
  1670. MagicRing(BrickColor.new("Royal purple"), RootPart.CFrame*CFrame.new(0,0,-8), 3, 3, 1, 10.2, 10.2, 0, 0.07)
  1671. end))
  1672. 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)
  1673. 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)
  1674. so("http://roblox.com/asset/?id=200633327",Torso,2,1)
  1675. thing.CFrame = CFrame.new(RootPart.Position,mouse.Hit.p)
  1676. Torso.Velocity = RootPart.CFrame.lookVector * -63
  1677.  
  1678.  
  1679. 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)
  1680. Bullets(RightArm,0,2.5,"Royal purple",1200,45.5,false,false)
  1681. coroutine.resume(coroutine.create(function()
  1682. for i = 0, 0.5, 0.1 do
  1683. swait()
  1684. 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)
  1685. end
  1686. end))
  1687.  
  1688. 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)
  1689. Bullets(LeftArm,0,2.5,"Royal purple",1200,45.5,false,false)
  1690. coroutine.resume(coroutine.create(function()
  1691. for i = 0, 0.5, 0.1 do
  1692. swait()
  1693. 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)
  1694. end
  1695. end))
  1696.  
  1697. end
  1698.  
  1699. attack = false
  1700. thing:Destroy()
  1701. end
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707. function finaldev()
  1708. attack = true
  1709. so("http://roblox.com/asset/?id=815032096",Head,6,0.84)
  1710. so("http://roblox.com/asset/?id=200633529",Workspace,3,0.84)
  1711.  
  1712. for i = 0,14,0.1 do
  1713. swait()
  1714. 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)
  1715. 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)
  1716. 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)
  1717. 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)
  1718. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(14),math.rad(0),math.rad(0)),.15)
  1719. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(87)),.15)
  1720. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0) * angles(math.rad(0), math.rad(0), math.rad(-87)),.15)
  1721. 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)
  1722. 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)
  1723.  
  1724. end
  1725. so("http://roblox.com/asset/?id=197161452",Torso,7,1)
  1726. for i = 0,6,0.1 do
  1727. swait()
  1728. 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)
  1729. 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)
  1730. Head.Velocity = Vector3.new(0,320,0)
  1731. 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)
  1732. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(70),math.rad(0),math.rad(0)),.1)
  1733. RW.C0 = clerp(RW.C0, CFrame.new(.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.1)
  1734. LW.C0 = clerp(LW.C0, CFrame.new(-.7, -0.22, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.1)
  1735. 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)
  1736. 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)
  1737. end
  1738.  
  1739.  
  1740. local bel = part(3, Character, 0, 1, BrickColor.new("Royal purple"), "Ball", vt(0.126,0.126,0.126))
  1741. local belmsh = mesh("SpecialMesh", bel, "Sphere", "nil", vt(0, 0, 0), vt(10, 10, 10))
  1742.  
  1743.  
  1744.  
  1745. local Charge = Instance.new("Sound", bel)
  1746. Charge.Volume = 10
  1747. Charge.SoundId = "http://roblox.com/asset/?id=244578827"
  1748. Charge.Pitch = 0.8
  1749. Charge.PlayOnRemove = true
  1750. Charge:Play()
  1751. Charge:Destroy()
  1752. bel.Anchored = true
  1753. for i = 0,47,0.1 do
  1754. swait()
  1755. bel.CFrame = RootPart.CFrame * cf(0, 90*i/3.5, 0)
  1756. bel.Transparency = bel.Transparency - 0.0034
  1757. belmsh.Scale = belmsh.Scale + Vector3.new(24,24,24)
  1758. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0+1*i,0+1*i),0.15)
  1759. cam.FieldOfView = lerp(cam.FieldOfView, 40+1*i, 0.15)
  1760. Head.Velocity = Vector3.new(0,2.4+0.8*i,0)
  1761. 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)
  1762. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-13),math.rad(0),math.rad(0)),.2)
  1763. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(140)),.2)
  1764. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(-140)),.2)
  1765. 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)
  1766. 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)
  1767. end
  1768. so("http://roblox.com/asset/?id=160212892",Head,10,0.84)
  1769. for i = 0,4,0.1 do
  1770. swait()
  1771. Head.Velocity = Vector3.new(0,2.4,0)
  1772. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  1773. 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)
  1774. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.2)
  1775. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(140)),.2)
  1776. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(-140)),.2)
  1777. 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)
  1778. 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)
  1779. end
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785. bel.Anchored = false
  1786. local bv = Instance.new("BodyVelocity",bel)
  1787. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1788. bel.CFrame = CFrame.new(bel.Position,mouse.Hit.p)
  1789. bv.velocity = bel.CFrame.lookVector*350
  1790.  
  1791.  
  1792.  
  1793. --[[
  1794. bel.Touched:connect(function(hit)
  1795.  
  1796. 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
  1797. local orbexplode = Instance.new("Sound", bel)
  1798. orbexplode.Volume = 10
  1799. orbexplode.PlayOnRemove = true
  1800. orbexplode.SoundId = "http://roblox.com/asset/?id=142070127"
  1801. orbexplode.Pitch = 1
  1802. orbexplode:Destroy()
  1803. deb:AddItem(orbexplode, 4)
  1804. bel.Anchored = true
  1805. bel.Transparency = 1
  1806. deb:AddItem(bel, 4)
  1807. local Explode = Instance.new("Explosion")
  1808. Explode.Position = bel.Position
  1809. Explode.Parent = Workspace
  1810. Explode.BlastPressure = 90
  1811. Explode.BlastRadius = Bullet.Size.X *25.6
  1812. Explode.Visible = false
  1813.  
  1814. coroutine.resume(coroutine.create(function()
  1815.  
  1816.  
  1817.  
  1818. MagicBlock(BrickColor.new("White"), cf(bel.Position), 2000, 2000, 2000, -100, -100, -100, 0.05, 1)
  1819. MagicBlock(BrickColor.new("Royal purple"), cf(bel.Position), 2500, 2500, 2500, -150, -150, -150, 0.05, 1)
  1820. MagicBlock(BrickColor.new("White"), cf(bel.Position), 3000, 3000, 3000, -200, -200, -200, 0.05, 1)
  1821. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1800, 2, 1800, 1150, 2, 1150, 0.05)
  1822. MagicCircle(BrickColor.new("White"), cf(bel.Position), 1800, 2, 1800, 1100, 4, 1100, 0.05)
  1823. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1800, 2, 1800, 150, 16, 150, 0.05)
  1824. MagicCircle(BrickColor.new("White"), cf(bel.Position), 0, 0, 0, 1100, 4100, 1100, 0.05)
  1825. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 0, 0, 1200, 1200, 1200, 0.05)
  1826. MagicCircle(BrickColor.new("White"), cf(bel.Position), 0, 0, 0, 1300, 1300,1300, 0.05)
  1827. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 0, 0, 1400, 1400, 1400, 0.05)
  1828. MagicCircle(BrickColor.new("White"), cf(bel.Position), 4800, 2, 1800, 4, 1350, 4, 0.005)
  1829. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1600, 2, 1600, 4, 1300, 4, 0.005)
  1830. MagicCircle(BrickColor.new("White"), cf(bel.Position), 1400, 2, 1400, 4, 1250, 4, 0.005)
  1831.  
  1832.  
  1833. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 10, 10, 10, 50, 50, 50, 0.065)
  1834. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 1, 0, 15, 0, 15, 0.025)
  1835. 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)
  1836. 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)
  1837. end))
  1838. end
  1839. end)
  1840.  
  1841. ]]
  1842.  
  1843. con5=bel.Touched:connect(function(hit)
  1844.  
  1845. local orbexplode = Instance.new("Sound", bel)
  1846. orbexplode.Volume = 10
  1847. orbexplode.PlayOnRemove = true
  1848. orbexplode.SoundId = "http://roblox.com/asset/?id=167115397"
  1849. orbexplode.Pitch = 1
  1850. orbexplode:Destroy()
  1851. deb:AddItem(orbexplode, 4)
  1852. bel.Anchored = true
  1853. bel.Transparency = 1
  1854. deb:AddItem(bel, 5.2)
  1855.  
  1856.  
  1857.  
  1858.  
  1859. coroutine.resume(coroutine.create(function()
  1860. so("http://www.roblox.com/asset/?id=167115397", Workspace, 6, 1)
  1861. so("http://www.roblox.com/asset/?id=138186576", Workspace, 6, 1)
  1862. for i = 0, 0.4, 0.1 do
  1863. swait()
  1864.  
  1865.  
  1866. for i, v in pairs(FindNearestHead(bel.CFrame.p, 252.5)) do
  1867. if v:FindFirstChild("Torso") and v:FindFirstChild("Humanoid") then
  1868. if v:FindFirstChildOfClass("Humanoid").MaxHealth > 500 then
  1869. v:FindFirstChildOfClass("Humanoid").MaxHealth = 100
  1870. v:FindFirstChildOfClass("Humanoid").Health = 100
  1871. end
  1872. v.Humanoid:TakeDamage(math.random(43,86))
  1873. coroutine.resume(coroutine.create(function()
  1874. for i = 0,2,0.1 do
  1875. swait()
  1876. v.Head.Velocity = -v.Head.CFrame.lookVector*660 + Vector3.new(0,684,0)
  1877. end
  1878. end))
  1879. end
  1880. end
  1881.  
  1882. coroutine.resume(coroutine.create(function()
  1883. for i = 0, 2.4, 0.1 do
  1884. swait()
  1885. 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)
  1886. end
  1887. end))
  1888.  
  1889. MagicBlock(BrickColor.new("White"), cf(bel.Position), 2000, 2000, 2000, -100, -100, -100, 0.05, 1)
  1890. MagicBlock(BrickColor.new("Royal purple"), cf(bel.Position), 2500, 2500, 2500, -150, -150, -150, 0.05, 1)
  1891. MagicBlock(BrickColor.new("White"), cf(bel.Position), 3000, 3000, 3000, -200, -200, -200, 0.05, 1)
  1892. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1800,222, 1800, 1150, 222, 1150, 0.05)
  1893. MagicCircle(BrickColor.new("White"), cf(bel.Position), 1800, 222, 1800, 1100, 224, 1100, 0.05)
  1894. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1800, 222, 1800, 150, 216, 150, 0.05)
  1895. MagicCircle(BrickColor.new("White"), cf(bel.Position), 0, 0, 0, 1100, 4100, 1100, 0.05)
  1896. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 0, 0, 1200, 1200, 1200, 0.05)
  1897. MagicCircle(BrickColor.new("White"), cf(bel.Position), 0, 0, 0, 1300, 1300,1300, 0.05)
  1898. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 0, 0, 1400, 1400, 1400, 0.05)
  1899. MagicCircle(BrickColor.new("White"), cf(bel.Position), 4800, 222, 1800, 224, 1350, 224, 0.005)
  1900. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 1600, 222, 1600, 224, 1300, 224, 0.005)
  1901. MagicCircle(BrickColor.new("White"), cf(bel.Position), 1400, 222, 1400, 224, 1250, 224, 0.005)
  1902.  
  1903. WaveEffect(BrickColor.new("White"), cf(bel.Position)*angles(0,math.rad(0+90*i),0) , 1, 1, 1, 24, 5.4, 24, 0.09)
  1904. 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)
  1905.  
  1906. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 10, 10, 10, 50, 50, 50, 0.065)
  1907. MagicCircle(BrickColor.new("Royal purple"), cf(bel.Position), 0, 1, 0, 15, 0, 15, 0.025)
  1908. 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)
  1909. 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)
  1910. 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)
  1911. 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)
  1912. end
  1913. end))
  1914.  
  1915.  
  1916. end)
  1917.  
  1918.  
  1919.  
  1920.  
  1921. for i = 0,32,0.1 do
  1922. swait()
  1923. Head.Velocity = Vector3.new(0,2.4,0)
  1924. 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)
  1925. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(43),math.rad(0),math.rad(0)),.2)
  1926. RW.C0 = clerp(RW.C0, CFrame.new(1.0, 0.5, -0.4) * angles(math.rad(80), math.rad(12), math.rad(-30)),.2)
  1927. LW.C0 = clerp(LW.C0, CFrame.new(-1., 0.5, -0.4) * angles(math.rad(80), math.rad(-12), math.rad(30)),.2)
  1928. 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)
  1929. 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)
  1930. end
  1931.  
  1932. coroutine.resume(coroutine.create(function()
  1933. for i = 0, 63, 0.1 do
  1934. swait()
  1935. end
  1936. if bel.Anchored == false then
  1937. bel:Destroy()
  1938. end
  1939. end))
  1940.  
  1941.  
  1942.  
  1943.  
  1944. attack = false
  1945. end
  1946.  
  1947.  
  1948.  
  1949. mouse.Button1Down:connect(function(key)
  1950. if attack == false then
  1951. shoot()
  1952. end
  1953. end)
  1954.  
  1955.  
  1956.  
  1957.  
  1958. mouse.Button1Up:connect(function(key)
  1959. if shooting == true then
  1960. shooting = false
  1961. end
  1962. end)
  1963.  
  1964.  
  1965.  
  1966.  
  1967. mouse.KeyDown:connect(function(key)
  1968. if key == 'e' and attack == false then
  1969. dshoot()
  1970. end
  1971. end)
  1972.  
  1973.  
  1974.  
  1975.  
  1976. mouse.KeyDown:connect(function(key)
  1977. if key == 'q' and attack == false then
  1978. finaldev()
  1979. end
  1980. end)
  1981.  
  1982. mouse.KeyUp:connect(function(key)
  1983. if key == 'e' and shooting == true then
  1984. shooting = false
  1985. end
  1986. end)
  1987.  
  1988.  
  1989.  
  1990. mouse.KeyDown:connect(function(key)
  1991. if key == 'f' and attack == false and evadecooldown == false then
  1992. Dash()
  1993. end
  1994. end)
  1995.  
  1996.  
  1997. local orb = part(3, Character, 0, 0.9, BrickColor.new("White"), "Effect", vt())
  1998. local msh = mesh("SpecialMesh", orb, "Sphere", "nil", vt(0, 0, 0), vt(15, 15, 15))
  1999.  
  2000. local orb2 = part(3, Character, 0, 0.9, BrickColor.new("White"), "Effect", vt())
  2001. local msh = mesh("SpecialMesh", orb2, "Sphere", "nil", vt(0, 0, 0), vt(15, 15, 15))
  2002. orb.Anchored = true
  2003. orb2.Anchored = true
  2004. Humanoid.WalkSpeed = 32
  2005.  
  2006.  
  2007. local f = 0
  2008. game:GetService("RunService"):BindToRenderStep("W0tT", 0, function()
  2009.  
  2010.  
  2011. f = f+1
  2012. cam.FieldOfView = lerp(cam.FieldOfView, 70, 0.076)
  2013. if f >= 6 then
  2014. f=0
  2015. 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)
  2016. 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)
  2017. 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)
  2018. MagicCircle(BrickColor.new("Royal purple"), cf(orb.Position), 0, 0, 0, 1.25, 1.25, 1.25, 0.05)
  2019. 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)
  2020. MagicCircle(BrickColor.new("Royal purple"), cf(orb2.Position), 0, 0, 0, 1.25, 1.25, 1.25, 0.05)
  2021. 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)
  2022. 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)
  2023.  
  2024. end
  2025. end)
  2026.  
  2027. Humanoid.MaxHealth = 400
  2028.  
  2029. print("Move list")
  2030. print("---------")
  2031. print("F: Time Dash")
  2032. print("Hold Click: Lesser Bullets")
  2033. print("Hold E: Mega Bullets")
  2034. print("Q: Final Devastator")
  2035.  
  2036.  
  2037.  
  2038.  
  2039. while true do
  2040. swait()
  2041. sine = sine + change
  2042. --speed = speed + music.PlaybackLoudness/90
  2043. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2044. local velderp=RootPart.Velocity.y
  2045. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2046. local TiltVelocity = CFrame.new(RootPart.CFrame:vectorToObjectSpace(RootPart.Velocity))
  2047. if attack==true or attack==false then
  2048. if attack==false then
  2049. idle=idle+1
  2050. else
  2051. idle=0
  2052. end
  2053. if idle>=500 then
  2054. if attack==false then
  2055. end
  2056. end
  2057.  
  2058. Humanoid.Health = Humanoid.Health + 4
  2059.  
  2060. orb.CFrame = RightArm.CFrame * cf(0, -1, 0)
  2061. orb2.CFrame = LeftArm.CFrame * cf(0, -1, 0)
  2062. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2063. Anim="Jump"
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069. if attack==false then
  2070. change = 1
  2071. look = 0
  2072. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2073. 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)
  2074. 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)
  2075. 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)
  2076. 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)
  2077. 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)
  2078. 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)
  2079. end
  2080.  
  2081. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2082. Anim="Fall"
  2083. change = 1
  2084.  
  2085.  
  2086.  
  2087. if attack==false then
  2088. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2089. 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)
  2090. 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)
  2091. 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)
  2092. 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)
  2093. 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)
  2094. 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)
  2095. end
  2096.  
  2097. elseif torvel<1 and hitfloor~=nil then
  2098. Anim="Idle"
  2099. change = 1
  2100. if attack==false and equip == false then
  2101. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
  2102.  
  2103.  
  2104.  
  2105. orb.CFrame = orb.CFrame:lerp(RightArm.CFrame*cf(0+2*math.cos(sine/40), -5+2*math.sin(sine/40), 0),0.1)
  2106. orb2.CFrame = orb2.CFrame:lerp(LeftArm.CFrame*cf(0-2*math.cos(sine/40), -5+2*math.sin(sine/40), 0),0.1)
  2107.  
  2108. 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)
  2109. 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)
  2110. 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)
  2111. 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)
  2112. 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)
  2113. 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)
  2114. end
  2115.  
  2116.  
  2117.  
  2118. elseif torvel>1.5 and torvel<22 and hitfloor~=nil then
  2119. Anim="Walk"
  2120. change = 0.84
  2121. look = 0
  2122. if attack==false and equip == false then
  2123. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.02)
  2124. 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)
  2125. 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)
  2126. 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)
  2127. 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)
  2128. --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)
  2129. --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)
  2130. end
  2131. if attack == false or attack==true and noleg == false then
  2132. 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)
  2133. 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)
  2134. end
  2135.  
  2136. elseif torvel>=22 and hitfloor~=nil then
  2137. Anim="Run"
  2138. change = 0.84+ Character.Humanoid.WalkSpeed/112
  2139. if attack==false and equip == false then
  2140. Humanoid.CameraOffset = Humanoid.CameraOffset:lerp(Vector3.new(0,0,0),0.02)
  2141. 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)
  2142. 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)
  2143. 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)
  2144. 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)
  2145.  
  2146.  
  2147. 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)
  2148. 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)
  2149. end
  2150.  
  2151. --[[
  2152. if attack==false then
  2153. 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)
  2154. 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)
  2155. end
  2156. ]]
  2157. if attack==true and noleg == false then
  2158. 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)
  2159. 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)
  2160. end
  2161.  
  2162.  
  2163. end
  2164. end
  2165.  
  2166.  
  2167.  
  2168. if 0 < #Effects then
  2169. for e = 1, #Effects do
  2170. if Effects[e] ~= nil then
  2171. local Thing = Effects[e]
  2172. if Thing ~= nil then
  2173. local Part = Thing[1]
  2174. local Mode = Thing[2]
  2175. local Delay = Thing[3]
  2176. local IncX = Thing[4]
  2177. local IncY = Thing[5]
  2178. local IncZ = Thing[6]
  2179. if Thing[2] == "CylinderClang" then
  2180. if Thing[3] <= 1 then
  2181. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2182. Thing[7] = Thing[1].CFrame
  2183. effect("New Yeller", 0, Thing[8], Thing[7])
  2184. Thing[8] = Thing[7]
  2185. Thing[3] = Thing[3] + Thing[4]
  2186. else
  2187. Part.Parent = nil
  2188. table.remove(Effects, e)
  2189. end
  2190. end
  2191. if Thing[2] == "showDamage" then
  2192. if Thing[6] < Thing[5] then
  2193. Thing[6] = Thing[6] + 1
  2194. else
  2195. if Thing[6] < Thing[7] then
  2196. Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  2197. Thing[6] = Thing[6] + 1
  2198. else
  2199. if Thing[6] < Thing[8] then
  2200. Thing[6] = Thing[6] + 1
  2201. else
  2202. if Thing[6] < Thing[9] then
  2203. Thing[6] = Thing[6] + 1
  2204. Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  2205. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  2206. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  2207. else
  2208. Thing[1].Parent = nil
  2209. table.remove(Effects, e)
  2210. end
  2211. end
  2212. end
  2213. end
  2214. end
  2215. if Thing[2] == "PartiEmi" then
  2216. Thing[3] = Thing[3] - 1
  2217. if Thing[3] <= 0 then
  2218. Thing[1].Enabled = false
  2219. table.remove(Effects, e)
  2220. end
  2221. end
  2222. if Thing[2] == "AdjuEff" then
  2223. if 0 < Thing[3] then
  2224. Thing[3] = Thing[3] - 1
  2225. Thing[1].Size = Thing[1].Size + UDim2.new(0.2, 0, 0.2, 0)
  2226. Thing[1].StudsOffset = Thing[1].StudsOffset + vt(0, -0.2, 0)
  2227. Thing[4].ImageTransparency = Thing[4].ImageTransparency + 0.1
  2228. else
  2229. Thing[1].Parent = nil
  2230. table.remove(Effects, e)
  2231. end
  2232. end
  2233. 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
  2234. if Thing[1].Transparency <= 1 then
  2235. if Thing[2] == "Block1" then
  2236. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2237. Mesh = Thing[7]
  2238. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2239. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2240. else
  2241. if Thing[2] == "Block2" then
  2242. Thing[1].CFrame = Thing[1].CFrame
  2243. Mesh = Thing[7]
  2244. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2245. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2246. else
  2247. if Thing[2] == "Block3" then
  2248. Thing[9] = Thing[9] + 0.5
  2249. Thing[1].CFrame = Thing[8] * cf(0, Thing[9], 0)
  2250. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2251. Mesh = Thing[7]
  2252. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2253. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2254. else
  2255. if Thing[2] == "Skull" then
  2256. Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8] / 2, -Thing[8])
  2257. Mesh = Thing[7]
  2258. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2259. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2260. else
  2261. if Thing[2] == "Cylinder" then
  2262. Mesh = Thing[7]
  2263. Mesh.Scale = Mesh.Scale + vt(Thing[4]-Thing[1].Transparency, Thing[5]-Thing[1].Transparency, Thing[6]-Thing[1].Transparency)
  2264. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2265. else
  2266. if Thing[2] == "Cylinder2" then
  2267. Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8], 0)
  2268. Mesh = Thing[7]
  2269. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2270. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2271. else
  2272. if Thing[2] == "Blood" then
  2273. Mesh = Thing[7]
  2274. Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0)
  2275. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2276. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2277. else
  2278. if Thing[2] == "Elec" then
  2279. Mesh = Thing[10]
  2280. Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  2281. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2282. else
  2283. if Thing[2] == "Disappear" then
  2284. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2285. end
  2286. end
  2287. end
  2288. end
  2289. end
  2290. end
  2291. end
  2292. end
  2293. end
  2294. else
  2295. Part.Parent = nil
  2296. table.remove(Effects, e)
  2297. end
  2298. end
  2299. end
  2300. end
  2301. end
  2302. end
  2303. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement