Baldeagle22

sdsa

Sep 24th, 2018
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.45 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY THE TRUE ILLUMINATY, SHACKLUSTER
  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. do
  8.  
  9. script.Parent = Player.Character
  10.  
  11. --RemoteEvent for communicating
  12. local Event = Instance.new("RemoteEvent")
  13. Event.Name = "UserInput_Event"
  14.  
  15. --Fake event to make stuff like Mouse.KeyDown work
  16. local function fakeEvent()
  17. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  18. t.connect = t.Connect
  19. return t
  20. end
  21.  
  22. --Creating fake input objects with fake variables
  23. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  24. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  25. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  26. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  27. end}
  28. --Merged 2 functions into one by checking amount of arguments
  29. CAS.UnbindAction = CAS.BindAction
  30.  
  31. --This function will trigger the events that have been :Connect()'ed
  32. local function te(self,ev,...)
  33. local t = m[ev]
  34. if t and t._fakeEvent and t.Function then
  35. t.Function(...)
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  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. else
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. for _,t in pairs(CAS.Actions) do
  52. for _,k in pairs(t.Keys) do
  53. if k==io.KeyCode then
  54. t.Function(t.Name,io.UserInputState,io)
  55. end
  56. end
  57. end
  58. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  59. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  60. end
  61. end)
  62. Event.Parent = NLS([==[
  63. local Player = game:GetService("Players").LocalPlayer
  64. local Event = script:WaitForChild("UserInput_Event")
  65.  
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local Mouse = Player:GetMouse()
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  86. end
  87.  
  88.  
  89.  
  90. wait(0.2)
  91.  
  92.  
  93.  
  94. Player = owner
  95. PlayerGui = Player.PlayerGui
  96. Cam = workspace.CurrentCamera
  97. Backpack = Player.Backpack
  98. Character = Player.Character
  99. Humanoid = Character.Humanoid
  100. RootPart = Character["HumanoidRootPart"]
  101. Torso = Character["Torso"]
  102. Head = Character["Head"]
  103. RightArm = Character["Right Arm"]
  104. LeftArm = Character["Left Arm"]
  105. RightLeg = Character["Right Leg"]
  106. LeftLeg = Character["Left Leg"]
  107. RootJoint = RootPart["RootJoint"]
  108. Neck = Torso["Neck"]
  109. RightShoulder = Torso["Right Shoulder"]
  110. LeftShoulder = Torso["Left Shoulder"]
  111. RightHip = Torso["Right Hip"]
  112. LeftHip = Torso["Left Hip"]
  113. KEYHOLD = false
  114. IT = Instance.new
  115. CF = CFrame.new
  116. VT = Vector3.new
  117. RAD = math.rad
  118. C3 = Color3.new
  119. UD2 = UDim2.new
  120. BRICKC = BrickColor.new
  121. ANGLES = CFrame.Angles
  122. EULER = CFrame.fromEulerAnglesXYZ
  123. COS = math.cos
  124. ACOS = math.acos
  125. SIN = math.sin
  126. ASIN = math.asin
  127. ABS = math.abs
  128. MRANDOM = math.random
  129. FLOOR = math.floor
  130. local Torsos = {}
  131.  
  132. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  133. local NEWMESH = IT(MESH)
  134. if MESH == "SpecialMesh" then
  135. NEWMESH.MeshType = MESHTYPE
  136. if MESHID ~= "nil" and MESHID ~= "" then
  137. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  138. end
  139. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  140. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  141. end
  142. end
  143. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  144. NEWMESH.Scale = SCALE
  145. NEWMESH.Parent = PARENT
  146. return NEWMESH
  147. end
  148.  
  149. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  150. local NEWPART = IT("Part")
  151. NEWPART.formFactor = FORMFACTOR
  152. NEWPART.Reflectance = REFLECTANCE
  153. NEWPART.Transparency = TRANSPARENCY
  154. NEWPART.CanCollide = false
  155. NEWPART.Locked = true
  156. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  157. NEWPART.Name = NAME
  158. NEWPART.Size = SIZE
  159. NEWPART.Position = Torso.Position
  160. NEWPART.Material = MATERIAL
  161. NEWPART:BreakJoints()
  162. NEWPART.Parent = PARENT
  163. return NEWPART
  164. end
  165.  
  166.  
  167. --//=================================\\
  168. --|| CUSTOMIZATION
  169. --\\=================================//
  170.  
  171. Class_Name = "Template"
  172. Weapon_Name = "Add-ons"
  173.  
  174. Custom_Colors = {
  175. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  176. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  177.  
  178. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  179. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  180. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  181. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  182. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  183.  
  184. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  185. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  186. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  187. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  188. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  189. }
  190.  
  191.  
  192. Player_Size = 1 --Size of the player.
  193. Animation_Speed = 3
  194. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  195.  
  196. local Speed = 16
  197. local Effects2 = {}
  198.  
  199. --//=================================\\
  200. --|| END OF CUSTOMIZATION
  201. --\\=================================//
  202.  
  203. local function weldBetween(a, b)
  204. local weldd = Instance.new("ManualWeld")
  205. weldd.Part0 = a
  206. weldd.Part1 = b
  207. weldd.C0 = CFrame.new()
  208. weldd.C1 = b.CFrame:inverse() * a.CFrame
  209. weldd.Parent = a
  210. return weldd
  211. end
  212.  
  213. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  214. local acs = Instance.new("Part")
  215. acs.CanCollide = false
  216. acs.Anchored = false
  217. acs.Size = Vector3.new(0,0,0)
  218. acs.CFrame = attachmentpart.CFrame
  219. acs.Parent = Character
  220. acs.BrickColor = color
  221. local meshs = Instance.new("SpecialMesh")
  222. meshs.MeshId = mesh
  223. meshs.TextureId = texture
  224. meshs.Parent = acs
  225. meshs.Scale = scale
  226. meshs.Offset = offset
  227. weldBetween(attachmentpart,acs)
  228. end
  229.  
  230. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  231. if TYPE == "Gem" then
  232. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  233. acs.Anchored = false
  234. acs.CanCollide = false
  235. acs.CFrame = PART.CFrame
  236. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  237. weldBetween(PART,acs)
  238. elseif TYPE == "Skull" then
  239. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  240. acs.Anchored = false
  241. acs.CanCollide = false
  242. acs.CFrame = PART.CFrame
  243. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  244. weldBetween(PART,acs)
  245. elseif TYPE == "Eye" then
  246. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  247. acs.Anchored = false
  248. acs.CanCollide = false
  249. acs.CFrame = PART.CFrame
  250. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  251. weldBetween(PART,acs)
  252. end
  253. end
  254.  
  255. --//=================================\\
  256. --|| USEFUL VALUES
  257. --\\=================================//
  258.  
  259. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  260. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  261. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  262. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  263. local CO1 = 0
  264. local CO2 = 0
  265. local CO3 = 0
  266. local CO4 = 0
  267. local CHANGEDEFENSE = 0
  268. local CHANGEDAMAGE = 0
  269. local CHANGEMOVEMENT = 0
  270. local ANIM = "Idle"
  271. local ATTACK = false
  272. local EQUIPPED = false
  273. local HOLD = false
  274. local COMBO = 1
  275. local LASTPOINT = nil
  276. local BLCF = nil
  277. local SCFR = nil
  278. local STAGGERHITANIM = false
  279. local STAGGERANIM = false
  280. local STUNANIM = false
  281. local CRITCHANCENUMBER = 0
  282. local IDLENUMBER = 0
  283. local DONUMBER = 0
  284. local HANDIDLE = false
  285. local SINE = 0
  286. local CHANGE = 2 / Animation_Speed
  287. local WALKINGANIM = false
  288. local WALK = 0
  289. local DISABLEJUMPING = false
  290. local HASBEENBLOCKED = false
  291. local STUNDELAYNUMBER = 0
  292. local MANADELAYNUMBER = 0
  293. local SECONDARYMANADELAYNUMBER = 0
  294. local ROBLOXIDLEANIMATION = IT("Animation")
  295. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  296. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  297. --ROBLOXIDLEANIMATION.Parent = Humanoid
  298. local WEAPONGUI = IT("ScreenGui", nil)
  299. WEAPONGUI.Name = "Weapon GUI"
  300. local WEAPONTOOL = IT("HopperBin", nil)
  301. WEAPONTOOL.Name = Weapon_Name
  302. local Weapon = IT("Model")
  303. Weapon.Name = Weapon_Name
  304. local Effects = IT("Folder", Weapon)
  305. Effects.Name = "Effects"
  306. local ANIMATOR = Humanoid.Animator
  307. local ANIMATE = Character.Animate
  308. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  309. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  310. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  311. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  312. local UNANCHOR = true
  313.  
  314. --//=================================\\
  315. --\\=================================//
  316.  
  317. --//=================================\\
  318. --|| STATS
  319. --\\=================================//
  320.  
  321. if Character:FindFirstChild("Stats") ~= nil then
  322. Character:FindFirstChild("Stats").Parent = nil
  323. end
  324.  
  325. local Stats = IT("Folder", nil)
  326. Stats.Name = "Stats"
  327. local ChangeStat = IT("Folder", Stats)
  328. ChangeStat.Name = "ChangeStat"
  329. local Defense = IT("NumberValue", Stats)
  330. Defense.Name = "Defense"
  331. Defense.Value = 1
  332. local Movement = IT("NumberValue", Stats)
  333. Movement.Name = "Movement"
  334. Movement.Value = 1
  335. local Damage = IT("NumberValue", Stats)
  336. Damage.Name = "Damage"
  337. Damage.Value = 1
  338. local Mana = IT("NumberValue", Stats)
  339. Mana.Name = "Mana"
  340. Mana.Value = 0
  341. local SecondaryMana = IT("NumberValue", Stats)
  342. SecondaryMana.Name = "SecondaryMana"
  343. SecondaryMana.Value = 0
  344. local CanCrit = IT("BoolValue", Stats)
  345. CanCrit.Name = "CanCrit"
  346. CanCrit.Value = false
  347. local CritChance = IT("NumberValue", Stats)
  348. CritChance.Name = "CritChance"
  349. CritChance.Value = 20
  350. local CanPenetrateArmor = IT("BoolValue", Stats)
  351. CanPenetrateArmor.Name = "CanPenetrateArmor"
  352. CanPenetrateArmor.Value = false
  353. local AntiTeamKill = IT("BoolValue", Stats)
  354. AntiTeamKill.Name = "AntiTeamKill"
  355. AntiTeamKill.Value = false
  356. local Rooted = IT("BoolValue", Stats)
  357. Rooted.Name = "Rooted"
  358. Rooted.Value = false
  359. local Block = IT("BoolValue", Stats)
  360. Block.Name = "Block"
  361. Block.Value = false
  362. local RecentEnemy = IT("ObjectValue", Stats)
  363. RecentEnemy.Name = "RecentEnemy"
  364. RecentEnemy.Value = nil
  365. local StaggerHit = IT("BoolValue", Stats)
  366. StaggerHit.Name = "StaggerHit"
  367. StaggerHit.Value = false
  368. local Stagger = IT("BoolValue", Stats)
  369. Stagger.Name = "Stagger"
  370. Stagger.Value = false
  371. local Stun = IT("BoolValue", Stats)
  372. Stun.Name = "Stun"
  373. Stun.Value = false
  374. local StunValue = IT("NumberValue", Stats)
  375. StunValue.Name = "StunValue"
  376. StunValue.Value = 0
  377.  
  378.  
  379. --//=================================\\
  380. --\\=================================//
  381.  
  382.  
  383.  
  384.  
  385.  
  386. --//=================================\\
  387. --|| DEBUFFS / BUFFS
  388. --\\=================================//
  389.  
  390. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  391. DEFENSECHANGE1.Name = "ChangeDefense"
  392. DEFENSECHANGE1.Value = 0
  393.  
  394. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  395. MOVEMENTCHANGE1.Name = "ChangeMovement"
  396. MOVEMENTCHANGE1.Value = 0
  397.  
  398. --//=================================\\
  399. --\\=================================//
  400.  
  401.  
  402.  
  403.  
  404.  
  405. --//=================================\\
  406. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  407. --\\=================================//
  408.  
  409. ArtificialHB = Instance.new("BindableEvent", script)
  410. ArtificialHB.Name = "ArtificialHB"
  411.  
  412. script:WaitForChild("ArtificialHB")
  413.  
  414. frame = Frame_Speed
  415. tf = 0
  416. allowframeloss = false
  417. tossremainder = false
  418. lastframe = tick()
  419. script.ArtificialHB:Fire()
  420.  
  421. game:GetService("RunService").Heartbeat:connect(function(s, p)
  422. tf = tf + s
  423. if tf >= frame then
  424. if allowframeloss then
  425. script.ArtificialHB:Fire()
  426. lastframe = tick()
  427. else
  428. for i = 1, math.floor(tf / frame) do
  429. script.ArtificialHB:Fire()
  430. end
  431. lastframe = tick()
  432. end
  433. if tossremainder then
  434. tf = 0
  435. else
  436. tf = tf - frame * math.floor(tf / frame)
  437. end
  438. end
  439. end)
  440.  
  441. --//=================================\\
  442. --\\=================================//
  443.  
  444.  
  445.  
  446.  
  447.  
  448. --//=================================\\
  449. --|| SOME FUNCTIONS
  450. --\\=================================//
  451.  
  452. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  453. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  454. end
  455.  
  456. function PositiveAngle(NUMBER)
  457. if NUMBER >= 0 then
  458. NUMBER = 0
  459. end
  460. return NUMBER
  461. end
  462.  
  463. function NegativeAngle(NUMBER)
  464. if NUMBER <= 0 then
  465. NUMBER = 0
  466. end
  467. return NUMBER
  468. end
  469.  
  470. function Swait(NUMBER)
  471. if NUMBER == 0 or NUMBER == nil then
  472. ArtificialHB.Event:wait()
  473. else
  474. for i = 1, NUMBER do
  475. ArtificialHB.Event:wait()
  476. end
  477. end
  478. end
  479.  
  480. function QuaternionFromCFrame(cf)
  481. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  482. local trace = m00 + m11 + m22
  483. if trace > 0 then
  484. local s = math.sqrt(1 + trace)
  485. local recip = 0.5 / s
  486. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  487. else
  488. local i = 0
  489. if m11 > m00 then
  490. i = 1
  491. end
  492. if m22 > (i == 0 and m00 or m11) then
  493. i = 2
  494. end
  495. if i == 0 then
  496. local s = math.sqrt(m00 - m11 - m22 + 1)
  497. local recip = 0.5 / s
  498. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  499. elseif i == 1 then
  500. local s = math.sqrt(m11 - m22 - m00 + 1)
  501. local recip = 0.5 / s
  502. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  503. elseif i == 2 then
  504. local s = math.sqrt(m22 - m00 - m11 + 1)
  505. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  506. end
  507. end
  508. end
  509.  
  510. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  511. local xs, ys, zs = x + x, y + y, z + z
  512. local wx, wy, wz = w * xs, w * ys, w * zs
  513. local xx = x * xs
  514. local xy = x * ys
  515. local xz = x * zs
  516. local yy = y * ys
  517. local yz = y * zs
  518. local zz = z * zs
  519. 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))
  520. end
  521.  
  522. function QuaternionSlerp(a, b, t)
  523. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  524. local startInterp, finishInterp;
  525. if cosTheta >= 0.0001 then
  526. if (1 - cosTheta) > 0.0001 then
  527. local theta = ACOS(cosTheta)
  528. local invSinTheta = 1 / SIN(theta)
  529. startInterp = SIN((1 - t) * theta) * invSinTheta
  530. finishInterp = SIN(t * theta) * invSinTheta
  531. else
  532. startInterp = 1 - t
  533. finishInterp = t
  534. end
  535. else
  536. if (1 + cosTheta) > 0.0001 then
  537. local theta = ACOS(-cosTheta)
  538. local invSinTheta = 1 / SIN(theta)
  539. startInterp = SIN((t - 1) * theta) * invSinTheta
  540. finishInterp = SIN(t * theta) * invSinTheta
  541. else
  542. startInterp = t - 1
  543. finishInterp = t
  544. end
  545. end
  546. 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
  547. end
  548.  
  549. function Clerp(a, b, t)
  550. local qa = {QuaternionFromCFrame(a)}
  551. local qb = {QuaternionFromCFrame(b)}
  552. local ax, ay, az = a.x, a.y, a.z
  553. local bx, by, bz = b.x, b.y, b.z
  554. local _t = 1 - t
  555. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  556. end
  557.  
  558. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  559. local frame = IT("Frame")
  560. frame.BackgroundTransparency = TRANSPARENCY
  561. frame.BorderSizePixel = BORDERSIZEPIXEL
  562. frame.Position = POSITION
  563. frame.Size = SIZE
  564. frame.BackgroundColor3 = COLOR
  565. frame.BorderColor3 = BORDERCOLOR
  566. frame.Name = NAME
  567. frame.Parent = PARENT
  568. return frame
  569. end
  570.  
  571. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  572. local label = IT("TextLabel")
  573. label.BackgroundTransparency = 1
  574. label.Size = UD2(1, 0, 1, 0)
  575. label.Position = UD2(0, 0, 0, 0)
  576. label.TextColor3 = C3(255, 255, 255)
  577. label.TextStrokeTransparency = STROKETRANSPARENCY
  578. label.TextTransparency = TRANSPARENCY
  579. label.FontSize = TEXTFONTSIZE
  580. label.Font = TEXTFONT
  581. label.BorderSizePixel = BORDERSIZEPIXEL
  582. label.TextScaled = true
  583. label.Text = TEXT
  584. label.Name = NAME
  585. label.Parent = PARENT
  586. return label
  587. end
  588.  
  589. function NoOutlines(PART)
  590. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  591. end
  592.  
  593.  
  594. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  595. local NEWWELD = IT(TYPE)
  596. NEWWELD.Part0 = PART0
  597. NEWWELD.Part1 = PART1
  598. NEWWELD.C0 = C0
  599. NEWWELD.C1 = C1
  600. NEWWELD.Parent = PARENT
  601. return NEWWELD
  602. end
  603.  
  604. function CreateSound(ID, PARENT, VOLUME, PITCH)
  605. coroutine.resume(coroutine.create(function()
  606. local NEWSOUND = IT("Sound", PARENT)
  607. NEWSOUND.Volume = VOLUME
  608. NEWSOUND.Pitch = PITCH
  609. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  610. Swait()
  611. NEWSOUND:play()
  612. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  613. end))
  614. end
  615.  
  616. --//=================================\\
  617. --\\=================================//
  618.  
  619.  
  620.  
  621.  
  622.  
  623. --//=================================\\
  624. --|| RESIZE PLAYER
  625. --\\=================================//
  626.  
  627. if Player_Size ~= 1 then
  628. RootPart.Size = RootPart.Size * Player_Size
  629. Torso.Size = Torso.Size * Player_Size
  630. Head.Size = Head.Size * Player_Size
  631. RightArm.Size = RightArm.Size * Player_Size
  632. LeftArm.Size = LeftArm.Size * Player_Size
  633. RightLeg.Size = RightLeg.Size * Player_Size
  634. LeftLeg.Size = LeftLeg.Size * Player_Size
  635. RootJoint.Parent = RootPart
  636. Neck.Parent = Torso
  637. RightShoulder.Parent = Torso
  638. LeftShoulder.Parent = Torso
  639. RightHip.Parent = Torso
  640. LeftHip.Parent = Torso
  641.  
  642. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  643. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  644. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  645. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  646. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  647. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  648. if Disable_Moving_Arms == false then
  649. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  650. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  651. else
  652. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  653. LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  654. end
  655. 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))
  656. 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))
  657. 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))
  658. 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))
  659. --------------------
  660. end
  661.  
  662.  
  663. --//=================================\\
  664. --\\=================================//
  665.  
  666.  
  667.  
  668.  
  669. --//=================================\\
  670. --|| WEAPON CREATION
  671. --\\=================================//
  672.  
  673. if Player_Size ~= 1 then
  674. for _, v in pairs (Weapon:GetChildren()) do
  675. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  676. local p1 = v.Part1
  677. v.Part1 = nil
  678. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  679. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  680. v.Part1 = p1
  681. elseif v.ClassName == "Part" then
  682. for _, b in pairs (v:GetChildren()) do
  683. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  684. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  685. end
  686. end
  687. end
  688. end
  689. end
  690.  
  691. for _, c in pairs(Weapon:GetChildren()) do
  692. if c.ClassName == "Part" then
  693. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  694. end
  695. end
  696.  
  697. Weapon.Parent = Character
  698.  
  699. print(Class_Name.." loaded.")
  700.  
  701. --//=================================\\
  702. --\\=================================//
  703.  
  704.  
  705.  
  706. --//=================================\\
  707. --|| ATTACK FUNCTIONS AND STUFF
  708. --\\=================================//
  709.  
  710. local raysound = Instance.new("Sound",Character)
  711. raysound.SoundId = "rbxassetid://346067083"
  712. raysound.Pitch = 2
  713. raysound.Looped = true
  714. raysound.Volume = 10
  715.  
  716. function pew()
  717. ATTACK = true
  718. local sphere = Instance.new("Part",Effects)
  719. sphere.Size = Vector3.new(0,0,0)
  720. sphere.Material = "Neon"
  721. sphere.Shape = "Ball"
  722. sphere.Name = "AntimatterRay"
  723. sphere.Anchored = true
  724. sphere.Color = Color3.new(0,0,0)
  725. sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*27
  726. sphere.CanCollide = false
  727. local hit = sphere.Touched:connect(function(hit)
  728. if hit.Parent ~= Character and hit.Parent.Parent ~= Character and hit.Parent ~= Effects and hit.Anchored == false and hit:FindFirstChild("Vanishing") == nil then
  729. if hit.Parent:FindFirstChild("Humanoid") then
  730. hit.Parent:BreakJoints()
  731. if hit.Parent:FindFirstChild("Vanishing") == nil then
  732. local vanish = Instance.new("BoolValue",hit.Parent)
  733. vanish.Name = "Vanishing"
  734. local sound = Instance.new("Sound",hit)
  735. sound.SoundId = "rbxassetid://179497874"
  736. sound.Volume = 10
  737. sound:Play()
  738. end
  739. else
  740. local vanish = Instance.new("BoolValue",hit)
  741. vanish.Name = "Vanishing"
  742. hit.Color = Color3.new(0,0,0)
  743. table.insert(Effects2,{hit,"Disappear",0.07,0,1,1,1})
  744. if hit:FindFirstChildOfClass("SpecialMesh") then
  745. local mesh = hit:FindFirstChildOfClass("SpecialMesh")
  746. mesh.TextureId = ""
  747. end
  748. end
  749. end
  750. end)
  751. repeat
  752. Swait()
  753. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0)
  754. sphere.Size = sphere.Size + Vector3.new(1,1,1)
  755. sphere.Color = Color3.new(0,(sphere.Size.Y/200),0)
  756. sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*(sphere.Size.Y/1.75)
  757. until KEYHOLD == false or sphere.Size.Y > 200
  758. CreateSound("11944350", Effects, 10, 1)
  759. local bv = Instance.new("BodyVelocity")
  760. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  761. bv.velocity = RootPart.CFrame.lookVector*350
  762. bv.Parent = sphere
  763. bv.Name = "DASH"
  764. sphere.Anchored = false
  765. ATTACK = false
  766. game:GetService("Debris"):AddItem(sphere, 15)
  767. end
  768.  
  769. function HoldRay()
  770. ATTACK = true
  771. UNANCHOR = false
  772. CreateSound("428800263", Torso, 15, 3.5)
  773. local sphere = Instance.new("Part",Effects)
  774. sphere.Size = Vector3.new(0,0,0)
  775. sphere.Material = "Neon"
  776. sphere.Shape = "Ball"
  777. sphere.Name = "AntimatterRay"
  778. sphere.Anchored = true
  779. sphere.Color = Color3.new(59/255, 80/255, 45/255)
  780. sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*15
  781. sphere.CanCollide = false
  782. for i=0, 1, 0.1 / Animation_Speed do
  783. Swait()
  784. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0)
  785. sphere.Size = sphere.Size + Vector3.new(0.6,0.6,0.6)
  786. sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*15
  787. end
  788. local sound = Instance.new("Sound",Effects)
  789. sound.SoundId = "rbxassetid://165487479"
  790. sound.Volume = 10
  791. sound:Play()
  792. repeat
  793. sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*15
  794. Swait()
  795. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0)
  796. until sound.Playing == false
  797. sound:remove()
  798. raysound:Play()
  799. local timer = 1
  800. local Lazor = Instance.new("Part",Effects)
  801. Lazor.Size = Vector3.new(12,12,1000)
  802. Lazor.Name = "AntimatterRay"
  803. Lazor.Material = "Neon"
  804. Lazor.Anchored = true
  805. Lazor.CanCollide = false
  806. Lazor.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*515
  807. Lazor.Color = Color3.new(0,0,0)
  808. Lazor.CFrame = Lazor.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.random(-180,180))
  809. local hit = Lazor.Touched:connect(function(hit)
  810. if hit.Parent ~= Character and hit.Parent.Parent ~= Character and hit.Parent ~= Effects and hit.Anchored == false and hit:FindFirstChild("Vanishing") == nil then
  811. if hit.Parent:FindFirstChild("Humanoid") then
  812. hit.Parent:BreakJoints()
  813. if hit.Parent:FindFirstChild("Vanishing") == nil then
  814. local vanish = Instance.new("BoolValue",hit.Parent)
  815. vanish.Name = "Vanishing"
  816. local sound = Instance.new("Sound",hit)
  817. sound.SoundId = "rbxassetid://179497874"
  818. sound.Volume = 10
  819. sound:Play()
  820. end
  821. else
  822. local vanish = Instance.new("BoolValue",hit)
  823. vanish.Name = "Vanishing"
  824. hit.Color = Color3.new(0,0,0)
  825. table.insert(Effects2,{hit,"Disappear",0.07,0,1,1,1})
  826. if hit:FindFirstChildOfClass("SpecialMesh") then
  827. local mesh = hit:FindFirstChildOfClass("SpecialMesh")
  828. mesh.TextureId = ""
  829. end
  830. end
  831. end
  832. end)
  833. local hit2 = sphere.Touched:connect(function(hit)
  834. if hit.Parent ~= Character and hit.Parent.Parent ~= Character and hit.Parent ~= Effects and hit.Anchored == false and hit:FindFirstChild("Vanishing") == nil then
  835. if hit.Parent:FindFirstChild("Humanoid") then
  836. hit.Parent:BreakJoints()
  837. if hit.Parent:FindFirstChild("Vanishing") == nil then
  838. local vanish = Instance.new("BoolValue",hit.Parent)
  839. vanish.Name = "Vanishing"
  840. local sound = Instance.new("Sound",hit)
  841. sound.SoundId = "rbxassetid://179497874"
  842. sound.Volume = 10
  843. sound:Play()
  844. end
  845. else
  846. local vanish = Instance.new("BoolValue",hit)
  847. vanish.Name = "Vanishing"
  848. hit.Color = Color3.new(0,0,0)
  849. table.insert(Effects2,{hit,"Disappear",0.07,0,1,1,1})
  850. if hit:FindFirstChildOfClass("SpecialMesh") then
  851. local mesh = hit:FindFirstChildOfClass("SpecialMesh")
  852. mesh.TextureId = ""
  853. end
  854. end
  855. end
  856. end)
  857. repeat
  858. if HOLD == true then
  859. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0)
  860. Lazor.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*515
  861. sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*15
  862. Lazor.CFrame = Lazor.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.random(-180,180))
  863. if timer ==1 then
  864. Lazor.Color = Color3.new(59/255, 80/255, 45/255)
  865. sphere.Color = Color3.new(59/255, 80/255, 45/255)
  866. timer = 2
  867. elseif timer ==2 then
  868. Lazor.Color = Color3.new(39/255, 70/255, 45/255)
  869. sphere.Color = Color3.new(39/255, 70/255, 45/255)
  870. timer = 1
  871. end
  872. end
  873. Swait()
  874. until HOLD == false
  875. for i=0, 1, 0.1 / Animation_Speed/2 do
  876. Swait()
  877. Lazor.CFrame = Lazor.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.random(-180,180))
  878. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0)
  879. Lazor.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*515
  880. sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*15
  881. sphere.Anchored = true
  882. Lazor.Anchored = true
  883. sphere.Size = sphere.Size - Vector3.new(0.2,0.2,0.2)
  884. Lazor.Size = Lazor.Size - Vector3.new(0.5,0.5,0)
  885. Lazor.Transparency = Lazor.Transparency + 0.03
  886. sphere.Transparency = sphere.Transparency + 0.03
  887. raysound.Volume = raysound.Volume - 0.1
  888. if timer ==1 then
  889. Lazor.Color = Color3.new(59/255, 80/255, 45/255)
  890. sphere.Color = Color3.new(59/255, 80/255, 45/255)
  891. timer = 2
  892. elseif timer ==2 then
  893. Lazor.Color = Color3.new(39/255, 70/255, 45/255)
  894. sphere.Color = Color3.new(39/255, 70/255, 45/255)
  895. timer = 1
  896. end
  897. end
  898. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Vector3.new(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0)
  899. hit2:disconnect()
  900. hit:disconnect()
  901. raysound:Stop()
  902. raysound.Volume = 5
  903. sphere:remove()
  904. Lazor:remove()
  905. BLCF = nil
  906. SCFR = nil
  907. ATTACK = false
  908. UNANCHOR = true
  909. end
  910.  
  911. local sick = Instance.new("Sound",Character)
  912. sick.SoundId = "rbxassetid://145616154"
  913. sick.Looped = true
  914. sick.Pitch = 1
  915. sick.Volume = 10
  916. sick:Play()
  917.  
  918. local Spook = false
  919.  
  920. function spooky()
  921. Spook = true
  922. local cframe = nil
  923. local pos = nil
  924. sick:Stop()
  925. local sound = Instance.new("Sound",Effects)
  926. sound.SoundId = "rbxassetid://211540835"
  927. sound.Volume = 10
  928. sound:Play()
  929. q = workspace:GetChildren()
  930. for i = 1, #q do
  931. g = q[i]:GetChildren()
  932. for t = 1, #g do
  933. if g[t].Name == "Torso" or g[t].Name == "UpperTorso" and q[i] ~= Character then
  934. table.insert(Effects2,{g[t],"TorsoSpin",0,0,0,0})
  935. end
  936. end
  937. end
  938. repeat
  939. Swait()
  940. until sound.Playing == false
  941. sound:remove()
  942. sick:Play()
  943. Spook = false
  944. end
  945.  
  946. --//=================================\\
  947. --|| ASSIGN THINGS TO KEYS
  948. --\\=================================//
  949.  
  950. Humanoid.Changed:connect(function(Jump)
  951. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  952. Humanoid.Jump = false
  953. end
  954. end)
  955.  
  956. function MouseDown(Mouse)
  957. if HOLD == false and ATTACK == false then
  958. HOLD = true
  959. HoldRay()
  960. elseif HOLD == true then
  961. HOLD = false
  962. end
  963. end
  964.  
  965. function MouseUp(Mouse)
  966. end
  967.  
  968. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  969. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  970. end
  971.  
  972. function KeyDown(Key)
  973. KEYHOLD = true
  974. if Key == "w" and HOLD == false and ATTACK == false then
  975. repeat
  976. local RayHit, RayPos = RayCast(RootPart.Position, RootPart.CFrame.lookVector*150, 1.8, {workspace})
  977. RootPart.CFrame = CFrame.new(RayPos,Mouse.Hit.p) * CFrame.new(0, 0, 0)
  978. Swait()
  979. until KEYHOLD == false
  980. end
  981. if Key == "s" and HOLD == false and ATTACK == false then
  982. repeat
  983. local RayHit, RayPos = RayCast(RootPart.Position, RootPart.CFrame.lookVector*-150, 1.8, {workspace})
  984. RootPart.CFrame = CFrame.new(RayPos,Mouse.Hit.p) * CFrame.new(0, 0, 0)
  985. Swait()
  986. until KEYHOLD == false
  987. end
  988. if Key == "z" and ATTACK == false then
  989. pew()
  990. end
  991. if Key == "f" and Spook == false then
  992. spooky()
  993. end
  994. end
  995.  
  996. function KeyUp(Key)
  997. KEYHOLD = false
  998. end
  999.  
  1000. Mouse.Button1Down:connect(function(NEWKEY)
  1001. MouseDown(NEWKEY)
  1002. end)
  1003. Mouse.Button1Up:connect(function(NEWKEY)
  1004. MouseUp(NEWKEY)
  1005. end)
  1006. Mouse.KeyDown:connect(function(NEWKEY)
  1007. KeyDown(NEWKEY)
  1008. end)
  1009. Mouse.KeyUp:connect(function(NEWKEY)
  1010. KeyUp(NEWKEY)
  1011. end)
  1012.  
  1013. --//=================================\\
  1014. --\\=================================//
  1015.  
  1016.  
  1017. function unanchor()
  1018. if UNANCHOR == true then
  1019. g = Character:GetChildren()
  1020. for i = 1, #g do
  1021. if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then
  1022. g[i].Anchored = false
  1023. end
  1024. end
  1025. end
  1026. RootPart.Anchored = true
  1027. end
  1028.  
  1029.  
  1030. --//=================================\\
  1031. --|| WRAP THE WHOLE SCRIPT UP
  1032. --\\=================================//
  1033.  
  1034. Humanoid.Changed:connect(function(Jump)
  1035. if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  1036. Humanoid.Jump = false
  1037. end
  1038. end)
  1039.  
  1040. Humanoid.Died:connect(function()
  1041. ATTACK = true
  1042. sick:Stop()
  1043. CreateSound("198973822", workspace, 10, 1)
  1044. for i = 1, 15 do
  1045. local bag = Instance.new("Part",workspace)
  1046. bag.Size = VT(1.8, 1.6, 1.2)
  1047. bag.CFrame = RootPart.CFrame
  1048. local mesh = Instance.new("SpecialMesh",bag)
  1049. mesh.MeshType = "FileMesh"
  1050. mesh.MeshId = "http://www.roblox.com/asset/?id=19106014"
  1051. mesh.TextureId = "rbxassetid://37305301"
  1052. end
  1053. q = Character:GetChildren()
  1054. for i = 1, #q do
  1055. if q[i].ClassName == "Model" or q[i].ClassName == "Part" then
  1056. q[i]:remove()
  1057. end
  1058. end
  1059. end)
  1060.  
  1061. RightArm:remove()
  1062. LeftArm:remove()
  1063. LeftLeg:remove()
  1064. RightLeg:remove()
  1065. Head.Transparency = 1
  1066. Torso.Transparency = 1
  1067. Head:ClearAllChildren()
  1068. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.25*Player_Size,0.25*Player_Size,1.5*Player_Size))
  1069. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Torso, HandlePart, CF(0 * Player_Size, 1 * Player_Size, 1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)), CF(0, 0, 0))
  1070. local mesh = Instance.new("SpecialMesh",HandlePart)
  1071. mesh.MeshId = "rbxassetid://438530093"
  1072. mesh.TextureId = "rbxassetid://438530120"
  1073. mesh.Scale = Vector3.new(0.7,1,1)
  1074.  
  1075. ANIMATE.Parent = nil
  1076. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1077. IDLEANIMATION:Play()
  1078.  
  1079. while true do
  1080. Swait()
  1081. if #Effects2>0 then
  1082. for e=1,#Effects2 do
  1083. if Effects2[e]~=nil then
  1084. local Thing=Effects2[e]
  1085. if Thing~=nil then
  1086. local Part=Thing[1]
  1087. local Mode=Thing[2]
  1088. local Delay=Thing[3]
  1089. local IncX=Thing[4]
  1090. local IncY=Thing[5]
  1091. local IncZ=Thing[6]
  1092. local Part2=Thing[8]
  1093. if Thing[1].Transparency<=1 then
  1094. if Thing[2]=="Block1" then
  1095. Thing[1].CFrame=Part2.CFrame
  1096. Mesh=Thing[1].Mesh
  1097. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1098. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1099. elseif Thing[2]=="Cylinder" then
  1100. Mesh=Thing[1].Mesh
  1101. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1102. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1103. elseif Thing[2]=="Blood" then
  1104. Mesh=Thing[7]
  1105. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1106. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1107. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1108. elseif Thing[2]=="Elec" then
  1109. Mesh=Thing[1].Mesh
  1110. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1111. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1112. elseif Thing[2]=="Disappear" then
  1113. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1114. elseif Thing[2]=="TorsoSpin" and Spook == true then
  1115. Thing[1].CFrame = CFrame.new(Thing[1].Position,Vector3.new(math.random(-180,180),math.random(-180,180),math.random(-180,180)))
  1116. end
  1117. else
  1118. Part.Parent=nil
  1119. table.remove(Effects2,e)
  1120. end
  1121. end
  1122. end
  1123. end
  1124. end
  1125. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0)
  1126. q = Character:GetChildren()
  1127. for u = 1, #q do
  1128. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1129. q[u]:remove()
  1130. end
  1131. end
  1132. unanchor()
  1133. Humanoid.MaxHealth = "inf"
  1134. Humanoid.Health = "inf"
  1135. if Rooted == false then
  1136. Disable_Jump = false
  1137. Humanoid.WalkSpeed = Speed
  1138. elseif Rooted == true then
  1139. Disable_Jump = true
  1140. Humanoid.WalkSpeed = 0
  1141. end
  1142. end
  1143.  
  1144. --//=================================\\
  1145. --\\=================================//
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151. --//====================================================\\--
  1152. --|| END OF SCRIPT
  1153. --\\====================================================//--
Add Comment
Please, Sign In to add comment