Advertisement
PlanetTheo

ROBLOX Illuminati Script FE

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