Advertisement
Tetezaza1542

mailman edit OP

Aug 28th, 2018
438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 175.27 KB | None | 0 0
  1. --//====================================================\\--
  2. --||
  3. --|| CREATED BY SHACKLUSTER
  4. --||
  5. --|| EDITED BY POKEMONLOVER666W
  6. --||
  7. --|| PARTICLES BY THOMASLLOYD12
  8. --\\====================================================//--
  9.  
  10. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  11. local Player = owner
  12. local Mouse,mouse,UserInputService,ContextActionService
  13. do
  14. script.Parent = Player.Character
  15. local CAS = {Actions={}}
  16. local Event = Instance.new("RemoteEvent")
  17. Event.Name = "UserInput_Event"
  18. Event.Parent = Player.Character
  19. local fakeEvent = function()
  20. local t = {_fakeEvent=true}
  21. t.Connect = function(self,f)self.Function=f end
  22. t.connect = t.Connect
  23. return t
  24. end
  25. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  26. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  27. function CAS:BindAction(name,fun,touch,...)
  28. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  29. end
  30. function CAS:UnbindAction(name)
  31. CAS.Actions[name] = nil
  32. end
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent and t.Function then
  36. t.Function(...)
  37. end
  38. end
  39. m.TrigEvent = te
  40. UIS.TrigEvent = te
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=Player then return end
  43. if io.isMouse then
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  47. if io.UserInputState == Enum.UserInputState.Begin then
  48. m:TrigEvent("Button1Down")
  49. else
  50. m:TrigEvent("Button1Up")
  51. end
  52. else
  53. for n,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. if io.UserInputState == Enum.UserInputState.Begin then
  61. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  62. UIS:TrigEvent("InputBegan",io,false)
  63. else
  64. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  65. UIS:TrigEvent("InputEnded",io,false)
  66. end
  67. end
  68. end)
  69. NLS([==[
  70. local Player = game:GetService("Players").LocalPlayer
  71.  
  72. local Char = Player.Character
  73. local Event = Char:WaitForChild("UserInput_Event")
  74.  
  75. local UIS = game:GetService("UserInputService")
  76.  
  77. local input = function(io,a)
  78. if a then return end
  79. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  80. Event:FireServer(io)
  81. end
  82. UIS.InputBegan:Connect(input)
  83. UIS.InputEnded:Connect(input)
  84. local Changed = false
  85. local Mouse = Player:GetMouse()
  86. local h,t = Mouse.Hit,Mouse.Target
  87. while wait(1/30) do
  88. if h~=Mouse.Hit or t~=Mouse.Target then
  89. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  90. h,t=Mouse.Hit,Mouse.Target
  91. end
  92. end
  93. ]==],Player.Character)
  94. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  95. end
  96.  
  97.  
  98. wait(1)
  99.  
  100.  
  101.  
  102. Player = owner
  103. PlayerGui = Player.PlayerGui
  104. Cam = workspace.CurrentCamera
  105. Backpack = Player.Backpack
  106. Character = Player.Character
  107. Humanoid = Character.Humanoid
  108. RootPart = Character["HumanoidRootPart"]
  109. Torso = Character["Torso"]
  110. Head = Character["Head"]
  111. RightArm = Character["Right Arm"]
  112. LeftArm = Character["Left Arm"]
  113. RightLeg = Character["Right Leg"]
  114. LeftLeg = Character["Left Leg"]
  115. RootJoint = RootPart["RootJoint"]
  116. Neck = Torso["Neck"]
  117. RightShoulder = Torso["Right Shoulder"]
  118. LeftShoulder = Torso["Left Shoulder"]
  119. RightHip = Torso["Right Hip"]
  120. LeftHip = Torso["Left Hip"]
  121. local sick = Instance.new("Sound",Character)
  122. sick.SoundId = "rbxassetid://2022095124"
  123. sick.Looped = true
  124. sick.Pitch = 1
  125. sick.Volume = 2
  126. sick:Play()
  127.  
  128. IT = Instance.new
  129. CF = CFrame.new
  130. VT = Vector3.new
  131. RAD = math.rad
  132. C3 = Color3.new
  133. UD2 = UDim2.new
  134. BRICKC = BrickColor.new
  135. ANGLES = CFrame.Angles
  136. EULER = CFrame.fromEulerAnglesXYZ
  137. COS = math.cos
  138. ACOS = math.acos
  139. SIN = math.sin
  140. ASIN = math.asin
  141. ABS = math.abs
  142. MRANDOM = math.random
  143. FLOOR = math.floor
  144.  
  145. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  146. local NEWMESH = IT(MESH)
  147. if MESH == "SpecialMesh" then
  148. NEWMESH.MeshType = MESHTYPE
  149. if MESHID ~= "nil" and MESHID ~= "" then
  150. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  151. end
  152. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  153. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  154. end
  155. end
  156. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  157. NEWMESH.Scale = SCALE
  158. NEWMESH.Parent = PARENT
  159. return NEWMESH
  160. end
  161.  
  162. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  163. local NEWPART = IT("Part")
  164. NEWPART.formFactor = FORMFACTOR
  165. NEWPART.Reflectance = REFLECTANCE
  166. NEWPART.Transparency = TRANSPARENCY
  167. NEWPART.CanCollide = false
  168. NEWPART.Locked = true
  169. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  170. NEWPART.Name = NAME
  171. NEWPART.Size = SIZE
  172. NEWPART.Position = Torso.Position
  173. NEWPART.Material = MATERIAL
  174. NEWPART:BreakJoints()
  175. NEWPART.Parent = PARENT
  176. return NEWPART
  177. end
  178.  
  179. --//=================================\\
  180. --|| PARTICLES N STUFF
  181. --\\=================================//
  182.  
  183. local particleemitter = Instance.new('ParticleEmitter', LeftArm)
  184. particleemitter.VelocitySpread = 350
  185. particleemitter.Lifetime = NumberRange.new(1)
  186. particleemitter.Speed = NumberRange.new(0)
  187. cringememe= {}
  188. for i=0, 19 do
  189. cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  190. end
  191. particleemitter.Size = NumberSequence.new(cringememe)
  192. particleemitter.Rate = 20
  193. particleemitter.LockedToPart = true
  194. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  195. particleemitter.LightEmission = 1
  196. particleemitter.Texture = "rbxassetid://10005371"
  197. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  198.  
  199. local particleemitter = Instance.new('ParticleEmitter', Torso)
  200. particleemitter.VelocitySpread = 250
  201. particleemitter.Lifetime = NumberRange.new(3)
  202. particleemitter.Speed = NumberRange.new(1.5)
  203. youAreATHOT = {}
  204. for i=0, 19 do
  205. youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  206. end
  207. particleemitter.Size = NumberSequence.new(youAreATHOT)
  208. particleemitter.Rate = 10
  209. particleemitter.LockedToPart = false
  210. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  211. particleemitter.LightEmission = 1
  212. particleemitter.Texture = "rbxassetid://10005371"
  213. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  214.  
  215. local particleemitter = Instance.new('ParticleEmitter', RightArm)
  216. particleemitter.VelocitySpread = 350
  217. particleemitter.Lifetime = NumberRange.new(1)
  218. particleemitter.Speed = NumberRange.new(0)
  219. cringememe2= {}
  220. for i=0, 19 do
  221. cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  222. end
  223. particleemitter.Size = NumberSequence.new(cringememe2)
  224. particleemitter.Rate = 20
  225. particleemitter.LockedToPart = true
  226. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  227. particleemitter.LightEmission = 1
  228. particleemitter.Texture = "rbxassetid://10005371"
  229. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  230.  
  231. local particleemitter = Instance.new('ParticleEmitter', RightLeg)
  232. particleemitter.VelocitySpread = 350
  233. particleemitter.Lifetime = NumberRange.new(1)
  234. particleemitter.Speed = NumberRange.new(0)
  235. cringememe3= {}
  236. for i=0, 19 do
  237. cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  238. end
  239. particleemitter.Size = NumberSequence.new(cringememe3)
  240. particleemitter.Rate = 30
  241. particleemitter.LockedToPart = true
  242. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  243. particleemitter.LightEmission = 1
  244. particleemitter.Texture = "rbxassetid://10005371"
  245. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  246.  
  247. local particleemitter = Instance.new('ParticleEmitter', LeftLeg)
  248. particleemitter.VelocitySpread = 350
  249. particleemitter.Lifetime = NumberRange.new(1)
  250. particleemitter.Speed = NumberRange.new(0)
  251. cringememe4= {}
  252. for i=0, 19 do
  253. cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  254. end
  255. particleemitter.Size = NumberSequence.new(cringememe4)
  256. particleemitter.Rate = 30
  257. particleemitter.LockedToPart = true
  258. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  259. particleemitter.LightEmission = 1
  260. particleemitter.Texture = "rbxassetid://10005371"
  261. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  262.  
  263. m=Instance.new('Model',Character)
  264. it=Instance.new
  265. function nooutline(part)
  266. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  267. end
  268. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  269. local fp=it("Part")
  270. fp.formFactor=formfactor
  271. fp.Parent=parent
  272. fp.Reflectance=reflectance
  273. fp.Transparency=transparency
  274. fp.CanCollide=false
  275. fp.Locked=true
  276. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  277. fp.Name=name
  278. fp.Size=size
  279. fp.Position=Character.Torso.Position
  280. nooutline(fp)
  281. fp.Material=material
  282. fp:BreakJoints()
  283. return fp
  284. end
  285. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  286. local mesh=it(Mesh)
  287. mesh.Parent=part
  288. if Mesh=="SpecialMesh" then
  289. mesh.MeshType=meshtype
  290. mesh.MeshId=meshid
  291. end
  292. mesh.Offset=offset
  293. mesh.Scale=scale
  294. return mesh
  295. end
  296. function weld(parent,part0,part1,c0,c1)
  297. local weld=it("Weld")
  298. weld.Parent=parent
  299. weld.Part0=part0
  300. weld.Part1=part1
  301. weld.C0=c0
  302. weld.C1=c1
  303. return weld
  304. end
  305.  
  306. Handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(4, 1, 2))
  307. 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))
  308. Emitter=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  309. 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))
  310. Emitter1=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter1",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  311. 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))
  312. Emitter10=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter10",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  313. 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))
  314. Emitter11=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter11",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  315. 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))
  316. Emitter12=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter12",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  317. 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))
  318. Emitter13=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter13",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  319. 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))
  320. Emitter14=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter14",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  321. 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))
  322. Emitter15=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter15",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  323. 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))
  324. Emitter16=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter16",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  325. 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))
  326. Emitter17=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter17",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  327. 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))
  328. Emitter18=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter18",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  329. 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))
  330. Emitter19=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter19",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  331. 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))
  332. Emitter2=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  333. 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))
  334. Emitter20=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter20",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  335. 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))
  336. Emitter21=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter21",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  337. 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))
  338. Emitter22=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter22",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  339. 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))
  340. Emitter23=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter23",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  341. 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))
  342. Emitter24=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter24",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  343. 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))
  344. Emitter25=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter25",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  345. 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))
  346. Emitter26=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter26",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  347. 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))
  348. Emitter27=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter27",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  349. 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))
  350. Emitter28=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter28",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  351. 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))
  352. Emitter29=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter29",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  353. 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))
  354. Emitter3=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter3",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  355. 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))
  356. Emitter30=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter30",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  357. 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))
  358. Emitter31=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter31",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  359. 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))
  360. Emitter32=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter32",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  361. 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))
  362. Emitter33=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter33",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  363. 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))
  364. Emitter34=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter34",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  365. 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))
  366. Emitter35=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter35",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  367. 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))
  368. Emitter36=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter36",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  369. 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))
  370. Emitter37=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter37",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  371. 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))
  372. Emitter38=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter38",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  373. 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))
  374. Emitter39=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter39",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  375. 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))
  376. Emitter4=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter4",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  377. 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))
  378. Emitter5=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter5",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  379. 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))
  380. Emitter6=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter6",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  381. 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))
  382. Emitter7=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter7",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  383. 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))
  384. Emitter8=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter8",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  385. 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))
  386. Emitter9=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,1,"Medium stone grey","Emitter9",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  387. 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))
  388.  
  389.  
  390. local particleemitter = Instance.new("ParticleEmitter", Emitter)
  391.  
  392. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  393. particleemitter.LightEmission = 1
  394. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  395. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  396. particleemitter.Lifetime = NumberRange.new(2, 2)
  397. particleemitter.Rate = 200
  398. local particleemitter = Instance.new("ParticleEmitter", Emitter1)
  399.  
  400. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  401. particleemitter.LightEmission = 1
  402. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  403. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  404. particleemitter.Lifetime = NumberRange.new(2, 2)
  405. particleemitter.Rate = 200
  406. local particleemitter = Instance.new("ParticleEmitter", Emitter2)
  407.  
  408. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  409. particleemitter.LightEmission = 1
  410. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  411. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  412. particleemitter.Lifetime = NumberRange.new(2, 2)
  413. particleemitter.Rate = 200
  414. local particleemitter = Instance.new("ParticleEmitter", Emitter3)
  415.  
  416. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  417. particleemitter.LightEmission = 1
  418. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  419. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  420. particleemitter.Lifetime = NumberRange.new(2, 2)
  421. particleemitter.Rate = 200
  422. local particleemitter = Instance.new("ParticleEmitter", Emitter4)
  423.  
  424. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  425. particleemitter.LightEmission = 1
  426. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  427. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  428. particleemitter.Lifetime = NumberRange.new(2, 2)
  429. particleemitter.Rate = 200
  430. local particleemitter = Instance.new("ParticleEmitter", Emitter5)
  431.  
  432. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  433. particleemitter.LightEmission = 1
  434. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  435. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  436. particleemitter.Lifetime = NumberRange.new(2, 2)
  437. particleemitter.Rate = 200
  438. local particleemitter = Instance.new("ParticleEmitter", Emitter6)
  439.  
  440. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  441. particleemitter.LightEmission = 1
  442. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  443. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  444. particleemitter.Lifetime = NumberRange.new(2, 2)
  445. particleemitter.Rate = 200
  446. local particleemitter = Instance.new("ParticleEmitter", Emitter7)
  447.  
  448. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  449. particleemitter.LightEmission = 1
  450. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  451. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  452. particleemitter.Lifetime = NumberRange.new(2, 2)
  453. particleemitter.Rate = 200
  454. local particleemitter = Instance.new("ParticleEmitter", Emitter8)
  455.  
  456. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  457. particleemitter.LightEmission = 1
  458. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  459. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  460. particleemitter.Lifetime = NumberRange.new(2, 2)
  461. particleemitter.Rate = 200
  462. local particleemitter = Instance.new("ParticleEmitter", Emitter9)
  463.  
  464. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  465. particleemitter.LightEmission = 1
  466. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  467. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  468. particleemitter.Lifetime = NumberRange.new(2, 2)
  469. particleemitter.Rate = 200
  470. local particleemitter = Instance.new("ParticleEmitter", Emitter10)
  471.  
  472. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  473. particleemitter.LightEmission = 1
  474. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  475. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  476. particleemitter.Lifetime = NumberRange.new(2, 2)
  477. particleemitter.Rate = 200
  478. local particleemitter = Instance.new("ParticleEmitter", Emitter11)
  479.  
  480. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  481. particleemitter.LightEmission = 1
  482. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  483. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  484. particleemitter.Lifetime = NumberRange.new(2, 2)
  485. particleemitter.Rate = 200
  486. local particleemitter = Instance.new("ParticleEmitter", Emitter12)
  487.  
  488. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  489. particleemitter.LightEmission = 1
  490. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  491. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  492. particleemitter.Lifetime = NumberRange.new(2, 2)
  493. particleemitter.Rate = 200
  494. local particleemitter = Instance.new("ParticleEmitter", Emitter13)
  495.  
  496. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  497. particleemitter.LightEmission = 1
  498. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  499. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  500. particleemitter.Lifetime = NumberRange.new(2, 2)
  501. particleemitter.Rate = 200
  502. local particleemitter = Instance.new("ParticleEmitter", Emitter14)
  503.  
  504. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  505. particleemitter.LightEmission = 1
  506. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  507. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  508. particleemitter.Lifetime = NumberRange.new(2, 2)
  509. particleemitter.Rate = 200
  510. local particleemitter = Instance.new("ParticleEmitter", Emitter15)
  511.  
  512. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  513. particleemitter.LightEmission = 1
  514. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  515. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  516. particleemitter.Lifetime = NumberRange.new(2, 2)
  517. particleemitter.Rate = 200
  518. local particleemitter = Instance.new("ParticleEmitter", Emitter16)
  519.  
  520. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  521. particleemitter.LightEmission = 1
  522. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  523. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  524. particleemitter.Lifetime = NumberRange.new(2, 2)
  525. particleemitter.Rate = 200
  526. local particleemitter = Instance.new("ParticleEmitter", Emitter17)
  527.  
  528. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  529. particleemitter.LightEmission = 1
  530. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  531. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  532. particleemitter.Lifetime = NumberRange.new(2, 2)
  533. particleemitter.Rate = 200
  534. local particleemitter = Instance.new("ParticleEmitter", Emitter18)
  535.  
  536. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  537. particleemitter.LightEmission = 1
  538. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  539. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  540. particleemitter.Lifetime = NumberRange.new(2, 2)
  541. particleemitter.Rate = 200
  542. local particleemitter = Instance.new("ParticleEmitter", Emitter19)
  543.  
  544. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  545. particleemitter.LightEmission = 1
  546. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  547. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  548. particleemitter.Lifetime = NumberRange.new(2, 2)
  549. particleemitter.Rate = 200
  550. local particleemitter = Instance.new("ParticleEmitter", Emitter20)
  551.  
  552. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  553. particleemitter.LightEmission = 1
  554. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  555. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  556. particleemitter.Lifetime = NumberRange.new(2, 2)
  557. particleemitter.Rate = 200
  558. local particleemitter = Instance.new("ParticleEmitter", Emitter21)
  559.  
  560. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  561. particleemitter.LightEmission = 1
  562. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  563. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  564. particleemitter.Lifetime = NumberRange.new(2, 2)
  565. particleemitter.Rate = 200
  566. local particleemitter = Instance.new("ParticleEmitter", Emitter22)
  567.  
  568. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  569. particleemitter.LightEmission = 1
  570. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  571. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  572. particleemitter.Lifetime = NumberRange.new(2, 2)
  573. particleemitter.Rate = 200
  574. local particleemitter = Instance.new("ParticleEmitter", Emitter23)
  575.  
  576. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  577. particleemitter.LightEmission = 1
  578. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  579. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  580. particleemitter.Lifetime = NumberRange.new(2, 2)
  581. particleemitter.Rate = 200
  582. local particleemitter = Instance.new("ParticleEmitter", Emitter24)
  583.  
  584. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  585. particleemitter.LightEmission = 1
  586. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  587. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  588. particleemitter.Lifetime = NumberRange.new(2, 2)
  589. particleemitter.Rate = 200
  590. local particleemitter = Instance.new("ParticleEmitter", Emitter25)
  591.  
  592. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  593. particleemitter.LightEmission = 1
  594. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  595. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  596. particleemitter.Lifetime = NumberRange.new(2, 2)
  597. particleemitter.Rate = 200
  598. local particleemitter = Instance.new("ParticleEmitter", Emitter26)
  599.  
  600. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  601. particleemitter.LightEmission = 1
  602. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  603. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  604. particleemitter.Lifetime = NumberRange.new(2, 2)
  605. particleemitter.Rate = 200
  606. local particleemitter = Instance.new("ParticleEmitter", Emitter27)
  607.  
  608. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  609. particleemitter.LightEmission = 1
  610. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  611. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  612. particleemitter.Lifetime = NumberRange.new(2, 2)
  613. particleemitter.Rate = 200
  614. local particleemitter = Instance.new("ParticleEmitter", Emitter28)
  615.  
  616. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  617. particleemitter.LightEmission = 1
  618. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  619. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  620. particleemitter.Lifetime = NumberRange.new(2, 2)
  621. particleemitter.Rate = 200
  622. local particleemitter = Instance.new("ParticleEmitter", Emitter29)
  623.  
  624. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  625. particleemitter.LightEmission = 1
  626. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  627. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  628. particleemitter.Lifetime = NumberRange.new(2, 2)
  629. particleemitter.Rate = 200
  630. local particleemitter = Instance.new("ParticleEmitter", Emitter30)
  631.  
  632. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  633. particleemitter.LightEmission = 1
  634. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  635. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  636. particleemitter.Lifetime = NumberRange.new(2, 2)
  637. particleemitter.Rate = 200
  638. local particleemitter = Instance.new("ParticleEmitter", Emitter31)
  639.  
  640. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  641. particleemitter.LightEmission = 1
  642. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  643. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  644. particleemitter.Lifetime = NumberRange.new(2, 2)
  645. particleemitter.Rate = 200
  646. local particleemitter = Instance.new("ParticleEmitter", Emitter32)
  647.  
  648. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  649. particleemitter.LightEmission = 1
  650. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  651. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  652. particleemitter.Lifetime = NumberRange.new(2, 2)
  653. particleemitter.Rate = 200
  654. local particleemitter = Instance.new("ParticleEmitter", Emitter33)
  655.  
  656. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  657. particleemitter.LightEmission = 1
  658. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  659. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  660. particleemitter.Lifetime = NumberRange.new(2, 2)
  661. particleemitter.Rate = 200
  662. local particleemitter = Instance.new("ParticleEmitter", Emitter34)
  663.  
  664. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  665. particleemitter.LightEmission = 1
  666. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  667. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  668. particleemitter.Lifetime = NumberRange.new(2, 2)
  669. particleemitter.Rate = 200
  670. local particleemitter = Instance.new("ParticleEmitter", Emitter35)
  671.  
  672. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  673. particleemitter.LightEmission = 1
  674. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  675. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  676. particleemitter.Lifetime = NumberRange.new(2, 2)
  677. particleemitter.Rate = 200
  678. local particleemitter = Instance.new("ParticleEmitter", Emitter36)
  679.  
  680. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  681. particleemitter.LightEmission = 1
  682. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  683. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  684. particleemitter.Lifetime = NumberRange.new(2, 2)
  685. particleemitter.Rate = 200
  686. local particleemitter = Instance.new("ParticleEmitter", Emitter37)
  687.  
  688. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  689. particleemitter.LightEmission = 1
  690. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  691. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  692. particleemitter.Lifetime = NumberRange.new(2, 2)
  693. particleemitter.Rate = 200
  694. local particleemitter = Instance.new("ParticleEmitter", Emitter38)
  695.  
  696. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  697. particleemitter.LightEmission = 1
  698. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  699. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  700. particleemitter.Lifetime = NumberRange.new(2, 2)
  701. particleemitter.Rate = 200
  702. local particleemitter = Instance.new("ParticleEmitter", Emitter39)
  703.  
  704. particleemitter.Color = ColorSequence.new(Color3.new(0.333333, 1, 0),Color3.new(0.333333, 1, 0.498039))
  705. particleemitter.LightEmission = 1
  706. particleemitter.Texture = "rbxasset://textures/particles/smoke_main.dds"
  707. particleemitter.Size = NumberSequence.new(0.090000003576279,0.090000003576279)
  708. particleemitter.Lifetime = NumberRange.new(2, 2)
  709. particleemitter.Rate = 200
  710. --//=================================\\
  711. --|| CUSTOMIZATION
  712. --\\=================================//
  713.  
  714. Class_Name = "Mailmaster"
  715. Weapon_Name = "MAIL"
  716.  
  717. Custom_Colors = {
  718. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  719. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  720.  
  721. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  722. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  723. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  724. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  725. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  726.  
  727. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  728. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  729. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  730. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  731. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  732. }
  733.  
  734. Mana_Bar_Background_Transparency = 0 --Transparency for the background of the mana bar.
  735. Secondary_Mana_Bar_Background_Transparency = 0 --Transparency for the background of the secondary mana bar.
  736. Health_Bar_Background_Transparency = 0 --Transparency for the background of the health bar.
  737. Stun_Bar_Background_Transparency = 0 --Transparency for the background of the stun bar.
  738. Ability_Background_Transparency = 0 --Transparency for the background of the abilities.
  739. Stat_Background_Transparency = 0 --Transparency for the background of the stats.
  740.  
  741. Player_Size = 1 --Size of the player.
  742. Animation_Speed = 2
  743. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  744.  
  745. Enable_Gui = false --Enables or disables the Weapon Gui. Also functions as hiding or showing the Gui.
  746. Enable_Stats = false --Enables or disables stats.
  747. Put_Stats_In_Character = false --Places stats in Character.
  748. Enable_Stagger_Hit = false --Enables or disables staggering when hitting a hitbox of some sort.
  749. Play_Hitbox_Hit_Sound = true --Plays a hit sound when hitting a hitbox of some sort.
  750. Enable_Stagger = false --Enables or disables staggering.
  751. Enable_Stun = false --Enables or disables the stun mechanic.
  752. Enable_Abilities = false --Enables abilites with cooldowns and mana costs.
  753. Enable_Secondary_Bar = false --Enables the secondary mana bar, if true.
  754.  
  755. Start_Equipped = true --Starts the player equipped with their weapon.
  756. Start_Equipped_With_Equipped_Animation = false --Used in conjunction with the above option. Starts your equip animation.
  757. Can_Equip_Or_Unequip = false --Enables or disables the ability to unequip or equip your weapon.
  758. Disable_Animator = false --Disables the Animator in the humanoid.
  759. Disable_Animate = true --Disables the Animate script in the character.
  760. Disable_Moving_Arms = false --Keeps the arms from moving around.
  761. Use_Motors_Instead_Of_Welds = false --Uses motors instead of welds to disable moving arms.
  762. Walkspeed_Depends_On_Movement_Value = false --Walkspeed depends on movement value. Self-explanatory.
  763. Disable_Jump = false --Disables jumping.
  764. Use_HopperBin = false --Uses a hopperbin to do things.
  765.  
  766. Cooldown_1 = 0 --Cooldowns for abilites.
  767. Cooldown_2 = 0
  768. Cooldown_3 = 0
  769. Cooldown_4 = 0
  770. Skill_1_Mana_Cost = 0 --How much mana is required to use the skill.
  771. Skill_2_Mana_Cost = 0
  772. Skill_3_Mana_Cost = 0
  773. Skill_4_Mana_Cost = 0
  774. Max_Mana = 0 --Maximum amount of mana you can have.
  775. Max_Secondary_Mana = 0 --Maximum amount of secondary mana you can have.
  776. Mana_Name = "Mana" --Name for the mana bar.
  777. Secondary_Mana_Name = "Block" --Name for the secondary mana bar.
  778. Max_Stun = 1 --Maximum amount of stun you can have.
  779. Recover_Mana = 0 --How much mana you gain.
  780. Mana_Regen_Mode = "1" --Basically switches from one mana regen system to another.
  781. Secondary_Mana_Regen_Mode = "1" --Basically switches from one secondary mana regen system to another.
  782. Stun_Lose_Mode = "1" --Basically switches from one secondary stun loss system to another.
  783. Recover_Secondary_Mana = 0 --How much secondary mana you gain.
  784. Lose_Stun = 0 --How much stun you lose.
  785. Stun_Wait = 0 --Delay between losing stun.
  786. Mana_Wait = 0 --Delay between gaining mana.
  787. Secondary_Mana_Wait = 0 --Delay between gaining secondary mana.
  788. Menu_Update_Speed = 0 --How fast the Weapon Gui will update.
  789. Constant_Update = false --Removes the delay between updating the Weapon GUI.
  790. Show_Stats = false --Hides or shows stats.
  791. Stat_Offset = 0.74 --For cosmetic purposes. {0.74, 0.78}
  792.  
  793. --//=================================\\
  794. --|| END OF CUSTOMIZATION
  795. --\\=================================//
  796.  
  797. local function weldBetween(a, b)
  798. local weldd = Instance.new("ManualWeld")
  799. weldd.Part0 = a
  800. weldd.Part1 = b
  801. weldd.C0 = CFrame.new()
  802. weldd.C1 = b.CFrame:inverse() * a.CFrame
  803. weldd.Parent = a
  804. return weldd
  805. end
  806.  
  807. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  808. local acs = Instance.new("Part")
  809. acs.CanCollide = false
  810. acs.Anchored = false
  811. acs.Size = Vector3.new(0,0,0)
  812. acs.CFrame = attachmentpart.CFrame
  813. acs.Parent = Character
  814. acs.BrickColor = color
  815. local meshs = Instance.new("SpecialMesh")
  816. meshs.MeshId = mesh
  817. meshs.TextureId = texture
  818. meshs.Parent = acs
  819. meshs.Scale = scale
  820. meshs.Offset = offset
  821. weldBetween(attachmentpart,acs)
  822. end
  823.  
  824. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  825. if TYPE == "Gem" then
  826. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  827. acs.Anchored = false
  828. acs.CanCollide = false
  829. acs.CFrame = PART.CFrame
  830. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  831. weldBetween(PART,acs)
  832. elseif TYPE == "Skull" then
  833. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  834. acs.Anchored = false
  835. acs.CanCollide = false
  836. acs.CFrame = PART.CFrame
  837. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  838. weldBetween(PART,acs)
  839. elseif TYPE == "Eye" then
  840. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  841. acs.Anchored = false
  842. acs.CanCollide = false
  843. acs.CFrame = PART.CFrame
  844. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  845. weldBetween(PART,acs)
  846. end
  847. end
  848.  
  849. local Mail = Instance.new("Part")
  850. Mail.Size = Vector3.new(2, 0.05, 1)
  851. Mail.Color = Color3.new(1,1,1)
  852. local maildecal = Instance.new("Decal",Mail)
  853. maildecal.Face = "Top"
  854. maildecal.Texture = "http://www.roblox.com/asset/?id=8052441"
  855. Mail.BottomSurface = "Smooth"
  856. Mail.Name = "Mail"
  857.  
  858. --//=================================\\
  859. --|| USEFUL VALUES
  860. --\\=================================//
  861.  
  862. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  863. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  864. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  865. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  866. local CO1 = 0
  867. local CO2 = 0
  868. local CO3 = 0
  869. local CO4 = 0
  870. local CHANGEDEFENSE = 0
  871. local CHANGEDAMAGE = 0
  872. local CHANGEMOVEMENT = 0
  873. local ANIM = "Idle"
  874. local ATTACK = false
  875. local EQUIPPED = false
  876. local HOLD = false
  877. local COMBO = 1
  878. local LASTPOINT = nil
  879. local BLCF = nil
  880. local SCFR = nil
  881. local STAGGERHITANIM = false
  882. local STAGGERANIM = false
  883. local STUNANIM = false
  884. local CRITCHANCENUMBER = 0
  885. local IDLENUMBER = 0
  886. local DONUMBER = 0
  887. local HANDIDLE = false
  888. local SINE = 0
  889. local CHANGE = 2 / Animation_Speed
  890. local WALKINGANIM = false
  891. local WALK = 0
  892. local DISABLEJUMPING = false
  893. local HASBEENBLOCKED = false
  894. local STUNDELAYNUMBER = 0
  895. local MANADELAYNUMBER = 0
  896. local SECONDARYMANADELAYNUMBER = 0
  897. local ROBLOXIDLEANIMATION = IT("Animation")
  898. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  899. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  900. --ROBLOXIDLEANIMATION.Parent = Humanoid
  901. local WEAPONGUI = IT("ScreenGui", nil)
  902. WEAPONGUI.Name = "Weapon GUI"
  903. local WEAPONTOOL = IT("HopperBin", nil)
  904. WEAPONTOOL.Name = Weapon_Name
  905. local Weapon = IT("Model")
  906. Weapon.Name = Weapon_Name
  907. local Effects = IT("Folder", Weapon)
  908. Effects.Name = "Effects"
  909. local ANIMATOR = Humanoid.Animator
  910. local ANIMATE = Character.Animate
  911. local HITPLAYERSOUNDS = {"199149137", "199149186", "199149221", "199149235", "199149269", "199149297"}
  912. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  913. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  914. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  915.  
  916. --//=================================\\
  917. --\\=================================//
  918.  
  919. --//=================================\\
  920. --|| STATS
  921. --\\=================================//
  922.  
  923. if Character:FindFirstChild("Stats") ~= nil then
  924. Character:FindFirstChild("Stats").Parent = nil
  925. end
  926.  
  927. local Stats = IT("Folder", nil)
  928. Stats.Name = "Stats"
  929. local ChangeStat = IT("Folder", Stats)
  930. ChangeStat.Name = "ChangeStat"
  931. local Defense = IT("NumberValue", Stats)
  932. Defense.Name = "Defense"
  933. Defense.Value = 1
  934. local Movement = IT("NumberValue", Stats)
  935. Movement.Name = "Movement"
  936. Movement.Value = 1
  937. local Damage = IT("NumberValue", Stats)
  938. Damage.Name = "Damage"
  939. Damage.Value = 1
  940. local Mana = IT("NumberValue", Stats)
  941. Mana.Name = "Mana"
  942. Mana.Value = 0
  943. local SecondaryMana = IT("NumberValue", Stats)
  944. SecondaryMana.Name = "SecondaryMana"
  945. SecondaryMana.Value = 0
  946. local CanCrit = IT("BoolValue", Stats)
  947. CanCrit.Name = "CanCrit"
  948. CanCrit.Value = false
  949. local CritChance = IT("NumberValue", Stats)
  950. CritChance.Name = "CritChance"
  951. CritChance.Value = 20
  952. local CanPenetrateArmor = IT("BoolValue", Stats)
  953. CanPenetrateArmor.Name = "CanPenetrateArmor"
  954. CanPenetrateArmor.Value = false
  955. local AntiTeamKill = IT("BoolValue", Stats)
  956. AntiTeamKill.Name = "AntiTeamKill"
  957. AntiTeamKill.Value = false
  958. local Rooted = IT("BoolValue", Stats)
  959. Rooted.Name = "Rooted"
  960. Rooted.Value = false
  961. local Block = IT("BoolValue", Stats)
  962. Block.Name = "Block"
  963. Block.Value = false
  964. local RecentEnemy = IT("ObjectValue", Stats)
  965. RecentEnemy.Name = "RecentEnemy"
  966. RecentEnemy.Value = nil
  967. local StaggerHit = IT("BoolValue", Stats)
  968. StaggerHit.Name = "StaggerHit"
  969. StaggerHit.Value = false
  970. local Stagger = IT("BoolValue", Stats)
  971. Stagger.Name = "Stagger"
  972. Stagger.Value = false
  973. local Stun = IT("BoolValue", Stats)
  974. Stun.Name = "Stun"
  975. Stun.Value = false
  976. local StunValue = IT("NumberValue", Stats)
  977. StunValue.Name = "StunValue"
  978. StunValue.Value = 0
  979.  
  980. if Enable_Stats == true and Put_Stats_In_Character == true then
  981. Stats.Parent = Character
  982. end
  983.  
  984. --//=================================\\
  985. --\\=================================//
  986.  
  987.  
  988.  
  989.  
  990.  
  991. --//=================================\\
  992. --|| DEBUFFS / BUFFS
  993. --\\=================================//
  994.  
  995. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  996. DEFENSECHANGE1.Name = "ChangeDefense"
  997. DEFENSECHANGE1.Value = 0
  998.  
  999. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  1000. MOVEMENTCHANGE1.Name = "ChangeMovement"
  1001. MOVEMENTCHANGE1.Value = 0
  1002.  
  1003. --//=================================\\
  1004. --\\=================================//
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010. --//=================================\\
  1011. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1012. --\\=================================//
  1013.  
  1014. ArtificialHB = Instance.new("BindableEvent", script)
  1015. ArtificialHB.Name = "ArtificialHB"
  1016.  
  1017. script:WaitForChild("ArtificialHB")
  1018.  
  1019. frame = Frame_Speed
  1020. tf = 0
  1021. allowframeloss = false
  1022. tossremainder = false
  1023. lastframe = tick()
  1024. script.ArtificialHB:Fire()
  1025.  
  1026. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1027. tf = tf + s
  1028. if tf >= frame then
  1029. if allowframeloss then
  1030. script.ArtificialHB:Fire()
  1031. lastframe = tick()
  1032. else
  1033. for i = 1, math.floor(tf / frame) do
  1034. script.ArtificialHB:Fire()
  1035. end
  1036. lastframe = tick()
  1037. end
  1038. if tossremainder then
  1039. tf = 0
  1040. else
  1041. tf = tf - frame * math.floor(tf / frame)
  1042. end
  1043. end
  1044. end)
  1045.  
  1046. --//=================================\\
  1047. --\\=================================//
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053. --//=================================\\
  1054. --|| SOME FUNCTIONS
  1055. --\\=================================//
  1056.  
  1057. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1058. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1059. end
  1060.  
  1061. function PositiveAngle(NUMBER)
  1062. if NUMBER >= 0 then
  1063. NUMBER = 0
  1064. end
  1065. return NUMBER
  1066. end
  1067.  
  1068. function NegativeAngle(NUMBER)
  1069. if NUMBER <= 0 then
  1070. NUMBER = 0
  1071. end
  1072. return NUMBER
  1073. end
  1074.  
  1075. function Swait(NUMBER)
  1076. if NUMBER == 0 or NUMBER == nil then
  1077. ArtificialHB.Event:wait()
  1078. else
  1079. for i = 1, NUMBER do
  1080. ArtificialHB.Event:wait()
  1081. end
  1082. end
  1083. end
  1084.  
  1085. function QuaternionFromCFrame(cf)
  1086. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1087. local trace = m00 + m11 + m22
  1088. if trace > 0 then
  1089. local s = math.sqrt(1 + trace)
  1090. local recip = 0.5 / s
  1091. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1092. else
  1093. local i = 0
  1094. if m11 > m00 then
  1095. i = 1
  1096. end
  1097. if m22 > (i == 0 and m00 or m11) then
  1098. i = 2
  1099. end
  1100. if i == 0 then
  1101. local s = math.sqrt(m00 - m11 - m22 + 1)
  1102. local recip = 0.5 / s
  1103. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1104. elseif i == 1 then
  1105. local s = math.sqrt(m11 - m22 - m00 + 1)
  1106. local recip = 0.5 / s
  1107. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1108. elseif i == 2 then
  1109. local s = math.sqrt(m22 - m00 - m11 + 1)
  1110. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1111. end
  1112. end
  1113. end
  1114.  
  1115. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1116. local xs, ys, zs = x + x, y + y, z + z
  1117. local wx, wy, wz = w * xs, w * ys, w * zs
  1118. local xx = x * xs
  1119. local xy = x * ys
  1120. local xz = x * zs
  1121. local yy = y * ys
  1122. local yz = y * zs
  1123. local zz = z * zs
  1124. 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))
  1125. end
  1126.  
  1127. function QuaternionSlerp(a, b, t)
  1128. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1129. local startInterp, finishInterp;
  1130. if cosTheta >= 0.0001 then
  1131. if (1 - cosTheta) > 0.0001 then
  1132. local theta = ACOS(cosTheta)
  1133. local invSinTheta = 1 / SIN(theta)
  1134. startInterp = SIN((1 - t) * theta) * invSinTheta
  1135. finishInterp = SIN(t * theta) * invSinTheta
  1136. else
  1137. startInterp = 1 - t
  1138. finishInterp = t
  1139. end
  1140. else
  1141. if (1 + cosTheta) > 0.0001 then
  1142. local theta = ACOS(-cosTheta)
  1143. local invSinTheta = 1 / SIN(theta)
  1144. startInterp = SIN((t - 1) * theta) * invSinTheta
  1145. finishInterp = SIN(t * theta) * invSinTheta
  1146. else
  1147. startInterp = t - 1
  1148. finishInterp = t
  1149. end
  1150. end
  1151. 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
  1152. end
  1153.  
  1154. function Clerp(a, b, t)
  1155. local qa = {QuaternionFromCFrame(a)}
  1156. local qb = {QuaternionFromCFrame(b)}
  1157. local ax, ay, az = a.x, a.y, a.z
  1158. local bx, by, bz = b.x, b.y, b.z
  1159. local _t = 1 - t
  1160. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1161. end
  1162.  
  1163. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1164. local frame = IT("Frame")
  1165. frame.BackgroundTransparency = TRANSPARENCY
  1166. frame.BorderSizePixel = BORDERSIZEPIXEL
  1167. frame.Position = POSITION
  1168. frame.Size = SIZE
  1169. frame.BackgroundColor3 = COLOR
  1170. frame.BorderColor3 = BORDERCOLOR
  1171. frame.Name = NAME
  1172. frame.Parent = PARENT
  1173. return frame
  1174. end
  1175.  
  1176. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1177. local label = IT("TextLabel")
  1178. label.BackgroundTransparency = 1
  1179. label.Size = UD2(1, 0, 1, 0)
  1180. label.Position = UD2(0, 0, 0, 0)
  1181. label.TextColor3 = C3(255, 255, 255)
  1182. label.TextStrokeTransparency = STROKETRANSPARENCY
  1183. label.TextTransparency = TRANSPARENCY
  1184. label.FontSize = TEXTFONTSIZE
  1185. label.Font = TEXTFONT
  1186. label.BorderSizePixel = BORDERSIZEPIXEL
  1187. label.TextScaled = true
  1188. label.Text = TEXT
  1189. label.Name = NAME
  1190. label.Parent = PARENT
  1191. return label
  1192. end
  1193.  
  1194. function NoOutlines(PART)
  1195. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1196. end
  1197.  
  1198.  
  1199. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1200. local NEWWELD = IT(TYPE)
  1201. NEWWELD.Part0 = PART0
  1202. NEWWELD.Part1 = PART1
  1203. NEWWELD.C0 = C0
  1204. NEWWELD.C1 = C1
  1205. NEWWELD.Parent = PARENT
  1206. return NEWWELD
  1207. end
  1208.  
  1209. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1210. coroutine.resume(coroutine.create(function()
  1211. local NEWSOUND = IT("Sound", PARENT)
  1212. NEWSOUND.Volume = VOLUME
  1213. NEWSOUND.Pitch = PITCH
  1214. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1215. Swait()
  1216. NEWSOUND:play()
  1217. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  1218. end))
  1219. end
  1220.  
  1221. function CFrameFromTopBack(at, top, back)
  1222. local right = top:Cross(back)
  1223. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1224. end
  1225.  
  1226. function Lightning(POSITION1, POSITION2, MULTIPLIERTIME, LIGHTNINGDELAY, OFFSET, BRICKCOLOR, MATERIAL, SIZE, TRANSPARENCY, LASTINGTIME)
  1227. local MAGNITUDE = (POSITION1 - POSITION2).magnitude
  1228. local CURRENTPOSITION = POSITION1
  1229. local LIGHTNINGOFFSET = {-OFFSET, OFFSET}
  1230. coroutine.resume(coroutine.create(function()
  1231. for i = 1, MULTIPLIERTIME do
  1232. local LIGHTNINGPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR,"Effect", VT(SIZE * Player_Size, SIZE * Player_Size, MAGNITUDE / MULTIPLIERTIME))
  1233. LIGHTNINGPART.Anchored = true
  1234. local LIGHTNINGOFFSET2 = VT(LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)])
  1235. local LIGHTNINGPOSITION1 = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME).p + LIGHTNINGOFFSET2
  1236. if MULTIPLIERTIME == i then
  1237. local LIGHTNINGMAGNITUDE1 = (CURRENTPOSITION - POSITION2).magnitude
  1238. LIGHTNINGPART.Size = VT(SIZE * Player_Size, SIZE * Player_Size, LIGHTNINGMAGNITUDE1)
  1239. LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, -LIGHTNINGMAGNITUDE1 / 2)
  1240. else
  1241. LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, LIGHTNINGPOSITION1) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2)
  1242. end
  1243. CURRENTPOSITION=LIGHTNINGPART.CFrame * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2).p
  1244. game.Debris:AddItem(LIGHTNINGPART, LASTINGTIME)
  1245. coroutine.resume(coroutine.create(function()
  1246. while LIGHTNINGPART.Transparency ~= 1 do
  1247. --local StartTransparency = tra
  1248. for i=0, 1, LASTINGTIME do
  1249. Swait()
  1250. LIGHTNINGPART.Transparency = LIGHTNINGPART.Transparency + (0.1 / LASTINGTIME)
  1251. end
  1252. end
  1253. end))
  1254. Swait(LIGHTNINGDELAY / Animation_Speed)
  1255. end
  1256. end))
  1257. end
  1258.  
  1259. function MagicBlock(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1260. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1261. EFFECTPART.Anchored = true
  1262. EFFECTPART.CFrame = CFRAME
  1263. local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1264. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1265. coroutine.resume(coroutine.create(function(PART, MESH)
  1266. for i = 0, 1, delay do
  1267. Swait()
  1268. PART.CFrame = PART.CFrame * ROTATION
  1269. PART.Transparency = i
  1270. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1271. end
  1272. PART.Parent = nil
  1273. end), EFFECTPART, EFFECTMESH)
  1274. end
  1275.  
  1276. function MagicSphere(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1277. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1278. EFFECTPART.Anchored = true
  1279. EFFECTPART.CFrame = CFRAME
  1280. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Sphere", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1281. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1282. coroutine.resume(coroutine.create(function(PART, MESH)
  1283. for i = 0, 1, delay do
  1284. Swait()
  1285. PART.CFrame = PART.CFrame * ROTATION
  1286. PART.Transparency = i
  1287. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1288. end
  1289. PART.Parent = nil
  1290. end), EFFECTPART, EFFECTMESH)
  1291. end
  1292.  
  1293. function MagicCylinder(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1294. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1295. EFFECTPART.Anchored = true
  1296. EFFECTPART.CFrame = CFRAME
  1297. local EFFECTMESH = CreateMesh("CylinderMesh", EFFECTPART, "", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1298. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1299. coroutine.resume(coroutine.create(function(PART, MESH)
  1300. for i = 0, 1, delay do
  1301. Swait()
  1302. PART.CFrame = PART.CFrame * ROTATION
  1303. PART.Transparency = i
  1304. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1305. end
  1306. PART.Parent = nil
  1307. end), EFFECTPART, EFFECTMESH)
  1308. end
  1309.  
  1310. function MagicHead(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1311. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1312. EFFECTPART.Anchored = true
  1313. EFFECTPART.CFrame = CFRAME
  1314. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Head", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1315. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1316. coroutine.resume(coroutine.create(function(PART, MESH)
  1317. for i = 0, 1, delay do
  1318. Swait()
  1319. PART.CFrame = PART.CFrame * ROTATION
  1320. PART.Transparency = i
  1321. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1322. end
  1323. PART.Parent = nil
  1324. end), EFFECTPART, EFFECTMESH)
  1325. end
  1326.  
  1327. function MagicRing(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1328. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1329. EFFECTPART.Anchored = true
  1330. EFFECTPART.CFrame = CFRAME
  1331. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "3270017", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1332. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1333. coroutine.resume(coroutine.create(function(PART, MESH)
  1334. for i = 0, 1, delay do
  1335. Swait()
  1336. PART.CFrame = PART.CFrame * ROTATION
  1337. PART.Transparency = i
  1338. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1339. end
  1340. PART.Parent = nil
  1341. end), EFFECTPART, EFFECTMESH)
  1342. end
  1343.  
  1344. function MagicWave(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1345. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1346. EFFECTPART.Anchored = true
  1347. EFFECTPART.CFrame = CFRAME
  1348. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "20329976", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), VT(0, 0, (-0.1 * Z1)) + (OFFSET * Player_Size))
  1349. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1350. coroutine.resume(coroutine.create(function(PART, MESH)
  1351. for i = 0, 1, delay do
  1352. Swait()
  1353. PART.CFrame = PART.CFrame * ROTATION
  1354. PART.Transparency = i
  1355. MESH.Offset = VT(0, 0, (-0.1 * MESH.Scale.Z))
  1356. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1357. end
  1358. PART.Parent = nil
  1359. end), EFFECTPART, EFFECTMESH)
  1360. end
  1361.  
  1362. function MagicCrystal(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1363. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1364. EFFECTPART.Anchored = true
  1365. EFFECTPART.CFrame = CFRAME
  1366. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "9756362", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1367. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1368. coroutine.resume(coroutine.create(function(PART, MESH)
  1369. for i = 0, 1, delay do
  1370. Swait()
  1371. PART.CFrame = PART.CFrame * ROTATION
  1372. PART.Transparency = i
  1373. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1374. end
  1375. PART.Parent = nil
  1376. end), EFFECTPART, EFFECTMESH)
  1377. end
  1378.  
  1379. function MagicSwirl(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1380. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1381. EFFECTPART.Anchored = true
  1382. EFFECTPART.CFrame = CFRAME
  1383. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1051557", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1384. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1385. coroutine.resume(coroutine.create(function(PART, MESH)
  1386. for i = 0, 1, delay do
  1387. Swait()
  1388. PART.CFrame = PART.CFrame * ROTATION
  1389. PART.Transparency = i
  1390. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1391. end
  1392. PART.Parent = nil
  1393. end), EFFECTPART, EFFECTMESH)
  1394. end
  1395.  
  1396. function MagicSharpCone(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1397. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1398. EFFECTPART.Anchored = true
  1399. EFFECTPART.CFrame = CFRAME
  1400. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1778999", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1401. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1402. coroutine.resume(coroutine.create(function(PART, MESH)
  1403. for i = 0, 1, delay do
  1404. Swait()
  1405. PART.CFrame = PART.CFrame * ROTATION
  1406. PART.Transparency = i
  1407. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1408. end
  1409. PART.Parent = nil
  1410. end), EFFECTPART, EFFECTMESH)
  1411. end
  1412.  
  1413. function MagicFlatCone(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1414. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1415. EFFECTPART.Anchored = true
  1416. EFFECTPART.CFrame = CFRAME
  1417. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1033714", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1418. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1419. coroutine.resume(coroutine.create(function(PART, MESH)
  1420. for i = 0, 1, delay do
  1421. Swait()
  1422. PART.CFrame = PART.CFrame * ROTATION
  1423. PART.Transparency = i
  1424. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1425. end
  1426. PART.Parent = nil
  1427. end), EFFECTPART, EFFECTMESH)
  1428. end
  1429.  
  1430. function MagicSpikedCrown(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1431. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1432. EFFECTPART.Anchored = true
  1433. EFFECTPART.CFrame = CFRAME
  1434. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1323306", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1435. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1436. coroutine.resume(coroutine.create(function(PART, MESH)
  1437. for i = 0, 1, delay do
  1438. Swait()
  1439. PART.CFrame = PART.CFrame * ROTATION
  1440. PART.Transparency = i
  1441. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1442. end
  1443. PART.Parent = nil
  1444. end), EFFECTPART, EFFECTMESH)
  1445. end
  1446.  
  1447. function MagicFlatCrown(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1448. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1449. EFFECTPART.Anchored = true
  1450. EFFECTPART.CFrame = CFRAME
  1451. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1078075", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1452. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1453. coroutine.resume(coroutine.create(function(PART, MESH)
  1454. for i = 0, 1, delay do
  1455. Swait()
  1456. PART.CFrame = PART.CFrame * ROTATION
  1457. PART.Transparency = i
  1458. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1459. end
  1460. PART.Parent = nil
  1461. end), EFFECTPART, EFFECTMESH)
  1462. end
  1463.  
  1464. function MagicSkull(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1465. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1466. EFFECTPART.Anchored = true
  1467. EFFECTPART.CFrame = CFRAME
  1468. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "4770583", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1469. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1470. coroutine.resume(coroutine.create(function(PART, MESH)
  1471. for i = 0, 1, delay do
  1472. Swait()
  1473. PART.CFrame = PART.CFrame * ROTATION
  1474. PART.Transparency = i
  1475. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1476. end
  1477. PART.Parent = nil
  1478. end), EFFECTPART, EFFECTMESH)
  1479. end
  1480.  
  1481. function ElectricEffect(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X, Y, Z, delay)
  1482. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1483. EFFECTPART.Anchored = true
  1484. EFFECTPART.CFrame = CFRAME
  1485. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "4770583", "", VT(X * Player_Size, Y * Player_Size, Z * Player_Size), OFFSET * Player_Size)
  1486. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1487. local XVALUE = MRANDOM()
  1488. local YVALUE = MRANDOM()
  1489. local ZVALUE = MRANDOM()
  1490. coroutine.resume(coroutine.create(function(PART, MESH, THEXVALUE, THEYVALUE, THEZVALUE)
  1491. for i = 0, 1, delay do
  1492. Swait()
  1493. PART.CFrame = PART.CFrame * ROTATION
  1494. PART.Transparency = i
  1495. THEXVALUE = THEXVALUE - 0.1 * (delay * 10)
  1496. THEYVALUE = THEYVALUE - 0.1 * (delay * 10)
  1497. THEZVALUE = THEZVALUE - 0.1 * (delay * 10)
  1498. MESH.Scale = MESH.Scale + VT(THEXVALUE * Player_Size, THEYVALUE * Player_Size, THEZVALUE * Player_Size)
  1499. end
  1500. PART.Parent = nil
  1501. end), EFFECTPART, EFFECTMESH, XVALUE, YVALUE, ZVALUE)
  1502. end
  1503.  
  1504. function TrailEffect(BRICKCOLOR, MATERIAL, CURRENTCFRAME, OLDCFRAME, MESHTYPE, REFLECTANCE, SIZE, ROTATION, X, Y, Z, delay)
  1505. local MAGNITUDECFRAME = (CURRENTCFRAME.p - OLDCFRAME.p).magnitude
  1506. if MAGNITUDECFRAME > (1 / 100) then
  1507. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT(1, MAGNITUDECFRAME, 1))
  1508. EFFECTPART.Anchored = true
  1509. EFFECTPART.CFrame = CF((CURRENTCFRAME.p + OLDCFRAME.p) / 2, OLDCFRAME.p) * ANGLES(RAD(90), 0, 0)
  1510. local THEMESHTYPE = "BlockMesh"
  1511. if MESHTYPE == "Cylinder" then
  1512. THEMESHTYPE = "CylinderMesh"
  1513. end
  1514. local EFFECTMESH = CreateMesh(THEMESHTYPE, EFFECTPART, "", "", "", VT(0 + SIZE * Player_Size, 1, 0 + SIZE * Player_Size), VT(0, 0, 0))
  1515. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1516. coroutine.resume(coroutine.create(function(PART, MESH)
  1517. for i = 0, 1, delay do
  1518. Swait()
  1519. PART.CFrame = PART.CFrame * ROTATION
  1520. PART.Transparency = i
  1521. MESH.Scale = MESH.Scale + VT(X * Player_Size, Y * Player_Size, Z * Player_Size)
  1522. end
  1523. PART.Parent = nil
  1524. end), EFFECTPART, EFFECTMESH)
  1525. end
  1526. end
  1527.  
  1528. function ClangEffect(BRICKCOLOR, MATERIAL, CFRAME, ANGLE, DURATION, SIZE, POWER, REFLECTANCE, X, Y, Z, delay)
  1529. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 1, BRICKCOLOR, "Effect", VT())
  1530. EFFECTPART.Anchored = true
  1531. EFFECTPART.CFrame = CFRAME
  1532. local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(0, 0, 0), VT(0, 0, 0))
  1533. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1534. local THELASTPOINT = CFRAME
  1535. coroutine.resume(coroutine.create(function(PART)
  1536. for i = 1, DURATION do
  1537. Swait()
  1538. PART.CFrame = PART.CFrame * ANGLES(RAD(ANGLE), 0, 0) * CF(0, POWER * Player_Size, 0)
  1539. TrailEffect(BRICKCOLOR, MATERIAL, PART.CFrame, THELASTPOINT, "Cylinder", REFLECTANCE, SIZE * Player_Size, ANGLES(0, 0, 0), X * Player_Size, Y * Player_Size, Z * Player_Size, delay)
  1540. THELASTPOINT = PART.CFrame
  1541. end
  1542. PART.Parent = nil
  1543. end), EFFECTPART)
  1544. end
  1545.  
  1546. --local list={}
  1547. function Triangle(Color, Material, a, b, c, delay)
  1548. local edge1 = (c - a):Dot((b - a).unit)
  1549. local edge2 = (a - b):Dot((c - b).unit)
  1550. local edge3 = (b - c):Dot((a - c).unit)
  1551. if edge1 <= (b - a).magnitude and edge1 >= 0 then
  1552. a, b, c=a, b, c
  1553. elseif edge2 <= (c - b).magnitude and edge2 >= 0 then
  1554. a, b, c=b, c, a
  1555. elseif edge3 <= (a - c).magnitude and edge3 >= 0 then
  1556. a, b, c=c, a, b
  1557. else
  1558. assert(false, "unreachable")
  1559. end
  1560. local len1 = (c - a):Dot((b - a).unit)
  1561. local len2 = (b - a).magnitude - len1
  1562. local width = (a + (b - a).unit * len1 - c).magnitude
  1563. local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, - (b - a).unit)
  1564. if len1 > 1 / 100 then
  1565. local sz = VT(0.2, width, len1)
  1566. local w1 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  1567. local sp = CreateMesh("SpecialMesh", w1, "Wedge", "", "", VT(0, 1, 1) * sz / w1.Size, VT(0, 0, 0))
  1568. w1.Anchored = true
  1569. w1.CFrame = maincf * ANGLES(math.pi, 0, math.pi / 2) * CF(0, width / 2, len1 / 2)
  1570. coroutine.resume(coroutine.create(function()
  1571. for i = 0.5, 1, delay * (2 / Animation_Speed) do
  1572. Swait()
  1573. w1.Transparency = i
  1574. end
  1575. w1.Parent = nil
  1576. end))
  1577. game:GetService("Debris"):AddItem(w1, 10)
  1578. --table.insert(list, w1)
  1579. end
  1580. if len2 > 1 / 100 then
  1581. local sz = VT(0.2, width, len2)
  1582. local w2 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  1583. local sp = CreateMesh("SpecialMesh", w2, "Wedge", "", "", VT(0, 1, 1) * sz / w2.Size, VT(0, 0, 0))
  1584. w2.Anchored = true
  1585. w2.CFrame = maincf * ANGLES(math.pi, math.pi, -math.pi / 2) * CF(0, width / 2, -len1 - len2 / 2)
  1586. coroutine.resume(coroutine.create(function()
  1587. for i = 0.5, 1, delay * (2 / Animation_Speed) do
  1588. Swait()
  1589. w2.Transparency = i
  1590. end
  1591. w2.Parent = nil
  1592. end))
  1593. game:GetService("Debris"):AddItem(w2, 10)
  1594. --table.insert(list, w2)
  1595. end
  1596. --return unpack(list)
  1597. end
  1598.  
  1599. --[[Usage:
  1600. local Pos = Part
  1601. local Offset = Part.CFrame * CF(0, 0, 0)
  1602. local Color = "Institutional white"
  1603. local Material = "Neon"
  1604. local TheDelay = 0.01
  1605. local Height = 4
  1606. BLCF = Offset
  1607. if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  1608. local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  1609. if a then game:GetService("Debris"):AddItem(a, 1) end
  1610. if b then game:GetService("Debris"):AddItem(b, 1) end
  1611. local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  1612. if a then game:GetService("Debris"):AddItem(a, 1) end
  1613. if b then game:GetService("Debris"):AddItem(b, 1) end
  1614. SCFR = BLCF
  1615. elseif not SCFR then
  1616. SCFR = BLCF
  1617. end
  1618. --
  1619. BLCF = nil
  1620. SCFR = nil
  1621. --]]
  1622.  
  1623. --//=================================\\
  1624. --\\=================================//
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630. --//=================================\\
  1631. --|| RESIZE PLAYER
  1632. --\\=================================//
  1633.  
  1634. if Player_Size ~= 1 then
  1635. RootPart.Size = RootPart.Size * Player_Size
  1636. Torso.Size = Torso.Size * Player_Size
  1637. Head.Size = Head.Size * Player_Size
  1638. RightArm.Size = RightArm.Size * Player_Size
  1639. LeftArm.Size = LeftArm.Size * Player_Size
  1640. RightLeg.Size = RightLeg.Size * Player_Size
  1641. LeftLeg.Size = LeftLeg.Size * Player_Size
  1642. RootJoint.Parent = RootPart
  1643. Neck.Parent = Torso
  1644. RightShoulder.Parent = Torso
  1645. LeftShoulder.Parent = Torso
  1646. RightHip.Parent = Torso
  1647. LeftHip.Parent = Torso
  1648.  
  1649. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1650. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1651. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1652. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1653. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  1654. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  1655. if Disable_Moving_Arms == false then
  1656. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1657. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1658. else
  1659. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1660. LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1661. end
  1662. RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1663. LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1664. RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1665. LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1666. --------------------
  1667. end
  1668.  
  1669.  
  1670. --//=================================\\
  1671. --\\=================================//
  1672.  
  1673.  
  1674.  
  1675.  
  1676. --//=================================\\
  1677. --|| WEAPON CREATION
  1678. --\\=================================//
  1679. local BATON = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Baton", VT(1, 0.8, 3),false)
  1680. CreateMesh("SpecialMesh", BATON, "FileMesh", "11820238", "", VT(1,1,1), VT(0,0,0))
  1681. local BATONWELD = CreateWeldOrSnapOrMotor("Weld", BATON, Torso, BATON, CF(1,-0.8,0.75) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1682. local A = IT("Attachment",BATON)
  1683. local B = IT("Attachment",BATON)
  1684. B.Position = VT(0,0,-0.4)
  1685. A.Position = VT(0,0,1)
  1686. local Trail = IT("Trail",BATON)
  1687. Trail.Attachment0 = A
  1688. Trail.Attachment1 = B
  1689. Trail.Lifetime = 0.1
  1690. Trail.Color = ColorSequence.new(C3(0,0,0))
  1691. Trail.Transparency = NumberSequence.new(0, 1)
  1692. Trail.Enabled = false
  1693. Trail.Texture = "http://www.roblox.com/asset/?id=1831500579"
  1694. local GUN = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
  1695. CreateMesh("SpecialMesh", GUN, "FileMesh", "623102664", "623102879", VT(0.01, 0.01, 0.01), VT(0,0,0))
  1696. local GUNWELD = CreateWeldOrSnapOrMotor("Weld", GUN, Torso, GUN, CF(-1.1,-1.1,0) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  1697.  
  1698. for i = 1, 15 do
  1699. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  1700. FACE.Color = C3(0,0,0)
  1701. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1702. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  1703. end
  1704. mask = Instance.new("Part",Character)
  1705. mask.Size = Vector3.new(1,1,1)
  1706. mask.CFrame = Head.CFrame
  1707. mask.CanCollide = false
  1708. maskweld = weldBetween(mask,Head)
  1709. maskweld.C0 = CFrame.new(0,-.555,0) * CFrame.Angles(math.rad(90),0,0)
  1710. mMask = Instance.new("SpecialMesh", mask)
  1711. mMask.MeshType = "FileMesh"
  1712. mMask.Scale = Vector3.new(0.14, 0.13, 0.1)
  1713. mMask.MeshId,mMask.TextureId = 'rbxassetid://5158270','rbxassetid://9543585'
  1714.  
  1715. for _, c in pairs(Character:GetChildren()) do
  1716. if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  1717. c.Material = "Neon"
  1718. if c == Head then
  1719. if c:FindFirstChild("face") then
  1720. c.face:remove()
  1721. end
  1722. end
  1723. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1724. c:remove()
  1725. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1726. c:remove()
  1727. end
  1728. end
  1729. local Gun2 = CreatePart(3, Weapon, "Marble", 0, 0, "Mid gray", "Left Gun", VT(2.05, 1.05, 0.2),false)
  1730. local Gun2Weld = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Gun2, CF(0, -1.9, -0.3) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  1731. CreateMesh("SpecialMesh", Gun2, "FileMesh", "430286482", "60661935", VT(0.9,0.9,0.9)/20, VT(0,0,0))
  1732.  
  1733. local HAT1 = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Detail", VT(2,0.2,2),false)
  1734. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  1735. local BELT = CreatePart(3, Character, "Neon", 0, 0, "Really white", "Part", VT(1.35,0.4,1.35),false)
  1736. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0.25,0), CF(0, 0, 0))
  1737. local HAT2 = CreatePart(3, Character, "Neon", 0, 0, "Lime green", "Detail", VT(1.3,2.2,1.3),false)
  1738. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  1739.  
  1740. Humanoid.DisplayDistanceType = "None"
  1741. local naeeym2 = IT("BillboardGui",Character)
  1742. naeeym2.AlwaysOnTop = true
  1743. naeeym2.Size = UDim2.new(5,35,2,15)
  1744. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1745. naeeym2.MaxDistance = 75
  1746. naeeym2.Adornee = Character.Head
  1747. naeeym2.Name = "Name"
  1748. local tecks2 = IT("TextLabel",naeeym2)
  1749. tecks2.BackgroundTransparency = 1
  1750. tecks2.TextScaled = true
  1751. tecks2.BorderSizePixel = 0
  1752. tecks2.Text = "The Mailman"
  1753. tecks2.Font = "Antique"
  1754. tecks2.TextSize = 50
  1755. tecks2.TextStrokeTransparency = 0.5
  1756. tecks2.TextColor3 = C3(0,0,0)
  1757. tecks2.TextStrokeColor3 = BRICKC"Lime green".Color
  1758. tecks2.Size = UDim2.new(1,0,0.5,0)
  1759. tecks2.Parent = naeeym2
  1760.  
  1761. local top = Instance.new("Shirt")
  1762. top.ShirtTemplate = "rbxassetid://135696247"
  1763. top.Parent = Character
  1764. top.Name = "Cloth"
  1765. local bottom = Instance.new("Pants")
  1766. bottom.PantsTemplate = "rbxassetid://65160698"
  1767. bottom.Parent = Character
  1768. bottom.Name = "Cloth"
  1769.  
  1770. local HandlePart = CreatePart(3, Weapon, "Neon", 0, 1, "Shamrock", "Handle", VT(0*Player_Size,0*Player_Size,0*Player_Size),false)
  1771. local Weld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0.5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  1772. CreateMesh("SpecialMesh", HandlePart, "FileMesh", "156292343", "", VT(8,8,2), VT(0,0,0))
  1773. local HandlePart2 = CreatePart(3, Weapon, "Neon", 0, 1, "Shamrock", "Handle", VT(0*Player_Size,0*Player_Size,0*Player_Size),false)
  1774. local Weld2 = CreateWeldOrSnapOrMotor("Weld", HandlePart2, RightArm, HandlePart2, CF(0.5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  1775. CreateMesh("SpecialMesh", HandlePart2, "FileMesh", "156292343", "", VT(6,6,2), VT(0,0,0))
  1776. local ArmPart = CreatePart(3, Weapon, "Neon", 0, 0, "Shamrock", "Handle", VT(1.01*Player_Size,2.01*Player_Size,1.01*Player_Size),false)
  1777. local Weld3 = CreateWeldOrSnapOrMotor("Weld", ArmPart, RightArm, ArmPart, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1778.  
  1779. --create mailbox
  1780.  
  1781. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 1, 1, "Really black", "Handle", VT(0.25*Player_Size,0.25*Player_Size,1.5*Player_Size))
  1782. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1783. local axeccessory = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Reddish brown", "Handle", VT(0.1*Player_Size,0.1*Player_Size,5*Player_Size))
  1784. local axeweld = CreateWeldOrSnapOrMotor("Weld", HandlePart, axeccessory, HandlePart, CF(0 * Player_Size, 0 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1785. local Box = CreatePart(3, Weapon, "Neon", 0, 0, "Dark green", "Handle", VT(1*Player_Size,2*Player_Size,0.5*Player_Size))
  1786. local axeweld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Box, HandlePart, CF(0 * Player_Size, 0 * Player_Size, 3 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1787. local axeccessory = CreatePart(3, Weapon, "Neon", 0, 0, "Dark green", "Handle", VT(2*Player_Size,1*Player_Size,1*Player_Size))
  1788. local axeweld = CreateWeldOrSnapOrMotor("Weld", HandlePart, axeccessory, HandlePart, CF(0 * Player_Size, 0 * Player_Size, 3.25 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  1789. local mmesh = Instance.new("SpecialMesh",axeccessory)
  1790. mmesh.MeshType = "Cylinder"
  1791. local MailMeme = CreatePart(3, Weapon, "Neon", 1, 1, "Dark green", "Handle", VT(0.2*Player_Size,0.2*Player_Size,0.2*Player_Size))
  1792. local axeweld = CreateWeldOrSnapOrMotor("Weld", HandlePart, MailMeme, HandlePart, CF(0 * Player_Size, 1.2 * Player_Size, 3 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1793. local axeccessory = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Maroon", "Handle", VT(0.05*Player_Size,0.2*Player_Size,0.6*Player_Size))
  1794. local axeweld = CreateWeldOrSnapOrMotor("Weld", HandlePart, axeccessory, HandlePart, CF(-0.5 * Player_Size, 0 * Player_Size, 3.4 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1795. local axeccessory = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Maroon", "Handle", VT(0.05*Player_Size,0.6*Player_Size,0.2*Player_Size))
  1796. local axeweld = CreateWeldOrSnapOrMotor("Weld", HandlePart, axeccessory, HandlePart, CF(-0.5 * Player_Size, 0.4 * Player_Size, 3.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1797.  
  1798. -----
  1799.  
  1800. if Player_Size ~= 1 then
  1801. for _, v in pairs (Weapon:GetChildren()) do
  1802. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  1803. local p1 = v.Part1
  1804. v.Part1 = nil
  1805. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  1806. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  1807. v.Part1 = p1
  1808. elseif v.ClassName == "Part" then
  1809. for _, b in pairs (v:GetChildren()) do
  1810. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  1811. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  1812. end
  1813. end
  1814. end
  1815. end
  1816. end
  1817.  
  1818. for _, c in pairs(Weapon:GetChildren()) do
  1819. if c.ClassName == "Part" then
  1820. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1821. end
  1822. end
  1823.  
  1824. Weapon.Parent = Character
  1825.  
  1826. Humanoid.Died:connect(function()
  1827. ATTACK = true
  1828. end)
  1829.  
  1830. print(Class_Name.." loaded.")
  1831. --//=================================\\
  1832. --\\=================================//
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838. --//=================================\\
  1839. --|| DAMAGE FUNCTIONS
  1840. --\\=================================//
  1841.  
  1842. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1843. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1844. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1845. local BODYGYRO = IT("BodyGyro", STATPART)
  1846. local BODYPOSITION = IT("BodyPosition", STATPART)
  1847. BODYPOSITION.P = 2000
  1848. BODYPOSITION.D = 100
  1849. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1850. if LABELTYPE == "Normal" then
  1851. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1852. elseif LABELTYPE == "Debuff" then
  1853. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1854. elseif LABELTYPE == "Interruption" then
  1855. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1856. end
  1857. game:GetService("Debris"):AddItem(STATPART ,5)
  1858. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1859. BILLBOARDGUI.Adornee = STATPART
  1860. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1861. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1862. BILLBOARDGUI.AlwaysOnTop = false
  1863. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1864. TEXTLABEL.BackgroundTransparency = 1
  1865. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1866. TEXTLABEL.Text = TEXT
  1867. TEXTLABEL.Font = "SciFi"
  1868. TEXTLABEL.FontSize="Size42"
  1869. TEXTLABEL.TextColor3 = COLOR
  1870. TEXTLABEL.TextStrokeTransparency = 1
  1871. TEXTLABEL.TextScaled = true
  1872. TEXTLABEL.TextWrapped = true
  1873. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1874. wait(0.2)
  1875. for i=1, 5 do
  1876. wait()
  1877. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1878. end
  1879. wait(1.2)
  1880. for i=1, 5 do
  1881. wait()
  1882. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1883. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1884. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1885. end
  1886. THEPART.Parent = nil
  1887. end),STATPART, BODYPOSITION, TEXTLABEL)
  1888. end
  1889.  
  1890. function IncreaseOrDecreaseStat(LOCATION, STAT, AMOUNT, DURATION, SHOWTHESTAT)
  1891. if LOCATION:FindFirstChild("Stats") ~= nil then
  1892. if LOCATION.Stats:FindFirstChild("Block") ~= nil then
  1893. if LOCATION.Stats:FindFirstChild("Block").Value == true then
  1894. return
  1895. end
  1896. end
  1897. if LOCATION.Stats:FindFirstChild("ChangeStat") ~= nil and LOCATION.Stats:FindFirstChild("Block").Value == false then
  1898. local NewStatChange = IT("NumberValue")
  1899. NewStatChange.Value = AMOUNT
  1900. if STAT == "Defense" then
  1901. NewStatChange.Name = "ChangeDefense"
  1902. elseif STAT == "Damage" then
  1903. NewStatChange.Name = "ChangeDamage"
  1904. elseif STAT == "Movement" then
  1905. NewStatChange.Name = "ChangeMovement"
  1906. end
  1907. if SHOWTHESTAT == true then
  1908. if AMOUNT < 0 then
  1909. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "-"..STAT, C3(1, 1, 1))
  1910. elseif AMOUNT > 0 then
  1911. StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "+"..STAT, C3(1, 1, 1))
  1912. end
  1913. end
  1914. if DURATION ~= nil and DURATION ~= 0 then
  1915. local StatDuration = IT("NumberValue")
  1916. StatDuration.Name = "Duration"
  1917. StatDuration.Value = DURATION
  1918. StatDuration.Parent = NewStatChange
  1919. end
  1920. NewStatChange.Parent = LOCATION.Stats:FindFirstChild("ChangeStat")
  1921. end
  1922. end
  1923. end
  1924.  
  1925. --Usage: DamageFunction(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, hit, false, 5, 10, MRANDOM(5, 10), "Normal", Part, 0.5, false, true, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  1926. function DamageFunction(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HIT, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  1927. if HIT.Parent == nil then
  1928. return
  1929. end
  1930. local HITHUMANOID = HIT.Parent:FindFirstChild("Humanoid")
  1931. for _, v in pairs(HIT.Parent:GetChildren()) do
  1932. if v:IsA("Humanoid") then
  1933. HITHUMANOID = v
  1934. end
  1935. end
  1936. if HIT.Name == "Hitbox" and RANGED ~= true and HIT.Parent ~= Weapon and Enable_Stagger_Hit == true then
  1937. StaggerHit.Value = true
  1938. if Play_Hitbox_Hit_Sound == true then
  1939. if HITWEAPONSOUND ~= "" and HITWEAPONSOUND ~= "nil" then
  1940. CreateSound(HITWEAPONSOUND, HIT, 1, HITWEAPONSOUNDPITCH)
  1941. end
  1942. end
  1943. return
  1944. end
  1945. if HIT.Parent.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent.Parent:FindFirstChild("UpperTorso") ~= nil then
  1946. HITHUMANOID = HIT.Parent.Parent:FindFirstChild("Humanoid")
  1947. end
  1948. if HIT.Parent.ClassName == "Hat" or HIT.ClassName == "Accessory" then
  1949. HIT = HIT.Parent.Parent:FindFirstChild("Head")
  1950. end
  1951. if HITHUMANOID ~= nil and HIT.Parent.Name ~= Character.Name and (HIT.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent:FindFirstChild("UpperTorso") ~= nil) then
  1952. if HIT.Parent:FindFirstChild("DebounceHit") ~= nil then
  1953. if HIT.Parent.DebounceHit.Value == true then
  1954. return
  1955. end
  1956. end
  1957. if AntiTeamKill.Value == true then
  1958. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(HIT.Parent) ~= nil then
  1959. if game.Players:GetPlayerFromCharacter(HIT.Parent).TeamColor == Player.TeamColor then
  1960. return
  1961. end
  1962. end
  1963. end
  1964. if HITEVENWHENDEAD == false then
  1965. if HIT.Parent:FindFirstChild("Humanoid") ~= nil then
  1966. if HIT.Parent:FindFirstChild("Humanoid").Health <= 0 then
  1967. return
  1968. end
  1969. end
  1970. end
  1971. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1972. if HIT.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  1973. HIT.Parent.Stats:FindFirstChild("StunValue").Value = HIT.Parent.Stats:FindFirstChild("StunValue").Value + INCREASESTUN
  1974. end
  1975. end
  1976. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1977. if HIT.Parent.Stats:FindFirstChild("Stagger") ~= nil then
  1978. if STAGGER == true and Enable_Stagger == true then
  1979. HIT.Parent.Stats:FindFirstChild("Stagger").Value = true
  1980. end
  1981. end
  1982. end
  1983. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  1984. if HIT.Parent.Stats:FindFirstChild("Block") ~= nil then
  1985. if HIT.Parent.Stats:FindFirstChild("Block").Value == true then
  1986. HASBEENBLOCKED = true
  1987. if HIT.Parent.Stats:FindFirstChild("Block"):FindFirstChild("BlockDebounce") == nil then
  1988. StatLabel("Interruption", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Blocked!", C3(0, 100 / 255, 255 / 255))
  1989. if RANGED ~= true then
  1990. if HITBLOCKSOUND ~= "" and HITBLOCKSOUND ~= "nil" then
  1991. CreateSound(HITBLOCKSOUND, HIT, 1, HITBLOCKSOUNDPITCH)
  1992. end
  1993. end
  1994. local BlockDebounce = IT("BoolValue", HIT.Parent.Stats:FindFirstChild("Block"))
  1995. BlockDebounce.Name = "BlockDebounce"
  1996. BlockDebounce.Value = true
  1997. if RANGED ~= true then
  1998. game:GetService("Debris"):AddItem(BlockDebounce, 0.5)
  1999. else
  2000. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  2001. end
  2002. end
  2003. if RANGED ~= true and Enable_Stagger == true then
  2004. HIT.Parent.Stats:FindFirstChild("Block").Value = false
  2005. Stagger.Value = true
  2006. end
  2007. return
  2008. end
  2009. end
  2010. end
  2011. if DECREASETHESTAT ~= nil then
  2012. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2013. IncreaseOrDecreaseStat(HIT.Parent, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  2014. end
  2015. end
  2016. local DAMAGE = MRANDOM(MINIMUMDAMAGE,MAXIMUMDAMAGE) * Damage.Value
  2017. if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2018. if HIT.Parent.Stats:FindFirstChild("Defense") ~= nil then
  2019. if CanPenetrateArmor.Value == true then
  2020. DAMAGE = DAMAGE
  2021. else
  2022. DAMAGE = DAMAGE / HIT.Parent.Stats:FindFirstChild("Defense").Value
  2023. end
  2024. elseif HIT.Parent.Stats:FindFirstChild("Defense") == nil then
  2025. DAMAGE = DAMAGE
  2026. end
  2027. end
  2028. if CanCrit.Value == true then
  2029. CRITCHANCENUMBER = MRANDOM(1, CritChance.Value)
  2030. if CRITCHANCENUMBER == 1 then
  2031. DAMAGE = DAMAGE * 2
  2032. end
  2033. end
  2034. DAMAGE = math.floor(DAMAGE)
  2035. if HASBEENBLOCKED == false then
  2036. HITHUMANOID.Health = HITHUMANOID.Health - DAMAGE
  2037. end
  2038. if DAMAGE <= 99999999999999 and HASBEENBLOCKED == false then
  2039. if STAGGERHIT == true and Enable_Stagger_Hit == true and RANGED ~= true then
  2040. StaggerHit.Value = true
  2041. end
  2042. if HITARMORSOUND ~= "" and HITARMORSOUND ~= "nil" then
  2043. CreateSound(HITARMORSOUND, HIT, 1, HITARMORSOUNDPITCH)
  2044. end
  2045. elseif DAMAGE > 3 and HASBEENBLOCKED == false then
  2046. if HITPLAYERSOUND ~= "" and HITPLAYERSOUND ~= "nil" then
  2047. CreateSound(HITPLAYERSOUND, HIT, 1, HITPLAYERSOUNDPITCH)
  2048. end
  2049. end
  2050. if DAMAGE > 9999999999999 and DAMAGE < 99999999999999 and HASBEENBLOCKED == false then
  2051. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  2052. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  2053. CreateSound("296102734", HIT, 1, 1)
  2054. else
  2055. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 220/255, 0))
  2056. end
  2057. elseif DAMAGE >= 20 and HASBEENBLOCKED == false then
  2058. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  2059. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  2060. CreateSound("296102734", HIT, 1, 1)
  2061. else
  2062. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(255/255, 0, 0))
  2063. end
  2064. elseif DAMAGE <= 3 and HASBEENBLOCKED == false then
  2065. if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  2066. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE, C3(200/255, 0, 0))
  2067. CreateSound("296102734", HIT, 1, 1)
  2068. else
  2069. StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE, C3(225/255, 225/255, 225/255))
  2070. end
  2071. end
  2072. if TYPE == "Normal" then
  2073. local vp = IT("BodyVelocity")
  2074. vp.P=500
  2075. vp.maxForce = VT(math.huge, 0, math.huge)
  2076. if KNOCKBACKTYPE == 1 then
  2077. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK + PROPERTY.Velocity / 1.05
  2078. elseif KNOCKBACKTYPE == 2 then
  2079. vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK
  2080. end
  2081. if KNOCKBACK > 0 and HASBEENBLOCKED == false then
  2082. vp.Parent = HIT--.Parent.Torso
  2083. end
  2084. game:GetService("Debris"):AddItem(vp, 0.5)
  2085. end
  2086. HASBEENBLOCKED = false
  2087. RecentEnemy.Value = HIT.Parent
  2088. local DebounceHit = IT("BoolValue", HIT.Parent)
  2089. DebounceHit.Name = "DebounceHit"
  2090. DebounceHit.Value = true
  2091. game:GetService("Debris"):AddItem(DebounceHit, DELAY)
  2092. end
  2093. end
  2094.  
  2095. --Usage: MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, Part, 5, true, 5, 10, MRANDOM(5, 10), "Normal", Part, 0.5, false, true, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2096. function MagnitudeDamage(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, PART, MAGNITUDE, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  2097. for _, c in pairs(workspace:GetChildren()) do
  2098. local HUMANOID = c:FindFirstChild("Humanoid")
  2099. local HEAD = nil
  2100. if HUMANOID ~= nil then
  2101. for _, d in pairs(c:GetChildren()) do
  2102. if d.ClassName == "Model" and RANGED ~= true then
  2103. HEAD = d:FindFirstChild("Hitbox")
  2104. if HEAD ~= nil then
  2105. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  2106. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  2107. if Play_Hitbox_Hit_Sound == true then
  2108. local HitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2109. HitRefpart.Anchored = true
  2110. HitRefpart.CFrame = CF(HEAD.Position)
  2111. CreateSound(HITWEAPONSOUND, HitRefpart, 1, HITWEAPONSOUNDPITCH)
  2112. end
  2113. if Enable_Stagger_Hit == true then
  2114. StaggerHit.Value = true
  2115. end
  2116. end
  2117. end
  2118. elseif d:IsA"BasePart" then
  2119. HEAD = d
  2120. if HEAD ~= nil then
  2121. local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  2122. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  2123. DamageFunction(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HEAD, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  2124. end
  2125. end
  2126. end
  2127. end
  2128. end
  2129. end
  2130. end
  2131.  
  2132. --Usage: MagnitudeBuffOrDebuff(Part, 5, "Defense", -0.1, 3, true, true)
  2133. function MagnitudeBuffOrDebuff(PART, MAGNITUDE, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF, APPLYTOOTHERSINSTEAD)
  2134. if Player.Neutral == true then
  2135. IncreaseOrDecreaseStat(Character, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  2136. end
  2137. for _, c in pairs(workspace:GetChildren()) do
  2138. local HUMANOID = c:FindFirstChild("Humanoid")
  2139. local THEHEAD = nil
  2140. if HUMANOID ~= nil then
  2141. if c:FindFirstChild("Torso") ~= nil then
  2142. THEHEAD = c:FindFirstChild("Torso")
  2143. elseif c:FindFirstChild("UpperTorso") ~= nil then
  2144. THEHEAD = c:FindFirstChild("UpperTorso")
  2145. end
  2146. if THEHEAD ~= nil then
  2147. local THEMAGNITUDE = (THEHEAD.Position - PART.Position).magnitude
  2148. print("yes 1")
  2149. if APPLYTOOTHERSINSTEAD == true then
  2150. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  2151. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  2152. if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  2153. IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  2154. end
  2155. end
  2156. end
  2157. elseif APPLYTOOTHERSINSTEAD == false then
  2158. if THEMAGNITUDE <= (MAGNITUDE * Player_Size) then
  2159. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  2160. if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  2161. IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  2162. end
  2163. end
  2164. end
  2165. end
  2166. end
  2167. end
  2168. end
  2169. end
  2170. --//=================================\\
  2171. --\\=================================//
  2172.  
  2173.  
  2174.  
  2175.  
  2176.  
  2177. --//=================================\\
  2178. --|| WEAPON GUI
  2179. --\\=================================//
  2180.  
  2181. local MANABAR = CreateFrame(WEAPONGUI, Mana_Bar_Background_Transparency, 2, UD2(0.23, 0, 0.82, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_8.r, Custom_Colors.Custom_Color_8.g, Custom_Colors.Custom_Color_8.b), C3(0, 0, 0),"Mana Bar")
  2182. local MANACOVER = CreateFrame(MANABAR, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_5.r, Custom_Colors.Custom_Color_5.g, Custom_Colors.Custom_Color_5.b), C3(0, 0, 0),"Mana Cover")
  2183. local MANATEXT = CreateLabel(MANABAR, Mana_Name.." ["..FLOOR(Mana.Value).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Mana Text")
  2184.  
  2185. local HEALTHBAR = CreateFrame(WEAPONGUI, Health_Bar_Background_Transparency, 2, UD2(0.5, 0, 0.82, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_11.r, Custom_Colors.Custom_Color_11.g, Custom_Colors.Custom_Color_11.b), C3(0, 0, 0), "Health Bar")
  2186. local HEALTHCOVER = CreateFrame(HEALTHBAR, 0, 2,UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_6.r, Custom_Colors.Custom_Color_6.g, Custom_Colors.Custom_Color_6.b), C3(0, 0, 0), "Health Cover")
  2187. local HEALTHTEXT = CreateLabel(HEALTHBAR, "Health ["..FLOOR(Humanoid.Health).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Health Text")
  2188.  
  2189. local STUNFRAME = CreateFrame(nil, Stun_Bar_Background_Transparency, 2, UD2(0.5, 0, 0.78, 0),UD2(0.26, 0, 0, 0),C3(Custom_Colors.Custom_Color_10.r, Custom_Colors.Custom_Color_10.g, Custom_Colors.Custom_Color_10.b), C3(0, 0, 0), "Stun Frame")
  2190. local STUNBAR = CreateFrame(STUNFRAME, 0, 2, UD2(0, 0, 0, 0),UD2(0, 0, 1, 0),C3(Custom_Colors.Custom_Color_7.r, Custom_Colors.Custom_Color_7.g, Custom_Colors.Custom_Color_7.b), C3(0, 0, 0), "Stun Bar")
  2191. local STUNTEXT = CreateLabel(STUNFRAME, "Stun ["..FLOOR(StunValue.Value).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Stun Text")
  2192.  
  2193. local SECONDARYMANABAR = CreateFrame(nil, Secondary_Mana_Bar_Background_Transparency, 2, UD2(0.23, 0, 0.78, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_9.r, Custom_Colors.Custom_Color_9.g, Custom_Colors.Custom_Color_9.b), C3(0, 0, 0),"Secondary Mana Bar")
  2194. local SECONDARYMANACOVER = CreateFrame(SECONDARYMANABAR, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_4.r, Custom_Colors.Custom_Color_4.g, Custom_Colors.Custom_Color_4.b), C3(0, 0, 0),"Secondary Mana Cover")
  2195. local SECONDARYMANATEXT = CreateLabel(SECONDARYMANABAR, Secondary_Mana_Name.." ["..FLOOR(SecondaryMana.Value).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Secondary Mana Text")
  2196.  
  2197. local DEFENSEFRAME = CreateFrame(nil, Stat_Background_Transparency, 2, UD2(0.23, 0, Stat_Offset, 0), UD2(0.075, 0, 0, 0), C3(100 / 255, 100 / 255, 255 / 255), C3(0, 0, 0),"Defense Frame")
  2198. local DEFENSETEXT = CreateLabel(DEFENSEFRAME, "Defense ["..(Defense.Value * 100).."%]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Defense Text")
  2199.  
  2200. local DAMAGEFRAME = CreateFrame(nil, Stat_Background_Transparency, 2, UD2(0.456, 0, Stat_Offset, 0), UD2(0.075, 0, 0, 0), C3(255 / 255, 100 / 255, 100 / 255), C3(0, 0, 0),"Damage Frame")
  2201. local DAMAGETEXT = CreateLabel(DAMAGEFRAME, "Damage ["..(Damage.Value * 100).."%]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Damage Text")
  2202.  
  2203. local MOVEMENTFRAME = CreateFrame(nil, Stat_Background_Transparency, 2, UD2(0.685, 0, Stat_Offset, 0), UD2(0.075, 0, 0, 0), C3(100 / 255, 255 / 255, 100 / 255), C3(0, 0, 0),"Movement Frame")
  2204. local MOVEMENTTEXT = CreateLabel(MOVEMENTFRAME, "Movement ["..(Movement.Value * 100).."%]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Movement Text")
  2205.  
  2206. local SKILL1FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.23, 0, 0.86, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 1 Frame")
  2207. local SKILL2FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.50, 0, 0.86, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 2 Frame")
  2208. local SKILL3FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 3 Frame")
  2209. local SKILL4FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 4 Frame")
  2210.  
  2211. local SKILL1BAR = CreateFrame(SKILL1FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 1 Bar")
  2212. local SKILL2BAR = CreateFrame(SKILL2FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 2 Bar")
  2213. local SKILL3BAR = CreateFrame(SKILL3FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 3 Bar")
  2214. local SKILL4BAR = CreateFrame(SKILL4FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 4 Bar")
  2215.  
  2216. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Ability 1", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 1")
  2217. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Ability 2", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 2")
  2218. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 3")
  2219. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 4")
  2220.  
  2221. if Enable_Gui == true then
  2222. WEAPONGUI.Parent = PlayerGui
  2223. end
  2224.  
  2225. if Enable_Stats == true and Show_Stats == true then
  2226. DEFENSEFRAME.Parent = WEAPONGUI
  2227. DAMAGEFRAME.Parent = WEAPONGUI
  2228. MOVEMENTFRAME.Parent = WEAPONGUI
  2229. end
  2230.  
  2231. if Enable_Secondary_Bar == true then
  2232. SECONDARYMANABAR.Parent = WEAPONGUI
  2233. end
  2234.  
  2235. if Enable_Abilities == true then
  2236. SKILL1FRAME.Parent = WEAPONGUI
  2237. SKILL2FRAME.Parent = WEAPONGUI
  2238. SKILL3FRAME.Parent = WEAPONGUI
  2239. SKILL4FRAME.Parent = WEAPONGUI
  2240. end
  2241.  
  2242. if Enable_Stun == true then
  2243. STUNFRAME.Parent = WEAPONGUI
  2244. end
  2245.  
  2246. function UpdateGUI()
  2247. MANABAR:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2248. MANACOVER:TweenSize(UD2(1 * (Mana.Value / Max_Mana), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2249. MANATEXT.Text = Mana_Name.." ["..FLOOR(Mana.Value).."]"
  2250. HEALTHBAR:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2251. HEALTHCOVER:TweenSize(UD2(1 * (Humanoid.Health / Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2252. HEALTHTEXT.Text = "Health ["..FLOOR(Humanoid.Health).."]"
  2253. if Enable_Abilities == true then
  2254. SKILL1FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2255. SKILL2FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2256. SKILL3FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2257. SKILL4FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2258. SKILL1BAR:TweenSize(UD2(1 * (CO1 / Cooldown_1), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2259. SKILL2BAR:TweenSize(UD2(1 * (CO2 / Cooldown_2), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2260. SKILL3BAR:TweenSize(UD2(1 * (CO3 / Cooldown_3), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2261. SKILL4BAR:TweenSize(UD2(1 * (CO4 / Cooldown_4), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2262. end
  2263. if Enable_Stats == true and Show_Stats == true then
  2264. DEFENSEFRAME:TweenSize(UD2(0.075, 0, 0.03), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2265. DEFENSETEXT.Text = "Defense ["..(Defense.Value * 100).."%]"
  2266. DAMAGEFRAME:TweenSize(UD2(0.075, 0, 0.03), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2267. DAMAGETEXT.Text = "Damage ["..(Damage.Value * 100).."%]"
  2268. MOVEMENTFRAME:TweenSize(UD2(0.075, 0, 0.03), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2269. MOVEMENTTEXT.Text = "Movement ["..(Movement.Value * 100).."%]"
  2270. end
  2271. if Enable_Stun == true then
  2272. STUNFRAME:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2273. STUNBAR:TweenSize(UD2(1 * (StunValue.Value / Max_Stun), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2274. STUNTEXT.Text = "Stun ["..FLOOR(StunValue.Value).."]"
  2275. end
  2276. if Enable_Secondary_Bar == true then
  2277. SECONDARYMANABAR:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2278. SECONDARYMANACOVER:TweenSize(UD2(1 * (SecondaryMana.Value / Max_Secondary_Mana), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2279. SECONDARYMANATEXT.Text = Secondary_Mana_Name.." ["..FLOOR(SecondaryMana.Value).."]"
  2280. end
  2281. end
  2282.  
  2283. if Enable_Gui == true then
  2284. UpdateGUI()
  2285. for _, v in pairs (WEAPONGUI:GetChildren()) do
  2286. if v.ClassName == "Frame" then
  2287. for _, b in pairs (v:GetChildren()) do
  2288. if b.ClassName == "TextLabel" then
  2289. coroutine.resume(coroutine.create(function(THETEXTLABEL)
  2290. wait(Menu_Update_Speed)
  2291. for i = 1, 0, -0.1 do
  2292. Swait()
  2293. THETEXTLABEL.TextTransparency = i
  2294. THETEXTLABEL.TextStrokeTransparency = i
  2295. end
  2296. THETEXTLABEL.TextTransparency = 0
  2297. THETEXTLABEL.TextStrokeTransparency = 0
  2298. end), b)
  2299. end
  2300. end
  2301. end
  2302. end
  2303. end
  2304.  
  2305. --//=================================\\
  2306. --\\=================================//
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312. --//=================================\\
  2313. --|| SKILL FUNCTIONS
  2314. --\\=================================//
  2315.  
  2316. function UpdateSkillsAndStuff()
  2317. if Mana_Regen_Mode == "1" then
  2318. if Mana.Value >= Max_Mana then
  2319. Mana.Value = Max_Mana
  2320. elseif Mana.Value < 0 then
  2321. Mana.Value = 0
  2322. else
  2323. if MANADELAYNUMBER <= Mana_Wait then
  2324. MANADELAYNUMBER = MANADELAYNUMBER + 1
  2325. else
  2326. MANADELAYNUMBER = 0
  2327. Mana.Value = Mana.Value + Recover_Mana
  2328. end
  2329. end
  2330. elseif Mana_Regen_Mode == "2" then
  2331. if Mana.Value <= Max_Mana then
  2332. Mana.Value = Mana.Value + (Recover_Mana / 30) / Animation_Speed
  2333. elseif Mana.Value >= Max_Mana then
  2334. Mana.Value = Max_Mana
  2335. elseif Mana.Value < 0 then
  2336. Mana.Value = 0
  2337. end
  2338. end
  2339. if Enable_Secondary_Bar == true then
  2340. if Secondary_Mana_Regen_Mode == "1" then
  2341. if SecondaryMana.Value >= Max_Secondary_Mana then
  2342. SecondaryMana.Value = Max_Secondary_Mana
  2343. elseif SecondaryMana.Value < 0 then
  2344. SecondaryMana.Value = 0
  2345. else
  2346. if SECONDARYMANADELAYNUMBER <= Secondary_Mana_Wait then
  2347. SECONDARYMANADELAYNUMBER = SECONDARYMANADELAYNUMBER + 1
  2348. else
  2349. SECONDARYMANADELAYNUMBER = 0
  2350. SecondaryMana.Value = SecondaryMana.Value + Recover_Secondary_Mana
  2351. end
  2352. end
  2353. elseif Secondary_Mana_Regen_Mode == "2" then
  2354. if SecondaryMana.Value <= Max_Secondary_Mana then
  2355. SecondaryMana.Value = SecondaryMana.Value + (Recover_Secondary_Mana / 30) / Animation_Speed
  2356. elseif SecondaryMana.Value >= Max_Secondary_Mana then
  2357. SecondaryMana.Value = Max_Secondary_Mana
  2358. elseif SecondaryMana.Value < 0 then
  2359. SecondaryMana.Value = 0
  2360. end
  2361. end
  2362. else
  2363. SecondaryMana.Value = 0
  2364. end
  2365. if Enable_Stun == true then
  2366. if Stun_Lose_Mode == "1" then
  2367. if StunValue.Value > Max_Stun then
  2368. StunValue.Value = Max_Stun
  2369. elseif StunValue.Value <= 0 then
  2370. StunValue.Value = 0
  2371. else
  2372. if STUNDELAYNUMBER <= Stun_Wait then
  2373. STUNDELAYNUMBER = STUNDELAYNUMBER + 1
  2374. else
  2375. STUNDELAYNUMBER = 0
  2376. StunValue.Value = StunValue.Value - Lose_Stun
  2377. end
  2378. end
  2379. elseif Stun_Lose_Mode == "2" then
  2380. if StunValue.Value <= Max_Stun and StunValue.Value > 0 then
  2381. StunValue.Value = StunValue.Value - (Lose_Stun / 30) / Animation_Speed
  2382. elseif StunValue.Value > Max_Stun then
  2383. StunValue.Value = Max_Stun
  2384. elseif StunValue.Value <= 0 then
  2385. StunValue.Value = 0
  2386. end
  2387. end
  2388. else
  2389. StunValue.Value = 0
  2390. end
  2391. if Enable_Abilities == true then
  2392. if CO1 <= Cooldown_1 then
  2393. CO1 = CO1 + (1 / 30) / Animation_Speed
  2394. elseif CO1 >= Cooldown_1 then
  2395. CO1 = Cooldown_1
  2396. end
  2397. if CO2 <= Cooldown_2 then
  2398. CO2 = CO2 + (1 / 30) / Animation_Speed
  2399. elseif CO2 >= Cooldown_2 then
  2400. CO2 = Cooldown_2
  2401. end
  2402. if CO3 <= Cooldown_3 then
  2403. CO3 = CO3 + (1 / 30) / Animation_Speed
  2404. elseif CO3 >= Cooldown_3 then
  2405. CO3 = Cooldown_3
  2406. end
  2407. if CO4 <= Cooldown_4 then
  2408. CO4 = CO4 + (1 / 30) / Animation_Speed
  2409. elseif CO4 >= Cooldown_4 then
  2410. CO4 = Cooldown_4
  2411. end
  2412. end
  2413. end
  2414.  
  2415. --//=================================\\
  2416. --\\=================================//
  2417.  
  2418.  
  2419.  
  2420.  
  2421.  
  2422. --//=================================\\
  2423. --|| ATTACK FUNCTIONS AND STUFF
  2424. --\\=================================//
  2425. function SittyBoi()
  2426. attack = true
  2427. Sitt = true
  2428. Speed = 0
  2429. repeat
  2430. swait()
  2431. for i = 0, 1, 0.1 do
  2432. swait()
  2433. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1.6 + 0.1 * Player_Size * Cos(sine / 20)) * angles(Rad(-15), Rad(0), Rad(0)), 0.1)
  2434. neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  2435. rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(75), Rad(0), Rad(5)), 0.1)
  2436. ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(75), Rad(0), Rad(-5)), 0.1)
  2437. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(70), Rad(0 + 5 * Sin(sine / 20)), Rad(-30 + 5 * Sin(sine / 20))), 0.1)
  2438. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-15), Rad(20), Rad(-15)), 0.1)
  2439. end
  2440. until Sitt == false
  2441. attack = false
  2442. Speed = 16
  2443. end
  2444.  
  2445. function StaggerHitAnimation()
  2446. ATTACK = true
  2447. if Weapon:FindFirstChild("Hitbox") ~= nil then
  2448. for i = 1, MRANDOM(2, 4) do
  2449. ClangEffect("Bright yellow", "Neon", CF(Weapon:FindFirstChild("Hitbox").Position) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 20, 5, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2450. end
  2451. end
  2452. for i = 0, 1, 0.1 / Animation_Speed do
  2453. Swait()
  2454. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2455. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(30)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2456. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-30), RAD(0), RAD(60)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2457. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-20)) * ANGLES(RAD(0), RAD(20), RAD(0)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2458. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.9 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2459. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.3 / Animation_Speed)
  2460. if Stagger.Value == true or Stun.Value == true then
  2461. break
  2462. end
  2463. end
  2464. ATTACK = false
  2465. end
  2466.  
  2467. function StaggerAnimation()
  2468. ATTACK = true
  2469. if Weapon:FindFirstChild("Hitbox") ~= nil then
  2470. for i = 1, MRANDOM(2, 4) do
  2471. ClangEffect("Bright yellow", "Neon", CF(Weapon:FindFirstChild("Hitbox").Position) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 20, 5, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2472. end
  2473. end
  2474. DISABLEJUMPING = true
  2475. COMBO = 1
  2476. StatLabel("Interruption", Head.CFrame * CF(0, 0 + (Head.Size.z - 1), 0), "Staggered!", C3(255 / 255, 255 / 255, 0))
  2477. local STAGGERVELOCITY = Instance.new("BodyVelocity",Torso)
  2478. STAGGERVELOCITY.P = 500
  2479. STAGGERVELOCITY.maxForce = VT(math.huge, 0, math.huge)
  2480. if Rooted.Value == false then
  2481. STAGGERVELOCITY.Velocity = RootPart.CFrame.lookVector * -40
  2482. end
  2483. for i = 0, 1, 0.35 / Animation_Speed do
  2484. Swait()
  2485. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2486. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(20)), 0.3 / Animation_Speed)
  2487. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size,0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2488. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size,0 * Player_Size) * ANGLES(RAD(-7.5), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2489. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size,0 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  2490. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size,0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5)), 0.3 / Animation_Speed)
  2491. end
  2492. for i = 0, 1, 0.2 / Animation_Speed do
  2493. Swait()
  2494. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  2495. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2496. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2497. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-7.5), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2498. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 0.4 / Animation_Speed)
  2499. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.4 / Animation_Speed)
  2500. end
  2501. STAGGERVELOCITY.Parent = nil
  2502. for i = 1, 50 * Animation_Speed do
  2503. Swait()
  2504. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.8 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-20)) * ANGLES(RAD(-5), RAD(-5), RAD(0)), 0.3 / Animation_Speed)
  2505. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.3 / Animation_Speed)
  2506. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(-20), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2507. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-10)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2508. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.4 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(30), RAD(0)), 0.3 / Animation_Speed)
  2509. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-10)), 0.3 / Animation_Speed)
  2510. end
  2511. DISABLEJUMPING = false
  2512. ATTACK = false
  2513. end
  2514.  
  2515. function StunAnimation()
  2516. ATTACK = true
  2517. DISABLEJUMPING = true
  2518. COMBO = 1
  2519. StatLabel("Interruption", Head.CFrame * CF(0, 0 + (Head.Size.z - 1), 0), "Stunned!", C3(255 / 255, 255 / 255, 0))
  2520. for i = 0, 1, 0.3 / Animation_Speed do
  2521. Swait()
  2522. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(-150)), 0.3 / Animation_Speed)
  2523. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2524. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2525. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2526. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  2527. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(20)), 0.3 / Animation_Speed)
  2528. end
  2529. for i = 0, 1, 0.3 / Animation_Speed do
  2530. Swait()
  2531. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(-180)), 0.4 / Animation_Speed)
  2532. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2533. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2534. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2535. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2536. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(50)), 0.4 / Animation_Speed)
  2537. end
  2538. for i = 0, 1, 0.3 / Animation_Speed do
  2539. Swait()
  2540. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(75), RAD(0), RAD(-180)), 0.4 / Animation_Speed)
  2541. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  2542. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2543. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10), RAD(0), RAD(-80)) * ANGLES(RAD(0), RAD(-40), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2544. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(10)), 0.4 / Animation_Speed)
  2545. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(80)), 0.4 / Animation_Speed)
  2546. end
  2547. for i = 1, 70 * Animation_Speed do
  2548. Swait()
  2549. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -2.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-180)), 0.3 / Animation_Speed)
  2550. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.3 / Animation_Speed)
  2551. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(-10), RAD(90)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2552. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2553. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2554. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2555. end
  2556. for i = 0, 1, 0.2 / Animation_Speed do
  2557. Swait()
  2558. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.5 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(100)), 0.4 / Animation_Speed)
  2559. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2560. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(-10), RAD(30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2561. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(80), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2562. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(70)), 0.4 / Animation_Speed)
  2563. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.25 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2564. end
  2565. DISABLEJUMPING = false
  2566. ATTACK = false
  2567. end
  2568.  
  2569. function explode(rpart,range,mxdmg,mndmg)
  2570. local FIREPILLARHITSOUNDS = {"171378971", --[["646619365",--]] "472579737"--[[, "144140670"--]]}
  2571. local FIREPILLARCOLORS = {"White", "Really black",}
  2572. local FirePillarRefpart2 = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2573. FirePillarRefpart2.Anchored = true
  2574. FirePillarRefpart2.CFrame = CF(rpart.Position)
  2575. game:GetService("Debris"):AddItem(FirePillarRefpart2, 5)
  2576. CreateSound(FIREPILLARHITSOUNDS[MRANDOM(1, #FIREPILLARHITSOUNDS)], FirePillarRefpart2, 1.2, MRANDOM(11, 13) / 10)
  2577. for i = 1, MRANDOM(5, 10) do
  2578. MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", FirePillarRefpart2.CFrame * ANGLES(RAD(MRANDOM(-60, 60)), 0, RAD(MRANDOM(-60, 60))), CF(0, MRANDOM(5, 7) / 10 * Player_Size, 0), VT(0, 0, 0), 3, 3, 3, 0, 0, 0, MRANDOM(3, 5) / 100)
  2579. end
  2580. for i = 1, MRANDOM(15, 20) do
  2581. local FIREEFFECTSIZE = MRANDOM(1, 2)
  2582. MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", FirePillarRefpart2.CFrame, CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-20, 20)), 0), VT(MRANDOM(range / 6, range / 4), 0, 0), FIREEFFECTSIZE, FIREEFFECTSIZE, FIREEFFECTSIZE, -0.02, -0.02, -0.02, MRANDOM(1, 2) / 100)
  2583. end
  2584. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, rpart, range, false, mndmg, mxdmg, MRANDOM(5, 10), "Normal", rpart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2585. MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", FirePillarRefpart2.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), range, range, range, range / 3, range / 3, range / 3, 0.05)
  2586. MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", FirePillarRefpart2.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), range * 0.5, range * 0.5, range * 0.5, range / 4, range / 4, range / 4, 0.05)
  2587. MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", FirePillarRefpart2.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), range * 0.25, range * 0.25, range * 0.25, range / 5, range / 5, range / 5, 0.05)
  2588. rpart:remove()
  2589. end
  2590.  
  2591. function Attack1()
  2592. ATTACK = true
  2593. local Animation_Speed2 = Animation_Speed/2
  2594. for i=0, 1, 0.1 / Animation_Speed2 do
  2595. Swait()
  2596. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.4 / Animation_Speed2)
  2597. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(35)), 0.4 / Animation_Speed2)
  2598. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed2)
  2599. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-5)), 0.4 / Animation_Speed2)
  2600. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-15)), 0.4 / Animation_Speed2)
  2601. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2602. break
  2603. end
  2604. end
  2605. local HitboxPart = Box
  2606. CreateSound("130944130", Head, 1.2, MRANDOM(8, 9) / 10)
  2607. local HASHITFLOOR = false
  2608. for i=0, 1, 0.1 / Animation_Speed2 do
  2609. Swait()
  2610. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(30)), 0.4 / Animation_Speed2)
  2611. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-20)), 0.4 / Animation_Speed2)
  2612. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed2)
  2613. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(17.5)), 0.4 / Animation_Speed2)
  2614. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(5)), 0.4 / Animation_Speed2)
  2615. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2616. break
  2617. end
  2618. end
  2619. MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 1, 1, 1, 1, HitboxPart, 5, false, 35, 65, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2620. if math.random(1,5) == 1 then
  2621. local mail = Mail:Clone()
  2622. mail.CFrame = MailMeme.CFrame
  2623. mail.Parent = Effects
  2624. local hit = mail.Touched:connect(function(hit)
  2625. if hit.Parent ~= Character and hit.Parent:FindFirstChild("Humanoid") then
  2626. explode(mail,15,45,40)
  2627. end
  2628. end)
  2629. end
  2630. BLCF = nil
  2631. SCFR = nil
  2632. ATTACK = false
  2633. end
  2634.  
  2635. function MailLauncher()
  2636. ATTACK = true
  2637. for i=0, 1, 0.1 / Animation_Speed do
  2638. Swait()
  2639. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  2640. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2641. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2642. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2643. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2644. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  2645. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2646. break
  2647. end
  2648. end
  2649. CreateSound("11900833", Torso, 1, MRANDOM(8, 9) / 10)
  2650. local mail = Mail:Clone()
  2651. mail.CFrame = RootPart.CFrame
  2652. mail.Parent = Effects
  2653. game:GetService("Debris"):AddItem(mail ,15)
  2654. local bv = Instance.new("BodyVelocity")
  2655. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2656. bv.velocity = RootPart.CFrame.lookVector*150
  2657. bv.Parent = mail
  2658. bv.Name = "DASH"
  2659. local hit = mail.Touched:connect(function(hit)
  2660. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" then
  2661. explode(mail,15,45,40)
  2662. end
  2663. end)
  2664. for i=0, 1, 0.1 / Animation_Speed do
  2665. Swait()
  2666. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-50)), 0.4 / Animation_Speed)
  2667. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(50)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2668. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2669. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25 * Player_Size, 0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(40), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2670. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-12.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2671. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2672. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2673. break
  2674. end
  2675. end
  2676. ATTACK = false
  2677. end
  2678.  
  2679. function GodMail()
  2680. ATTACK = true
  2681. CreateSound("133120210", Head, 50, 0.8)
  2682. Humanoid.WalkSpeed = 0
  2683. local Animation_Speed2 = Animation_Speed*5
  2684. for i=0, 1, 0.1 / Animation_Speed2 do
  2685. Swait()
  2686. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2687. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-50), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2688. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2689. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2690. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2691. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2692. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2693. break
  2694. end
  2695. end
  2696. local mail = Mail:Clone()
  2697. mail.CFrame = RootPart.CFrame
  2698. mail.Size = Vector3.new(30, 15, 0.05)
  2699. mail.Decal.Face = "Front"
  2700. mail.Position = Vector3.new(RootPart.Position.X,RootPart.Position.Y+15,RootPart.Position.Z)
  2701. mail.Anchored = true
  2702. mail.Parent = Effects
  2703. Swait(25)
  2704. CreateSound("846221985", Head, 50, 1)
  2705. Swait(155)
  2706. CreateSound("2248511", Character, 50, 1)
  2707. local FIREPILLARCOLORS = {"White", "Really black",}
  2708. MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", mail.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), 10, 10, 10, 10 / 3, 10 / 3, 10 / 3, 10)
  2709. MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", mail.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), 10 * 0.5, 10 * 0.5, 10 * 0.5, 10 / 4, 10 / 4, 10 / 4, 5)
  2710. MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", mail.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), 10 * 0.25, 10 * 0.25, 10 * 0.25, 10 / 5, 10 / 5, 10 / 5, 5)
  2711. explode(mail,650,150,90)
  2712. Humanoid.WalkSpeed = 16
  2713. BLCF = nil
  2714. SCFR = nil
  2715. ATTACK = false
  2716. end
  2717.  
  2718. function Danmaku1()
  2719. ATTACK = true
  2720. CreateSound("133120210", Head, 50, 0.6)
  2721. Humanoid.WalkSpeed = 0
  2722. local Animation_Speed2 = Animation_Speed*5
  2723. for i=0, 1, 0.1 / Animation_Speed2 do
  2724. Swait()
  2725. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 5 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2726. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2727. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2728. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2729. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2730. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2731. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2732. break
  2733. end
  2734. end
  2735. local HitboxPart = Box
  2736. local HASHITFLOOR = false
  2737. local Animation_Speed2 = Animation_Speed/5
  2738. for i=0, 1, 0.1 / Animation_Speed2 do
  2739. Swait()
  2740. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 5 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  2741. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  2742. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed2)
  2743. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed2)
  2744. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed2)
  2745. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed2)
  2746. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2747. break
  2748. end
  2749. end
  2750. local spinpart = Instance.new("Part",Character)
  2751. spinpart.Anchored = true
  2752. spinpart.CanCollide = false
  2753. spinpart.Transparency = 1
  2754. spinpart.CFrame = RootPart.CFrame
  2755. local spinpart2 = Instance.new("Part",Character)
  2756. spinpart2.Anchored = true
  2757. spinpart2.CanCollide = false
  2758. spinpart2.Transparency = 1
  2759. spinpart2.CFrame = RootPart.CFrame
  2760. for i = 1, 75 do
  2761. CreateSound("11900833", Torso, 1, MRANDOM(8, 9) / 10)
  2762. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  2763. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.3, 0)
  2764. local mail = Mail:Clone()
  2765. mail.CFrame = spinpart.CFrame
  2766. mail.Parent = Effects
  2767. game:GetService("Debris"):AddItem(mail ,15)
  2768. local bv = Instance.new("BodyVelocity")
  2769. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2770. bv.velocity = spinpart.CFrame.lookVector*65
  2771. bv.Parent = mail
  2772. bv.Name = "DASH"
  2773. local hit = mail.Touched:connect(function(hit)
  2774. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Name ~= "Mail" then
  2775. explode(mail,15,45,40)
  2776. end
  2777. end)
  2778. local mail = Mail:Clone()
  2779. mail.CFrame = spinpart2.CFrame
  2780. mail.Parent = Effects
  2781. game:GetService("Debris"):AddItem(mail ,15)
  2782. local bv = Instance.new("BodyVelocity")
  2783. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2784. bv.velocity = spinpart2.CFrame.lookVector*65
  2785. bv.Parent = mail
  2786. bv.Name = "DASH"
  2787. local hit = mail.Touched:connect(function(hit)
  2788. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Name ~= "Mail" then
  2789. explode(mail,15,45,40)
  2790. end
  2791. end)
  2792. Swait(5)
  2793. end
  2794. spinpart:remove()
  2795. Humanoid.WalkSpeed = 16
  2796. BLCF = nil
  2797. SCFR = nil
  2798. ATTACK = false
  2799. end
  2800.  
  2801. function Danmaku3()
  2802. ATTACK = true
  2803. CreateSound("133120210", Head, 50, 0.6)
  2804. Humanoid.WalkSpeed = 0
  2805. local Animation_Speed2 = Animation_Speed*5
  2806. for i=0, 1, 0.1 / Animation_Speed2 do
  2807. Swait()
  2808. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 5 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2809. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2810. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2811. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2812. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2813. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2814. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2815. break
  2816. end
  2817. end
  2818. local HitboxPart = Box
  2819. local HASHITFLOOR = false
  2820. local Animation_Speed2 = Animation_Speed/5
  2821. for i=0, 1, 0.1 / Animation_Speed2 do
  2822. Swait()
  2823. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 5 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  2824. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  2825. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed2)
  2826. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed2)
  2827. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed2)
  2828. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed2)
  2829. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2830. break
  2831. end
  2832. end
  2833. local spinpart = Instance.new("Part",Character)
  2834. spinpart.Anchored = true
  2835. spinpart.CanCollide = false
  2836. spinpart.Transparency = 1
  2837. spinpart.CFrame = RootPart.CFrame
  2838. local repeatt = 0
  2839. local need = 5
  2840. for i = 1, 75 do
  2841. CreateSound("11900833", Torso, 1, MRANDOM(8, 9) / 10)
  2842. repeatt = repeatt + 1
  2843. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, need, 0)
  2844. if repeatt == 15 then
  2845. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, need/2, 0)
  2846. if need == 5 then
  2847. need = -15
  2848. elseif need == -15 then
  2849. need = 5
  2850. end
  2851. repeatt = 0
  2852. end
  2853. local mail = Mail:Clone()
  2854. mail.CFrame = spinpart.CFrame
  2855. mail.Parent = Effects
  2856. game:GetService("Debris"):AddItem(mail ,15)
  2857. local bv = Instance.new("BodyVelocity")
  2858. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2859. bv.velocity = spinpart.CFrame.lookVector*15
  2860. bv.Parent = mail
  2861. bv.Name = "DASH"
  2862. local hit = mail.Touched:connect(function(hit)
  2863. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Name ~= "Mail" then
  2864. explode(mail,15,45,40)
  2865. end
  2866. end)
  2867. Swait(5)
  2868. end
  2869. spinpart:remove()
  2870. Humanoid.WalkSpeed = 16
  2871. BLCF = nil
  2872. SCFR = nil
  2873. ATTACK = false
  2874. end
  2875.  
  2876. function Danmaku2()
  2877. ATTACK = true
  2878. CreateSound("133120210", Head, 50, 0.6)
  2879. Humanoid.WalkSpeed = 0
  2880. local Animation_Speed2 = Animation_Speed*5
  2881. for i=0, 1, 0.1 / Animation_Speed2 do
  2882. Swait()
  2883. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 5 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2884. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2885. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2886. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2887. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2888. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2889. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2890. break
  2891. end
  2892. end
  2893. local HitboxPart = Box
  2894. local HASHITFLOOR = false
  2895. local Animation_Speed2 = Animation_Speed/5
  2896. for i=0, 1, 0.1 / Animation_Speed2 do
  2897. Swait()
  2898. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 5 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  2899. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  2900. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed2)
  2901. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed2)
  2902. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed2)
  2903. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed2)
  2904. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2905. break
  2906. end
  2907. end
  2908. local spinpart = Instance.new("Part",Character)
  2909. spinpart.Anchored = true
  2910. spinpart.CanCollide = false
  2911. spinpart.Transparency = 1
  2912. spinpart.CFrame = RootPart.CFrame
  2913. local spinpart2 = Instance.new("Part",Character)
  2914. spinpart2.Anchored = true
  2915. spinpart2.CanCollide = false
  2916. spinpart2.Transparency = 1
  2917. spinpart2.CFrame = RootPart.CFrame
  2918. local repeatt = 0
  2919. for i = 1, 75 do
  2920. CreateSound("11900833", Torso, 1, MRANDOM(8, 9) / 10)
  2921. repeatt = repeatt + 1
  2922. if repeatt == 5 then
  2923. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 5, 0)
  2924. repeatt = 0
  2925. end
  2926. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -2, 0)
  2927. local mail = Mail:Clone()
  2928. mail.CFrame = spinpart.CFrame
  2929. mail.Parent = Effects
  2930. game:GetService("Debris"):AddItem(mail ,15)
  2931. local bv = Instance.new("BodyVelocity")
  2932. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2933. bv.velocity = spinpart.CFrame.lookVector*65
  2934. bv.Parent = mail
  2935. bv.Name = "DASH"
  2936. local hit = mail.Touched:connect(function(hit)
  2937. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Name ~= "Mail" then
  2938. explode(mail,15,45,40)
  2939. end
  2940. end)
  2941. local mail = Mail:Clone()
  2942. mail.CFrame = spinpart2.CFrame
  2943. mail.Parent = Effects
  2944. game:GetService("Debris"):AddItem(mail ,15)
  2945. local bv = Instance.new("BodyVelocity")
  2946. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2947. bv.velocity = spinpart2.CFrame.lookVector*65
  2948. bv.Parent = mail
  2949. bv.Name = "DASH"
  2950. local hit = mail.Touched:connect(function(hit)
  2951. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Name ~= "Mail" then
  2952. explode(mail,15,45,40)
  2953. end
  2954. end)
  2955. Swait(5)
  2956. end
  2957. spinpart:remove()
  2958. Humanoid.WalkSpeed = 16
  2959. BLCF = nil
  2960. SCFR = nil
  2961. ATTACK = false
  2962. end
  2963.  
  2964. function DanmakuUlt()
  2965. ATTACK = true
  2966. CreateSound("133120210", Head, 50, 0.6)
  2967. Humanoid.WalkSpeed = 0
  2968. local Animation_Speed2 = Animation_Speed*5
  2969. for i=0, 1, 0.1 / Animation_Speed2 do
  2970. Swait()
  2971. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 5 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2972. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2973. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2974. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2975. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2976. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2977. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2978. break
  2979. end
  2980. end
  2981. local HitboxPart = Box
  2982. local HASHITFLOOR = false
  2983. local Animation_Speed2 = Animation_Speed/5
  2984. for i=0, 1, 0.1 / Animation_Speed2 do
  2985. Swait()
  2986. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 5 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  2987. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed2)
  2988. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed2)
  2989. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed2)
  2990. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed2)
  2991. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed2)
  2992. if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2993. break
  2994. end
  2995. end
  2996. local spinpart = Instance.new("Part",Character)
  2997. spinpart.Anchored = true
  2998. spinpart.CanCollide = false
  2999. spinpart.Transparency = 1
  3000. spinpart.CFrame = RootPart.CFrame
  3001. local spinpart2 = Instance.new("Part",Character)
  3002. spinpart2.Anchored = true
  3003. spinpart2.CanCollide = false
  3004. spinpart2.Transparency = 1
  3005. spinpart2.CFrame = RootPart.CFrame
  3006. for i = 1, 75 do
  3007. CreateSound("11900833", Torso, 1, MRANDOM(8, 9) / 10)
  3008. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  3009. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  3010. local mail = Mail:Clone()
  3011. mail.CFrame = spinpart.CFrame
  3012. mail.Parent = Effects
  3013. game:GetService("Debris"):AddItem(mail ,15)
  3014. local bv = Instance.new("BodyVelocity")
  3015. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3016. bv.velocity = spinpart.CFrame.lookVector*65
  3017. bv.Parent = mail
  3018. bv.Name = "DASH"
  3019. local hit = mail.Touched:connect(function(hit)
  3020. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Name ~= "Mail" then
  3021. explode(mail,15,45,40)
  3022. end
  3023. end)
  3024. local mail = Mail:Clone()
  3025. mail.CFrame = spinpart.CFrame
  3026. mail.Parent = Effects
  3027. game:GetService("Debris"):AddItem(mail ,15)
  3028. local bv = Instance.new("BodyVelocity")
  3029. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3030. bv.velocity = spinpart.CFrame.lookVector*-65
  3031. bv.Parent = mail
  3032. bv.Name = "DASH"
  3033. local hit = mail.Touched:connect(function(hit)
  3034. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Name ~= "Mail" then
  3035. explode(mail,15,45,40)
  3036. end
  3037. end)
  3038. local mail = Mail:Clone()
  3039. mail.CFrame = spinpart2.CFrame
  3040. mail.Parent = Effects
  3041. game:GetService("Debris"):AddItem(mail ,15)
  3042. local bv = Instance.new("BodyVelocity")
  3043. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3044. bv.velocity = spinpart2.CFrame.lookVector*65
  3045. bv.Parent = mail
  3046. bv.Name = "DASH"
  3047. local hit = mail.Touched:connect(function(hit)
  3048. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Name ~= "Mail" then
  3049. explode(mail,15,45,40)
  3050. end
  3051. end)
  3052. local mail = Mail:Clone()
  3053. mail.CFrame = spinpart2.CFrame
  3054. mail.Parent = Effects
  3055. game:GetService("Debris"):AddItem(mail ,15)
  3056. local bv = Instance.new("BodyVelocity")
  3057. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3058. bv.velocity = spinpart2.CFrame.lookVector*-65
  3059. bv.Parent = mail
  3060. bv.Name = "DASH"
  3061. local hit = mail.Touched:connect(function(hit)
  3062. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Name ~= "Mail" then
  3063. explode(mail,15,45,40)
  3064. end
  3065. end)
  3066. Swait(5)
  3067. end
  3068. spinpart:remove()
  3069. Humanoid.WalkSpeed = 16
  3070. BLCF = nil
  3071. SCFR = nil
  3072. ATTACK = false
  3073. end
  3074.  
  3075. --//=================================\\
  3076. --\\=================================//
  3077.  
  3078.  
  3079.  
  3080.  
  3081.  
  3082. --//=================================\\
  3083. --|| SET THINGS UP
  3084. --\\=================================//
  3085.  
  3086. if Start_Equipped == true then
  3087. ATTACK = true
  3088. EQUIPPED = true
  3089. if Disable_Animate == true then
  3090. ANIMATE.Parent = nil
  3091. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  3092. IDLEANIMATION:Play()
  3093. end
  3094. if Disable_Animator == true then
  3095. ANIMATOR.Parent = nil
  3096. end
  3097. if Disable_Moving_Arms == true then
  3098. RSH = Torso["Right Shoulder"]
  3099. LSH = Torso["Left Shoulder"]
  3100. RSH.Parent = nil
  3101. LSH.Parent = nil
  3102. if Use_Motors_Instead_Of_Welds == true then
  3103. RightShoulder = IT("Motor")
  3104. LeftShoulder = IT("Motor")
  3105. else
  3106. RightShoulder = IT("Weld")
  3107. LeftShoulder = IT("Weld")
  3108. end
  3109. RightShoulder.Name = "Right Shoulder"
  3110. RightShoulder.Part0 = Torso
  3111. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3112. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3113. RightShoulder.Part1 = Character["Right Arm"]
  3114. RightShoulder.Parent = Torso
  3115. LeftShoulder.Name = "Left Shoulder"
  3116. LeftShoulder.Part0 = Torso
  3117. LeftShoulder.C0=CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3118. LeftShoulder.C1=CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3119. LeftShoulder.Part1 = Character["Left Arm"]
  3120. LeftShoulder.Parent = Torso
  3121. RIGHTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  3122. LEFTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  3123. end
  3124. if Start_Equipped_With_Equipped_Animation == true then
  3125. Swait()
  3126. end
  3127. ATTACK = false
  3128. end
  3129. --//=================================\\
  3130. --\\=================================//
  3131.  
  3132.  
  3133.  
  3134.  
  3135.  
  3136. --//=================================\\
  3137. --|| ASSIGN THINGS TO KEYS
  3138. --\\=================================//
  3139.  
  3140. Humanoid.Changed:connect(function(Jump)
  3141. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  3142. Humanoid.Jump = false
  3143. end
  3144. end)
  3145.  
  3146. function MouseDown(Mouse)
  3147. if ATTACK == true or EQUIPPED == false then
  3148. return
  3149. end
  3150. HOLD = true
  3151. Attack1()
  3152. coroutine.resume(coroutine.create(function()
  3153. for i=1, 50 do
  3154. if ATTACK == false then
  3155. Swait()
  3156. end
  3157. end
  3158. if ATTACK == false then
  3159. COMBO = 1
  3160. end
  3161. end))
  3162. end
  3163.  
  3164. function MouseUp(Mouse)
  3165. HOLD = false
  3166. end
  3167.  
  3168. function KeyDown(Key)
  3169. if Key == "f" and Can_Equip_Or_Unequip == true and ATTACK == false then
  3170. ATTACK = true
  3171. COMBO = 1
  3172. if EQUIPPED == false then
  3173. EQUIPPED = true
  3174. if Disable_Animate == true then
  3175. ANIMATE.Parent = nil
  3176. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  3177. IDLEANIMATION:Play()
  3178. end
  3179. if Disable_Animator == true then
  3180. ANIMATOR.Parent = nil
  3181. end
  3182. if Disable_Moving_Arms == true then
  3183. RSH = Torso["Right Shoulder"]
  3184. LSH = Torso["Left Shoulder"]
  3185. RSH.Parent = nil
  3186. LSH.Parent = nil
  3187. if Use_Motors_Instead_Of_Welds == true then
  3188. RightShoulder = IT("Motor")
  3189. LeftShoulder = IT("Motor")
  3190. else
  3191. RightShoulder = IT("Weld")
  3192. LeftShoulder = IT("Weld")
  3193. end
  3194. RightShoulder.Name = "Right Shoulder"
  3195. RightShoulder.Part0 = Torso
  3196. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3197. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3198. RightShoulder.Part1 = Character["Right Arm"]
  3199. RightShoulder.Parent = Torso
  3200. LeftShoulder.Name = "Left Shoulder"
  3201. LeftShoulder.Part0 = Torso
  3202. LeftShoulder.C0=CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3203. LeftShoulder.C1=CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3204. LeftShoulder.Part1 = Character["Left Arm"]
  3205. LeftShoulder.Parent = Torso
  3206. RIGHTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  3207. LEFTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  3208. end
  3209. Swait()
  3210. elseif EQUIPPED == true then
  3211. end
  3212. ATTACK = false
  3213. end
  3214. if Key == "e" and EQUIPPED == true and ATTACK == false then
  3215. MailLauncher()
  3216. end
  3217. if Key == "1" and EQUIPPED == true and ATTACK == false then
  3218. SittyBoi()
  3219. end
  3220. if Key == "z" and EQUIPPED == true and ATTACK == false and CO1 >= Cooldown_1 and Mana.Value >= Skill_1_Mana_Cost then
  3221. Danmaku1()
  3222. end
  3223. if Key == "c" and EQUIPPED == true and ATTACK == false and CO1 >= Cooldown_1 and Mana.Value >= Skill_1_Mana_Cost then
  3224. Danmaku2()
  3225. end
  3226. if Key == "m" and EQUIPPED == true and ATTACK == false and CO1 >= Cooldown_1 and Mana.Value >= Skill_1_Mana_Cost then
  3227. Danmaku3()
  3228. end
  3229. if Key == "y" and EQUIPPED == true and ATTACK == false and CO2 >= Cooldown_2 and Mana.Value >= Skill_2_Mana_Cost then
  3230. GodMail()
  3231. end
  3232. if Key == "x" and EQUIPPED == true and ATTACK == false and CO2 >= Cooldown_2 and Mana.Value >= Skill_2_Mana_Cost then
  3233. DanmakuUlt()
  3234. end
  3235. if Key == "t" and EQUIPPED == true and ATTACK == false and CO3 >= Cooldown_3 and Mana.Value >= Skill_3_Mana_Cost then
  3236. CreateSound("133120210", Head, 50, 1)
  3237. local mail = Mail:Clone()
  3238. mail.CFrame = MailMeme.CFrame
  3239. mail.Parent = Effects
  3240. local hit = mail.Touched:connect(function(hit)
  3241. if hit.Parent ~= Character and hit.Parent:FindFirstChild("Humanoid") then
  3242. explode(mail,15,45,40)
  3243. end
  3244. end)
  3245. game:GetService("Debris"):AddItem(mail ,15)
  3246. end
  3247. if Key == "v" and EQUIPPED == true and ATTACK == false and CO4 >= Cooldown_4 and Mana.Value >= Skill_4_Mana_Cost then
  3248.  
  3249. end
  3250. if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
  3251. if Key == "p" then
  3252. Mana.Value = Max_Mana
  3253. SecondaryMana.Value = Max_Secondary_Mana
  3254. CO1 = Cooldown_1
  3255. CO2 = Cooldown_2
  3256. CO3 = Cooldown_3
  3257. CO4 = Cooldown_4
  3258. end
  3259. if Key == "l" then
  3260. StaggerHit.Value = true
  3261. end
  3262. if Key == "[" then
  3263. Stagger.Value = true
  3264. end
  3265. if Key == "]" then
  3266. Stun.Value = true
  3267. end
  3268. end
  3269. end
  3270.  
  3271. function KeyUp(Key)
  3272. end
  3273.  
  3274. if Use_HopperBin == false then
  3275.  
  3276. Mouse.Button1Down:connect(function(NEWKEY)
  3277. MouseDown(NEWKEY)
  3278. end)
  3279. Mouse.Button1Up:connect(function(NEWKEY)
  3280. MouseUp(NEWKEY)
  3281. end)
  3282. Mouse.KeyDown:connect(function(NEWKEY)
  3283. KeyDown(NEWKEY)
  3284. end)
  3285. Mouse.KeyUp:connect(function(NEWKEY)
  3286. KeyUp(NEWKEY)
  3287. end)
  3288.  
  3289. elseif Use_HopperBin == true then
  3290. WEAPONTOOL.Parent = Backpack
  3291. script.Parent = WEAPONTOOL
  3292. function SelectTool(Mouse)
  3293. Mouse.Button1Down:connect(function()
  3294. MouseDown(Mouse)
  3295. end)
  3296. Mouse.Button1Up:connect(function()
  3297. MouseUp(Mouse)
  3298. end)
  3299. Mouse.KeyDown:connect(KeyDown)
  3300. Mouse.KeyUp:connect(KeyUp)
  3301. end
  3302. function DeselectTool(Mouse)
  3303. end
  3304. WEAPONTOOL.Selected:connect(SelectTool)
  3305. WEAPONTOOL.Deselected:connect(DeselectTool)
  3306. end
  3307.  
  3308. --//=================================\\
  3309. --\\=================================//
  3310.  
  3311.  
  3312.  
  3313.  
  3314.  
  3315. --//=================================\\
  3316. --|| WRAP THE WHOLE SCRIPT UP
  3317. --\\=================================//
  3318. while true do
  3319. Swait()
  3320. if Enable_Gui == true then
  3321. UpdateGUI()
  3322. end
  3323. UpdateSkillsAndStuff()
  3324. if Walkspeed_Depends_On_Movement_Value == true then
  3325. if Movement.Value < 0 or StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true or Rooted.Value == true then
  3326. Humanoid.WalkSpeed = 0
  3327. else
  3328. Humanoid.WalkSpeed = 16 * Movement.Value * Player_Size
  3329. end
  3330. end
  3331. if Enable_Stun == true and StunValue.Value >= Max_Stun then
  3332. StunValue.Value = 0
  3333. Stun.Value = true
  3334. end
  3335. if Enable_Stagger_Hit == true then
  3336. if StaggerHit.Value == true and STAGGERHITANIM == false then
  3337. coroutine.resume(coroutine.create(function()
  3338. STAGGERHITANIM = true
  3339. while ATTACK == true do
  3340. Swait()
  3341. end
  3342. StaggerHitAnimation()
  3343. StaggerHit.Value = false
  3344. STAGGERHITANIM = false
  3345. end))
  3346. end
  3347. else
  3348. StaggerHit.Value = false
  3349. end
  3350. if Enable_Stagger == true then
  3351. if Stagger.Value == true and STAGGERANIM == false then
  3352. coroutine.resume(coroutine.create(function()
  3353. STAGGERANIM = true
  3354. while ATTACK == true do
  3355. Swait()
  3356. end
  3357. StaggerAnimation()
  3358. Stagger.Value = false
  3359. STAGGERANIM = false
  3360. end))
  3361. end
  3362. else
  3363. Stagger.Value = false
  3364. end
  3365. if Enable_Stun == true then
  3366. if Stun.Value == true and STUNANIM == false then
  3367. coroutine.resume(coroutine.create(function()
  3368. StunValue.Value = 0
  3369. STUNANIM = true
  3370. while ATTACK == true do
  3371. Swait()
  3372. end
  3373. StunAnimation()
  3374. Stun.Value = false
  3375. STUNANIM = false
  3376. end))
  3377. end
  3378. else
  3379. StunValue.Value = 0
  3380. Stun.Value = false
  3381. end
  3382. if DONUMBER >= .5 then
  3383. HANDIDLE = true
  3384. elseif DONUMBER <= 0 then
  3385. HANDIDLE = false
  3386. end
  3387. if HANDIDLE == false then
  3388. DONUMBER = DONUMBER + 0.003 / Animation_Speed
  3389. else
  3390. DONUMBER = DONUMBER - 0.003 / Animation_Speed
  3391. end
  3392. if ATTACK == false then
  3393. IDLENUMBER = IDLENUMBER + 1
  3394. else
  3395. IDLENUMBER = 0
  3396. end
  3397. if Enable_Stats == true then
  3398. for _, v in pairs (ChangeStat:GetChildren()) do
  3399. if v:FindFirstChild("Duration") ~= nil then
  3400. v:FindFirstChild("Duration").Value = v:FindFirstChild("Duration").Value - (1 / 30) / Animation_Speed
  3401. if v:FindFirstChild("Duration").Value <= 0 then
  3402. v.Parent = nil
  3403. end
  3404. end
  3405. if v.Name == "ChangeDefense" then
  3406. CHANGEDEFENSE = CHANGEDEFENSE + v.Value
  3407. elseif v.Name == "ChangeDamage" then
  3408. CHANGEDAMAGE = CHANGEDAMAGE + v.Value
  3409. elseif v.Name == "ChangeMovement" then
  3410. CHANGEMOVEMENT = CHANGEMOVEMENT + v.Value
  3411. end
  3412. end
  3413. Defense.Value = 1 + (CHANGEDEFENSE)
  3414. if Defense.Value <= 0.01 then
  3415. Defense.Value = 0.01
  3416. end
  3417. Damage.Value = 1 + (CHANGEDAMAGE)
  3418. if Damage.Value <= 0 then
  3419. Damage.Value = 0
  3420. end
  3421. Movement.Value = 1 + (CHANGEMOVEMENT)
  3422. if Movement.Value <= 0 then
  3423. Movement.Value = 0
  3424. end
  3425. CHANGEDEFENSE = 0
  3426. CHANGEDAMAGE = 0
  3427. CHANGEMOVEMENT = 0
  3428. end
  3429. SINE = SINE + CHANGE
  3430. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3431. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3432. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  3433. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  3434. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3435. if ANIM == "Walk" and EQUIPPED == true and TORSOVELOCITY > 1 then
  3436. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3437. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3438. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3439. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3440. elseif (ANIM ~= "Walk" and EQUIPPED == true) or (TORSOVELOCITY < 1) then
  3441. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3442. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3443. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3444. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3445. end
  3446. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3447. ANIM = "Jump"
  3448. if EQUIPPED == true and ATTACK == false then
  3449. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3450. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3451. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3452. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3453. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3454. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3455. end
  3456. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3457. ANIM = "Fall"
  3458. if EQUIPPED == true and ATTACK == false then
  3459. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3460. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3461. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3462. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3463. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3464. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3465. end
  3466. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3467. ANIM = "Idle"
  3468. if ATTACK == false then
  3469. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  3470. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  3471. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * ANGLES(RAD(0), RAD(-25), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3472. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3473. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3474. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3475. end
  3476. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3477. ANIM = "Walk"
  3478. if ATTACK == false then
  3479. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  3480. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-10 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  3481. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * RIGHTSHOULDERC0, 0.8 / Animation_Speed)
  3482. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.8 / Animation_Speed)
  3483. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  3484. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  3485. end
  3486. end
  3487.  
  3488. end
  3489.  
  3490. --//=================================\\
  3491. --\\=================================//
  3492.  
  3493.  
  3494.  
  3495.  
  3496.  
  3497. --//====================================================\\--
  3498. --|| END OF SCRIPT
  3499. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement