Advertisement
Guest User

Untitled

a guest
Aug 20th, 2018
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.46 KB | None | 0 0
  1. --//====================================================\\--
  2. --||CREATED BY ETHANGAMER305, CREDIT TO SHACKLUSTER AND MOKIROS
  3. --\\====================================================//--
  4.  
  5. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  6. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  7. local RealPlayer = Player
  8. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,s)game,owner=x,x.Players.LocalPlayer end
  9.  
  10. wait(0.2)
  11.  
  12.  
  13.  
  14. Player = game:GetService("Players").LocalPlayer
  15. PlayerGui = Player.PlayerGui
  16. Cam = workspace.CurrentCamera
  17. Backpack = Player.Backpack
  18. Character = Player.Character
  19. Humanoid = Character.Humanoid
  20. Mouse = Player:GetMouse()
  21. RootPart = Character["HumanoidRootPart"]
  22. Torso = Character["Torso"]
  23. Head = Character["Head"]
  24. RightArm = Character["Right Arm"]
  25. LeftArm = Character["Left Arm"]
  26. RightLeg = Character["Right Leg"]
  27. LeftLeg = Character["Left Leg"]
  28. RootJoint = RootPart["RootJoint"]
  29. Neck = Torso["Neck"]
  30. RightShoulder = Torso["Right Shoulder"]
  31. LeftShoulder = Torso["Left Shoulder"]
  32. RightHip = Torso["Right Hip"]
  33. LeftHip = Torso["Left Hip"]
  34. local FinalInboxLink = "rbxassetid://143725459"
  35. local NormalMusicLink = "rbxassetid://596220347"
  36. local sick = Instance.new("Sound",Character)
  37. sick.SoundId = "rbxassetid://596220347"
  38. sick.Looped = true
  39. sick.Pitch = 1
  40. sick.Volume = 0.6
  41. sick:Play()
  42.  
  43. IT = Instance.new
  44. CF = CFrame.new
  45. VT = Vector3.new
  46. RAD = math.rad
  47. C3 = Color3.new
  48. UD2 = UDim2.new
  49. BRICKC = BrickColor.new
  50. ANGLES = CFrame.Angles
  51. EULER = CFrame.fromEulerAnglesXYZ
  52. COS = math.cos
  53. ACOS = math.acos
  54. SIN = math.sin
  55. ASIN = math.asin
  56. ABS = math.abs
  57. MRANDOM = math.random
  58. FLOOR = math.floor
  59.  
  60. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  61. local NEWMESH = IT(MESH)
  62. if MESH == "SpecialMesh" then
  63. NEWMESH.MeshType = MESHTYPE
  64. if MESHID ~= "nil" and MESHID ~= "" then
  65. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  66. end
  67. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  68. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  69. end
  70. end
  71. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  72. NEWMESH.Scale = SCALE
  73. NEWMESH.Parent = PARENT
  74. return NEWMESH
  75. end
  76.  
  77. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  78. local NEWPART = IT("Part")
  79. NEWPART.formFactor = FORMFACTOR
  80. NEWPART.Reflectance = REFLECTANCE
  81. NEWPART.Transparency = TRANSPARENCY
  82. NEWPART.CanCollide = false
  83. NEWPART.Locked = true
  84. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  85. NEWPART.Name = NAME
  86. NEWPART.Size = SIZE
  87. NEWPART.Position = Torso.Position
  88. NEWPART.Material = MATERIAL
  89. NEWPART:BreakJoints()
  90. NEWPART.Parent = PARENT
  91. return NEWPART
  92. end
  93.  
  94.  
  95. --//=================================\\
  96. --|| CUSTOMIZATION
  97. --\\=================================//
  98.  
  99. Class_Name = "Template"
  100. Weapon_Name = "Add-ons"
  101.  
  102. Custom_Colors = {
  103. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  104. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  105.  
  106. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  107. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  108. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  109. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  110. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  111.  
  112. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  113. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  114. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  115. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  116. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  117. }
  118.  
  119.  
  120. Player_Size = 1 --Size of the player.
  121. Animation_Speed = 3
  122. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  123.  
  124. local Speed = 16
  125. local Effects2 = {}
  126.  
  127. --//=================================\\
  128. --|| END OF CUSTOMIZATION
  129. --\\=================================//
  130.  
  131. local function weldBetween(a, b)
  132. local weldd = Instance.new("ManualWeld")
  133. weldd.Part0 = a
  134. weldd.Part1 = b
  135. weldd.C0 = CFrame.new()
  136. weldd.C1 = b.CFrame:inverse() * a.CFrame
  137. weldd.Parent = a
  138. return weldd
  139. end
  140.  
  141. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  142. local acs = Instance.new("Part")
  143. acs.CanCollide = false
  144. acs.Anchored = false
  145. acs.Size = Vector3.new(0,0,0)
  146. acs.CFrame = attachmentpart.CFrame
  147. acs.Parent = Character
  148. acs.BrickColor = color
  149. local meshs = Instance.new("SpecialMesh")
  150. meshs.MeshId = mesh
  151. meshs.TextureId = texture
  152. meshs.Parent = acs
  153. meshs.Scale = scale
  154. meshs.Offset = offset
  155. weldBetween(attachmentpart,acs)
  156. end
  157.  
  158. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  159. if TYPE == "Gem" then
  160. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  161. acs.Anchored = false
  162. acs.CanCollide = false
  163. acs.CFrame = PART.CFrame
  164. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  165. weldBetween(PART,acs)
  166. elseif TYPE == "Skull" then
  167. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  168. acs.Anchored = false
  169. acs.CanCollide = false
  170. acs.CFrame = PART.CFrame
  171. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  172. weldBetween(PART,acs)
  173. elseif TYPE == "Eye" then
  174. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  175. acs.Anchored = false
  176. acs.CanCollide = false
  177. acs.CFrame = PART.CFrame
  178. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  179. weldBetween(PART,acs)
  180. end
  181. end
  182.  
  183. --//=================================\\
  184. --|| USEFUL VALUES
  185. --\\=================================//
  186.  
  187. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  188. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  189. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  190. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  191. local CO1 = 0
  192. local CO2 = 0
  193. local CO3 = 0
  194. local CO4 = 0
  195. local CHANGEDEFENSE = 0
  196. local CHANGEDAMAGE = 0
  197. local CHANGEMOVEMENT = 0
  198. local ANIM = "Idle"
  199. local ATTACK = false
  200. local EQUIPPED = false
  201. local HOLD = false
  202. local COMBO = 1
  203. local LASTPOINT = nil
  204. local BLCF = nil
  205. local SCFR = nil
  206. local STAGGERHITANIM = false
  207. local STAGGERANIM = false
  208. local STUNANIM = false
  209. local CRITCHANCENUMBER = 0
  210. local IDLENUMBER = 0
  211. local DONUMBER = 0
  212. local HANDIDLE = false
  213. local SINE = 0
  214. local CHANGE = 2 / Animation_Speed
  215. local WALKINGANIM = false
  216. local WALK = 0
  217. local DISABLEJUMPING = false
  218. local HASBEENBLOCKED = false
  219. local STUNDELAYNUMBER = 0
  220. local MANADELAYNUMBER = 0
  221. local SECONDARYMANADELAYNUMBER = 0
  222. local ROBLOXIDLEANIMATION = IT("Animation")
  223. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  224. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  225. --ROBLOXIDLEANIMATION.Parent = Humanoid
  226. local WEAPONGUI = IT("ScreenGui", nil)
  227. WEAPONGUI.Name = "Weapon GUI"
  228. local WEAPONTOOL = IT("HopperBin", nil)
  229. WEAPONTOOL.Name = Weapon_Name
  230. local Weapon = IT("Model")
  231. Weapon.Name = Weapon_Name
  232. local Effects = IT("Folder", Weapon)
  233. Effects.Name = "Effects"
  234. local ANIMATOR = Humanoid.Animator
  235. local ANIMATE = Character.Animate
  236. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  237. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  238. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  239. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  240. local UNANCHOR = true
  241.  
  242. --//=================================\\
  243. --\\=================================//
  244.  
  245. --//=================================\\
  246. --|| STATS
  247. --\\=================================//
  248.  
  249. if Character:FindFirstChild("Stats") ~= nil then
  250. Character:FindFirstChild("Stats").Parent = nil
  251. end
  252.  
  253. local Stats = IT("Folder", nil)
  254. Stats.Name = "Stats"
  255. local ChangeStat = IT("Folder", Stats)
  256. ChangeStat.Name = "ChangeStat"
  257. local Defense = IT("NumberValue", Stats)
  258. Defense.Name = "Defense"
  259. Defense.Value = 1
  260. local Movement = IT("NumberValue", Stats)
  261. Movement.Name = "Movement"
  262. Movement.Value = 1
  263. local Damage = IT("NumberValue", Stats)
  264. Damage.Name = "Damage"
  265. Damage.Value = 1
  266. local Mana = IT("NumberValue", Stats)
  267. Mana.Name = "Mana"
  268. Mana.Value = 0
  269. local SecondaryMana = IT("NumberValue", Stats)
  270. SecondaryMana.Name = "SecondaryMana"
  271. SecondaryMana.Value = 0
  272. local CanCrit = IT("BoolValue", Stats)
  273. CanCrit.Name = "CanCrit"
  274. CanCrit.Value = false
  275. local CritChance = IT("NumberValue", Stats)
  276. CritChance.Name = "CritChance"
  277. CritChance.Value = 20
  278. local CanPenetrateArmor = IT("BoolValue", Stats)
  279. CanPenetrateArmor.Name = "CanPenetrateArmor"
  280. CanPenetrateArmor.Value = false
  281. local AntiTeamKill = IT("BoolValue", Stats)
  282. AntiTeamKill.Name = "AntiTeamKill"
  283. AntiTeamKill.Value = false
  284. local Rooted = IT("BoolValue", Stats)
  285. Rooted.Name = "Rooted"
  286. Rooted.Value = false
  287. local Block = IT("BoolValue", Stats)
  288. Block.Name = "Block"
  289. Block.Value = false
  290. local RecentEnemy = IT("ObjectValue", Stats)
  291. RecentEnemy.Name = "RecentEnemy"
  292. RecentEnemy.Value = nil
  293. local StaggerHit = IT("BoolValue", Stats)
  294. StaggerHit.Name = "StaggerHit"
  295. StaggerHit.Value = false
  296. local Stagger = IT("BoolValue", Stats)
  297. Stagger.Name = "Stagger"
  298. Stagger.Value = false
  299. local Stun = IT("BoolValue", Stats)
  300. Stun.Name = "Stun"
  301. Stun.Value = false
  302. local StunValue = IT("NumberValue", Stats)
  303. StunValue.Name = "StunValue"
  304. StunValue.Value = 0
  305.  
  306.  
  307. --//=================================\\
  308. --\\=================================//
  309.  
  310.  
  311.  
  312.  
  313.  
  314. --//=================================\\
  315. --|| DEBUFFS / BUFFS
  316. --\\=================================//
  317.  
  318. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  319. DEFENSECHANGE1.Name = "ChangeDefense"
  320. DEFENSECHANGE1.Value = 0
  321.  
  322. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  323. MOVEMENTCHANGE1.Name = "ChangeMovement"
  324. MOVEMENTCHANGE1.Value = 0
  325.  
  326. --//=================================\\
  327. --\\=================================//
  328.  
  329.  
  330.  
  331.  
  332.  
  333. --//=================================\\
  334. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  335. --\\=================================//
  336.  
  337. ArtificialHB = Instance.new("BindableEvent", script)
  338. ArtificialHB.Name = "ArtificialHB"
  339.  
  340. script:WaitForChild("ArtificialHB")
  341.  
  342. frame = Frame_Speed
  343. tf = 0
  344. allowframeloss = false
  345. tossremainder = false
  346. lastframe = tick()
  347. script.ArtificialHB:Fire()
  348.  
  349. game:GetService("RunService").Heartbeat:connect(function(s, p)
  350. tf = tf + s
  351. if tf >= frame then
  352. if allowframeloss then
  353. script.ArtificialHB:Fire()
  354. lastframe = tick()
  355. else
  356. for i = 1, math.floor(tf / frame) do
  357. script.ArtificialHB:Fire()
  358. end
  359. lastframe = tick()
  360. end
  361. if tossremainder then
  362. tf = 0
  363. else
  364. tf = tf - frame * math.floor(tf / frame)
  365. end
  366. end
  367. end)
  368.  
  369. --//=================================\\
  370. --\\=================================//
  371.  
  372.  
  373.  
  374.  
  375.  
  376. --//=================================\\
  377. --|| SOME FUNCTIONS
  378. --\\=================================//
  379.  
  380. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  381. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  382. end
  383.  
  384. function PositiveAngle(NUMBER)
  385. if NUMBER >= 0 then
  386. NUMBER = 0
  387. end
  388. return NUMBER
  389. end
  390.  
  391. function NegativeAngle(NUMBER)
  392. if NUMBER <= 0 then
  393. NUMBER = 0
  394. end
  395. return NUMBER
  396. end
  397.  
  398. function Swait(NUMBER)
  399. if NUMBER == 0 or NUMBER == nil then
  400. ArtificialHB.Event:wait()
  401. else
  402. for i = 1, NUMBER do
  403. ArtificialHB.Event:wait()
  404. end
  405. end
  406. end
  407.  
  408. function QuaternionFromCFrame(cf)
  409. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  410. local trace = m00 + m11 + m22
  411. if trace > 0 then
  412. local s = math.sqrt(1 + trace)
  413. local recip = 0.5 / s
  414. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  415. else
  416. local i = 0
  417. if m11 > m00 then
  418. i = 1
  419. end
  420. if m22 > (i == 0 and m00 or m11) then
  421. i = 2
  422. end
  423. if i == 0 then
  424. local s = math.sqrt(m00 - m11 - m22 + 1)
  425. local recip = 0.5 / s
  426. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  427. elseif i == 1 then
  428. local s = math.sqrt(m11 - m22 - m00 + 1)
  429. local recip = 0.5 / s
  430. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  431. elseif i == 2 then
  432. local s = math.sqrt(m22 - m00 - m11 + 1)
  433. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  434. end
  435. end
  436. end
  437.  
  438. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  439. local xs, ys, zs = x + x, y + y, z + z
  440. local wx, wy, wz = w * xs, w * ys, w * zs
  441. local xx = x * xs
  442. local xy = x * ys
  443. local xz = x * zs
  444. local yy = y * ys
  445. local yz = y * zs
  446. local zz = z * zs
  447. 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))
  448. end
  449.  
  450. function QuaternionSlerp(a, b, t)
  451. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  452. local startInterp, finishInterp;
  453. if cosTheta >= 0.0001 then
  454. if (1 - cosTheta) > 0.0001 then
  455. local theta = ACOS(cosTheta)
  456. local invSinTheta = 1 / SIN(theta)
  457. startInterp = SIN((1 - t) * theta) * invSinTheta
  458. finishInterp = SIN(t * theta) * invSinTheta
  459. else
  460. startInterp = 1 - t
  461. finishInterp = t
  462. end
  463. else
  464. if (1 + cosTheta) > 0.0001 then
  465. local theta = ACOS(-cosTheta)
  466. local invSinTheta = 1 / SIN(theta)
  467. startInterp = SIN((t - 1) * theta) * invSinTheta
  468. finishInterp = SIN(t * theta) * invSinTheta
  469. else
  470. startInterp = t - 1
  471. finishInterp = t
  472. end
  473. end
  474. 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
  475. end
  476.  
  477. function Clerp(a, b, t)
  478. local qa = {QuaternionFromCFrame(a)}
  479. local qb = {QuaternionFromCFrame(b)}
  480. local ax, ay, az = a.x, a.y, a.z
  481. local bx, by, bz = b.x, b.y, b.z
  482. local _t = 1 - t
  483. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  484. end
  485.  
  486. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  487. local frame = IT("Frame")
  488. frame.BackgroundTransparency = TRANSPARENCY
  489. frame.BorderSizePixel = BORDERSIZEPIXEL
  490. frame.Position = POSITION
  491. frame.Size = SIZE
  492. frame.BackgroundColor3 = COLOR
  493. frame.BorderColor3 = BORDERCOLOR
  494. frame.Name = NAME
  495. frame.Parent = PARENT
  496. return frame
  497. end
  498.  
  499. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  500. local label = IT("TextLabel")
  501. label.BackgroundTransparency = 1
  502. label.Size = UD2(1, 0, 1, 0)
  503. label.Position = UD2(0, 0, 0, 0)
  504. label.TextColor3 = C3(255, 255, 255)
  505. label.TextStrokeTransparency = STROKETRANSPARENCY
  506. label.TextTransparency = TRANSPARENCY
  507. label.FontSize = TEXTFONTSIZE
  508. label.Font = TEXTFONT
  509. label.BorderSizePixel = BORDERSIZEPIXEL
  510. label.TextScaled = true
  511. label.Text = TEXT
  512. label.Name = NAME
  513. label.Parent = PARENT
  514. return label
  515. end
  516.  
  517. function NoOutlines(PART)
  518. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  519. end
  520.  
  521.  
  522. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  523. local NEWWELD = IT(TYPE)
  524. NEWWELD.Part0 = PART0
  525. NEWWELD.Part1 = PART1
  526. NEWWELD.C0 = C0
  527. NEWWELD.C1 = C1
  528. NEWWELD.Parent = PARENT
  529. return NEWWELD
  530. end
  531.  
  532. function CreateSound(ID, PARENT, VOLUME, PITCH)
  533. coroutine.resume(coroutine.create(function()
  534. local NEWSOUND = IT("Sound", PARENT)
  535. NEWSOUND.Volume = VOLUME
  536. NEWSOUND.Pitch = PITCH
  537. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  538. Swait()
  539. NEWSOUND:play()
  540. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  541. end))
  542. end
  543.  
  544.  
  545. --//=================================\\
  546. --\\=================================//
  547.  
  548.  
  549. --//=================================\\
  550. --|| WEAPON CREATION
  551. --\\=================================//
  552.  
  553. local Handle = CreatePart(3, Weapon, "Brick", 0, 0, "Tawny", "Handle", VT(1.8,3.5,1.8))
  554. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0 * Player_Size, -1.5 * Player_Size, 1 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  555. local HandlePart = CreatePart(3, Weapon, "Brick", 0, 0, "Tawny", "Handle", VT(2.2,1,2.2))
  556. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Handle, HandlePart, CF(0 * Player_Size, 2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  557. local HandlePart = CreatePart(3, Weapon, "Brick", 0, 0, "Tawny", "Handle", VT(2,0.3,2))
  558. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Handle, HandlePart, CF(0 * Player_Size, -0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  559. local HandlePart = CreatePart(3, Weapon, "Brick", 0, 0, "Tawny", "Handle", VT(2,0.3,2))
  560. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Handle, HandlePart, CF(0 * Player_Size, -1.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  561. local Opening = CreatePart(3, Weapon, "Plastic", 0, 0, "Really black", "Handle", VT(1.2,0.6,0.1))
  562. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Opening, Handle, Opening, CF(0 * Player_Size, -0.8 * Player_Size, 0.9 * Player_Size) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  563. local HandlePart = CreatePart(3, Weapon, "Metal", 0, 0, "Stone grey", "Handle", VT(1,1,0.1))
  564. local decal = Instance.new("Decal",HandlePart)
  565. decal.Texture = "http://www.roblox.com/asset/?id=140490792"
  566. decal.Face = "Back"
  567. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Handle, HandlePart, CF(0 * Player_Size, 0.6 * Player_Size, 0.9 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  568.  
  569. for _, c in pairs(Weapon:GetChildren()) do
  570. if c.ClassName == "Part" then
  571. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  572. end
  573. end
  574.  
  575. local chuck = Instance.new("Sound",Effects)
  576. chuck.SoundId = "rbxassetid://11900833"
  577. chuck.Pitch = 2
  578. chuck.Volume = 1
  579.  
  580. Weapon.Parent = Character
  581.  
  582. Humanoid.Died:connect(function()
  583. ATTACK = true
  584. end)
  585.  
  586. print(Class_Name.." loaded.")
  587.  
  588. --//=================================\\
  589. --\\=================================//
  590.  
  591. function dealdamage(hit,min,max,maxstrength,beserk)
  592. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  593. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  594. local dmg = math.random(min,max)
  595. if humanoid.Health > 0 then
  596. if beserk == true then
  597. humanoid.Health = 0
  598. else
  599. CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  600. --hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  601. humanoid.Health = humanoid.Health - dmg
  602. --StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(255/255, 0, 0))
  603. local defence = Instance.new("BoolValue",hit.Parent)
  604. defence.Name = ("HitBy"..Player.Name)
  605. game:GetService("Debris"):AddItem(defence, 0.05)
  606. end
  607. end
  608. end
  609. end
  610.  
  611. --//=================================\\
  612. --\\=================================//
  613.  
  614. function chatfunc(text)
  615. local chat = coroutine.wrap(function()
  616. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  617. Character:FindFirstChild("TalkingBillBoard"):destroy()
  618. end
  619. local naeeym2 = Instance.new("BillboardGui",Character)
  620. naeeym2.Size = UDim2.new(0,100,0,40)
  621. naeeym2.StudsOffset = Vector3.new(0,3,0)
  622. naeeym2.Adornee = Character.Head
  623. naeeym2.Name = "TalkingBillBoard"
  624. local tecks2 = Instance.new("TextLabel",naeeym2)
  625. tecks2.BackgroundTransparency = 1
  626. tecks2.BorderSizePixel = 0
  627. tecks2.Text = ""
  628. tecks2.Font = "SciFi"
  629. tecks2.TextSize = 30
  630. tecks2.TextStrokeTransparency = 1
  631. tecks2.TextColor3 = Color3.new(0,0,0)
  632. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  633. tecks2.Size = UDim2.new(1,0,0.5,0)
  634. local tecks3 = Instance.new("TextLabel",naeeym2)
  635. tecks3.BackgroundTransparency = 1
  636. tecks3.BorderSizePixel = 0
  637. tecks3.Text = ""
  638. tecks3.Font = "SciFi"
  639. tecks3.TextSize = 30
  640. tecks3.TextStrokeTransparency = 1
  641. tecks3.TextColor3 = Color3.new(0,0,0)
  642. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  643. tecks3.Size = UDim2.new(1,0,0.5,0)
  644. for i = 1,string.len(text),1 do
  645. tecks2.Text = string.sub(text,1,i)
  646. tecks3.Text = string.sub(text,1,i)
  647. wait(0.01)
  648. end
  649. wait(2)
  650. for i = 1, 50 do
  651. Swait()
  652. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  653. tecks2.Rotation = tecks2.Rotation - .8
  654. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  655. tecks2.TextTransparency = tecks2.TextTransparency + .04
  656. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  657. tecks3.Rotation = tecks2.Rotation + .8
  658. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  659. tecks3.TextTransparency = tecks2.TextTransparency + .04
  660. end
  661. naeeym2:Destroy()
  662. end)
  663. chat()
  664. end
  665.  
  666. function onChatted(msg)
  667. if msg == "Mailman's Wrath" then
  668. chatfunc("Spell card! "..msg.."!")
  669. StartPosition()
  670. Swait(70)
  671. MailmansWrath()
  672. elseif msg == "Papercut Chaos" then
  673. StartPosition()
  674. chatfunc("Spell card! "..msg.."!")
  675. Swait(70)
  676. PapercutChaos()
  677. elseif msg == "Mailbox Madness" then
  678. StartPosition()
  679. chatfunc("Spell card! "..msg.."!")
  680. MailboxMadness()
  681. elseif msg == "Final Inbox" then
  682. StartPosition()
  683. chatfunc("SPELL CARD! FINAL INBOX!")
  684. Swait(80)
  685. sick.SoundId = FinalInboxLink
  686. sick:Play()
  687. chatfunc("DIE!")
  688. FinalInbox()
  689. sick.SoundId = NormalMusicLink
  690. sick:Play()
  691. end
  692. end
  693. Player.Chatted:connect(onChatted)
  694.  
  695. --//=================================\\
  696. --|| DANMAKU MADNESS
  697. --\\=================================//
  698.  
  699. local Mail = Instance.new("Part")
  700. Mail.Size = Vector3.new(2, 0.05, 1)
  701. Mail.Color = Color3.new(1,1,1)
  702. Mail.CanCollide = false
  703. local maildecal = Instance.new("Decal",Mail)
  704. maildecal.Face = "Top"
  705. maildecal.Texture = "http://www.roblox.com/asset/?id=8052441"
  706. Mail.BottomSurface = "Smooth"
  707. Mail.Name = "Mail"
  708.  
  709. function ShootMail(part,strength,debris)
  710. local mail = Mail:Clone()
  711. mail.CFrame = part.CFrame
  712. mail.Parent = Effects
  713. game:GetService("Debris"):AddItem(mail ,debris)
  714. local bv = Instance.new("BodyVelocity")
  715. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  716. bv.velocity = part.CFrame.lookVector*strength
  717. bv.Parent = mail
  718. bv.Name = "DASH"
  719. local hit = mail.Touched:connect(function(hit)
  720. if hit.Parent ~= Character and hit.Parent.ClassName ~= "Accessory" and hit.Name ~= "Mail" then
  721. dealdamage(hit,15,45,40)
  722. end
  723. end)
  724. return mail
  725. end
  726.  
  727. function MagicSphere(BRICKCOLOR, MATERIAL, PART, CFRAME, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  728. end
  729.  
  730.  
  731. function StartPosition()
  732. ATTACK = true
  733. Rooted = true
  734. for i=0, 1, 0.1 / Animation_Speed/1.2 do
  735. Swait()
  736. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0 * Player_Size, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.15 / Animation_Speed)
  737. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), 0.15 / Animation_Speed)
  738. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  739. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  740. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size -0.25, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  741. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.25, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  742. end
  743. end
  744.  
  745. function MailmansWrath()
  746. local twist = 0
  747. local twist2 = false
  748. local twist3 = 1
  749. local spinpart = Instance.new("Part",Weapon)
  750. spinpart.Anchored = true
  751. spinpart.CanCollide = false
  752. spinpart.Transparency = 1
  753. spinpart.CFrame = Opening.CFrame
  754. local spinpart2 = Instance.new("Part",Weapon)
  755. spinpart2.Anchored = true
  756. spinpart2.CanCollide = false
  757. spinpart2.Transparency = 1
  758. spinpart2.CFrame = Opening.CFrame
  759. for i = 1, 30 do
  760. chuck:Play()
  761. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  762. twist = twist + 1
  763. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  764. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  765. if twist == 10 then
  766. spinpart.CFrame = Opening.CFrame
  767. spinpart2.CFrame = Opening.CFrame
  768. twist = 0
  769. end
  770. ShootMail(spinpart,65,2)
  771. ShootMail(spinpart2,65,2)
  772. Swait(5)
  773. end
  774. spinpart.CFrame = Opening.CFrame
  775. spinpart2.CFrame = Opening.CFrame
  776. twist = 10
  777. for i = 1, 40 do
  778. chuck:Play()
  779. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  780. twist = twist + 1
  781. if twist2 == true then
  782. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  783. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  784. elseif twist2 == false then
  785. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  786. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  787. end
  788. if twist == 20 then
  789. if twist2 == false then
  790. twist2 = true
  791. elseif twist2 == true then
  792. twist2 = false
  793. end
  794. twist = 0
  795. end
  796. ShootMail(spinpart,65,2)
  797. ShootMail(spinpart2,65,2)
  798. Swait(5)
  799. end
  800. spinpart.CFrame = Opening.CFrame
  801. spinpart2.CFrame = Opening.CFrame
  802. twist = 0
  803. for i = 1, 30 do
  804. chuck:Play()
  805. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  806. twist = twist + 1
  807. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.15, 0)
  808. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.15, 0)
  809. if twist == 10 then
  810. spinpart.CFrame = Opening.CFrame
  811. spinpart2.CFrame = Opening.CFrame
  812. twist = 0
  813. end
  814. ShootMail(spinpart,75,2)
  815. ShootMail(spinpart2,75,2)
  816. Swait(5)
  817. end
  818. spinpart:remove()
  819. spinpart2:remove()
  820. ATTACK = false
  821. Rooted = false
  822. end
  823.  
  824. function PapercutChaos()
  825. local twist = 0
  826. for i = 1, 5 do
  827. chuck:Play()
  828. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  829. local mail = ShootMail(Opening,25,20)
  830. for i = 1, 15 do
  831. chuck:Play()
  832. local spinpart = Instance.new("Part",Weapon)
  833. spinpart.Anchored = true
  834. spinpart.CanCollide = false
  835. spinpart.Transparency = 1
  836. spinpart.CFrame = mail.CFrame
  837. local spinpart2 = Instance.new("Part",Weapon)
  838. spinpart2.Anchored = true
  839. spinpart2.CanCollide = false
  840. spinpart2.Transparency = 1
  841. spinpart2.CFrame = mail.CFrame
  842. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 70, 0)
  843. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -70, 0)
  844. MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  845. ShootMail(spinpart,35,2)
  846. ShootMail(spinpart2,35,2)
  847. spinpart:remove()
  848. spinpart2:remove()
  849. Swait(5)
  850. end
  851. mail:remove()
  852. end
  853. for i = 1, 2 do
  854. chuck:Play()
  855. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  856. local mail = ShootMail(Opening,45,20)
  857. for i = 1, 20 do
  858. twist = twist + 1
  859. chuck:Play()
  860. local spinpart = Instance.new("Part",Weapon)
  861. spinpart.Anchored = true
  862. spinpart.CanCollide = false
  863. spinpart.Transparency = 1
  864. spinpart.CFrame = mail.CFrame
  865. local spinpart2 = Instance.new("Part",Weapon)
  866. spinpart2.Anchored = true
  867. spinpart2.CanCollide = false
  868. spinpart2.Transparency = 1
  869. spinpart2.CFrame = mail.CFrame
  870. spinpart.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  871. spinpart2.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  872. MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  873. ShootMail(spinpart,35,2)
  874. ShootMail(spinpart2,35,2)
  875. spinpart:remove()
  876. spinpart2:remove()
  877. Swait(5)
  878. end
  879. twist = 0
  880. mail:remove()
  881. end
  882. ATTACK = false
  883. Rooted = false
  884. end
  885.  
  886. function MailboxMadness()
  887. for i = 1, 15 do
  888. chuck:Play()
  889. local part = Instance.new("Part")
  890. part.CFrame = RootPart.CFrame * CF(math.random(-35,35),0,math.random(-70,-35))
  891. part.Orientation = RootPart.Orientation
  892. part.CanCollide = false
  893. part.Anchored = true
  894. MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  895. local spinpart = Instance.new("Part",Weapon)
  896. spinpart.Anchored = true
  897. spinpart.CanCollide = false
  898. spinpart.Transparency = 1
  899. spinpart.CFrame = part.CFrame
  900. local spinpart2 = Instance.new("Part",Weapon)
  901. spinpart2.Anchored = true
  902. spinpart2.CanCollide = false
  903. spinpart2.Transparency = 1
  904. spinpart2.CFrame = part.CFrame
  905. MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  906. part:remove()
  907. for i = 1, 15 do
  908. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  909. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  910. ShootMail(spinpart,50,2)
  911. ShootMail(spinpart2,50,2)
  912. end
  913. spinpart:remove()
  914. spinpart2:remove()
  915. Swait(35)
  916. end
  917. ATTACK = false
  918. Rooted = false
  919. end
  920.  
  921. function FinalInbox()
  922. local twist = 0
  923. local twist2 = false
  924. for i = 1, 5 do
  925. local part = Instance.new("Part")
  926. part.CFrame = RootPart.CFrame * CF(math.random(-35,35),0,math.random(-70,-35))
  927. part.Orientation = RootPart.Orientation
  928. part.CanCollide = false
  929. part.Anchored = true
  930. MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  931. local spinpart = Instance.new("Part",Weapon)
  932. spinpart.Anchored = true
  933. spinpart.CanCollide = false
  934. spinpart.Transparency = 1
  935. spinpart.CFrame = part.CFrame
  936. local spinpart2 = Instance.new("Part",Weapon)
  937. spinpart2.Anchored = true
  938. spinpart2.CanCollide = false
  939. spinpart2.Transparency = 1
  940. spinpart2.CFrame = part.CFrame
  941. MagicSphere("Really black", "Neon", part.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  942. part:remove()
  943. local spinpart3 = Instance.new("Part",Weapon)
  944. spinpart3.Anchored = true
  945. spinpart3.CanCollide = false
  946. spinpart3.Transparency = 1
  947. spinpart3.CFrame = RootPart.CFrame * CF(0,0,-50)
  948. local spinpart4 = Instance.new("Part",Weapon)
  949. spinpart4.Anchored = true
  950. spinpart4.CanCollide = false
  951. spinpart4.Transparency = 1
  952. spinpart4.CFrame = RootPart.CFrame * CF(0,0,-50)
  953. for i = 1, 30 do
  954. chuck:Play()
  955. spinpart3.CFrame = spinpart3.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  956. spinpart4.CFrame = spinpart4.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  957. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  958. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  959. ShootMail(spinpart,50,2)
  960. ShootMail(spinpart2,-50,2)
  961. ShootMail(spinpart3,100,1)
  962. ShootMail(spinpart4,-100,1)
  963. Swait(5)
  964. end
  965. spinpart:remove()
  966. spinpart2:remove()
  967. spinpart3:remove()
  968. spinpart4:remove()
  969. end
  970. chuck:Play()
  971. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  972. for i = 1, 2 do
  973. twist = 10
  974. local spinpart = Instance.new("Part",Weapon)
  975. spinpart.Anchored = true
  976. spinpart.CanCollide = false
  977. spinpart.Transparency = 1
  978. spinpart.CFrame = Opening.CFrame
  979. local spinpart2 = Instance.new("Part",Weapon)
  980. spinpart2.Anchored = true
  981. spinpart2.CanCollide = false
  982. spinpart2.Transparency = 1
  983. spinpart2.CFrame = Opening.CFrame
  984. local mail = ShootMail(Opening,25,20)
  985. for i = 1, 50 do
  986. chuck:Play()
  987. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  988. twist = twist + 1
  989. if twist2 == true then
  990. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  991. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  992. elseif twist2 == false then
  993. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  994. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  995. end
  996. if twist == 20 then
  997. if twist2 == false then
  998. twist2 = true
  999. elseif twist2 == true then
  1000. twist2 = false
  1001. end
  1002. twist = 0
  1003. end
  1004. ShootMail(spinpart,125,1)
  1005. ShootMail(spinpart2,125,1)
  1006. local spinpart3 = Instance.new("Part",Weapon)
  1007. spinpart3.Anchored = true
  1008. spinpart3.CanCollide = false
  1009. spinpart3.Transparency = 1
  1010. spinpart3.CFrame = mail.CFrame
  1011. local spinpart4 = Instance.new("Part",Weapon)
  1012. spinpart4.Anchored = true
  1013. spinpart4.CanCollide = false
  1014. spinpart4.Transparency = 1
  1015. spinpart4.CFrame = mail.CFrame
  1016. spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  1017. spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  1018. MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  1019. ShootMail(spinpart3,85,1)
  1020. ShootMail(spinpart4,85,1)
  1021. spinpart3:remove()
  1022. spinpart4:remove()
  1023. Swait(5)
  1024. end
  1025. spinpart:remove()
  1026. spinpart2:remove()
  1027. twist = 0
  1028. mail:remove()
  1029. end
  1030. for i = 1, 4 do
  1031. twist = 10
  1032. local spinpart = Instance.new("Part",Weapon)
  1033. spinpart.Anchored = true
  1034. spinpart.CanCollide = false
  1035. spinpart.Transparency = 1
  1036. spinpart.CFrame = Opening.CFrame
  1037. local spinpart2 = Instance.new("Part",Weapon)
  1038. spinpart2.Anchored = true
  1039. spinpart2.CanCollide = false
  1040. spinpart2.Transparency = 1
  1041. spinpart2.CFrame = Opening.CFrame
  1042. local spinpart5 = Instance.new("Part",Weapon)
  1043. spinpart5.Anchored = true
  1044. spinpart5.CanCollide = false
  1045. spinpart5.Transparency = 1
  1046. spinpart5.CFrame = RootPart.CFrame * CF(0,0,-50)
  1047. local spinpart6 = Instance.new("Part",Weapon)
  1048. spinpart6.Anchored = true
  1049. spinpart6.CanCollide = false
  1050. spinpart6.Transparency = 1
  1051. spinpart6.CFrame = RootPart.CFrame * CF(0,0,-50)
  1052. local mail = ShootMail(Opening,25,20)
  1053. for i = 1, 50 do
  1054. chuck:Play()
  1055. MagicSphere("Really black", "Neon", Opening.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  1056. twist = twist + 1
  1057. spinpart5.CFrame = spinpart5.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
  1058. spinpart6.CFrame = spinpart6.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.4, 0)
  1059. if twist2 == true then
  1060. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.2, 0)
  1061. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, 0.1, 0)
  1062. elseif twist2 == false then
  1063. spinpart.CFrame = spinpart.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.2, 0)
  1064. spinpart2.CFrame = spinpart2.CFrame * CFrame.fromEulerAnglesXYZ(0, -0.1, 0)
  1065. end
  1066. if twist == 20 then
  1067. if twist2 == false then
  1068. twist2 = true
  1069. elseif twist2 == true then
  1070. twist2 = false
  1071. end
  1072. twist = 0
  1073. end
  1074. ShootMail(spinpart,125,1)
  1075. ShootMail(spinpart2,125,1)
  1076. ShootMail(spinpart5,100,1)
  1077. ShootMail(spinpart6,-100,1)
  1078. local spinpart3 = Instance.new("Part",Weapon)
  1079. spinpart3.Anchored = true
  1080. spinpart3.CanCollide = false
  1081. spinpart3.Transparency = 1
  1082. spinpart3.CFrame = mail.CFrame
  1083. local spinpart4 = Instance.new("Part",Weapon)
  1084. spinpart4.Anchored = true
  1085. spinpart4.CanCollide = false
  1086. spinpart4.Transparency = 1
  1087. spinpart4.CFrame = mail.CFrame
  1088. spinpart3.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, twist, 0)
  1089. spinpart4.CFrame = mail.CFrame * CFrame.fromEulerAnglesXYZ(0, -twist, 0)
  1090. MagicSphere("Really black", "Neon", mail.CFrame, CF(0,0,0), VT(0,0,0), 50, 50, 50, -0.1, -0.1, -0.1, 0.02)
  1091. ShootMail(spinpart3,85,1)
  1092. ShootMail(spinpart4,85,1)
  1093. spinpart3:remove()
  1094. spinpart4:remove()
  1095. Swait(5)
  1096. end
  1097. spinpart:remove()
  1098. spinpart2:remove()
  1099. spinpart5:remove()
  1100. spinpart6:remove()
  1101. twist = 0
  1102. mail:remove()
  1103. end
  1104. ATTACK = false
  1105. Rooted = false
  1106. end
  1107.  
  1108. --//=================================\\
  1109. --|| ASSIGN THINGS TO KEYS
  1110. --\\=================================//
  1111.  
  1112. Humanoid.Changed:connect(function(Jump)
  1113. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1114. Humanoid.Jump = false
  1115. end
  1116. end)
  1117.  
  1118. --//=================================\\
  1119. --\\=================================//
  1120.  
  1121.  
  1122. function unanchor()
  1123. if UNANCHOR == true then
  1124. g = Character:GetChildren()
  1125. for i = 1, #g do
  1126. if g[i].ClassName == "Part" then
  1127. g[i].Anchored = false
  1128. end
  1129. end
  1130. end
  1131. end
  1132.  
  1133.  
  1134. --//=================================\\
  1135. --|| WRAP THE WHOLE SCRIPT UP
  1136. --\\=================================//
  1137.  
  1138. Humanoid.Changed:connect(function(Jump)
  1139. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1140. Humanoid.Jump = false
  1141. end
  1142. end)
  1143.  
  1144. ANIMATE.Parent = nil
  1145. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1146. IDLEANIMATION:Play()
  1147. Swait()
  1148. ANIMATOR.Parent = nil
  1149. Disable_Jump = true
  1150.  
  1151. while true do
  1152. Swait()
  1153. SINE = SINE + CHANGE
  1154. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1155. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1156. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1157. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1158. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1159. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1160. 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)
  1161. 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)
  1162. 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)
  1163. 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)
  1164. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1165. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1166. 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)
  1167. 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)
  1168. 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)
  1169. end
  1170. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1171. ANIM = "Jump"
  1172. if ATTACK == false then
  1173. 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)
  1174. 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)
  1175. 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)
  1176. 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)
  1177. 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)
  1178. 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)
  1179. end
  1180. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1181. ANIM = "Fall"
  1182. if ATTACK == false then
  1183. 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)
  1184. 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)
  1185. 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)
  1186. 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)
  1187. 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)
  1188. 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)
  1189. end
  1190. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1191. ANIM = "Idle"
  1192. if ATTACK == false then
  1193. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, -0 * Player_Size, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1194. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1195. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1196. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1197. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size -0.25, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1198. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.25, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1199. end
  1200. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1201. ANIM = "Walk"
  1202. WALK = WALK + 1 / Animation_Speed
  1203. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1204. WALK = 0
  1205. if WALKINGANIM == true then
  1206. WALKINGANIM = false
  1207. elseif WALKINGANIM == false then
  1208. WALKINGANIM = true
  1209. end
  1210. end
  1211. --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)
  1212. --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)
  1213. if ATTACK == false then
  1214. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  1215. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1216. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1217. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1218. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1219. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1220. end
  1221. end
  1222. if #Effects2>0 then
  1223. for e=1,#Effects2 do
  1224. if Effects2[e]~=nil then
  1225. local Thing=Effects2[e]
  1226. if Thing~=nil then
  1227. local Part=Thing[1]
  1228. local Mode=Thing[2]
  1229. local Delay=Thing[3]
  1230. local IncX=Thing[4]
  1231. local IncY=Thing[5]
  1232. local IncZ=Thing[6]
  1233. local Part2=Thing[8]
  1234. if Thing[1].Transparency<=1 then
  1235. if Thing[2]=="Block1" then
  1236. Thing[1].CFrame=Part2.CFrame
  1237. Mesh=Thing[1].Mesh
  1238. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1239. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1240. elseif Thing[2]=="Cylinder" then
  1241. Mesh=Thing[1].Mesh
  1242. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1243. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1244. elseif Thing[2]=="Blood" then
  1245. Mesh=Thing[7]
  1246. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1247. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1248. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1249. elseif Thing[2]=="Elec" then
  1250. Mesh=Thing[1].Mesh
  1251. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1252. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1253. elseif Thing[2]=="Disappear" then
  1254. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1255. end
  1256. else
  1257. Part.Parent=nil
  1258. table.remove(Effects2,e)
  1259. end
  1260. end
  1261. end
  1262. end
  1263. end
  1264. unanchor()
  1265. Humanoid.MaxHealth = "inf"
  1266. Humanoid.Health = "inf"
  1267. if Rooted == false then
  1268. --Disable_Jump = false
  1269. Humanoid.WalkSpeed = Speed
  1270. elseif Rooted == true then
  1271. Disable_Jump = true
  1272. Humanoid.WalkSpeed = 0
  1273. end
  1274. --print(TORSOVELOCITY)
  1275. end
  1276.  
  1277. --//=================================\\
  1278. --\\=================================//
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284. --//====================================================\\--
  1285. --|| END OF SCRIPT
  1286. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement