Advertisement
wamandnj

Untitled

Sep 20th, 2018
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 169.75 KB | None | 0 0
  1. ---//The Ruler Of Space And Time
  2. ---||Roblox Edit
  3. ---\\Edited By Leo
  4. -- This script has been converted to FE by iPxter
  5.  
  6.  
  7. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  8. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  9. do
  10. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  11. script.Parent = Player.Character
  12.  
  13. --RemoteEvent for communicating
  14. local Event = Instance.new("RemoteEvent")
  15. Event.Name = "UserInput_Event"
  16.  
  17. --Fake event to make stuff like Mouse.KeyDown work
  18. local function fakeEvent()
  19. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  20. t.connect = t.Connect
  21. return t
  22. end
  23.  
  24. --Creating fake input objects with fake variables
  25. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  26. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  27. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  28. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  29. end}
  30. --Merged 2 functions into one by checking amount of arguments
  31. CAS.UnbindAction = CAS.BindAction
  32.  
  33. --This function will trigger the events that have been :Connect()'ed
  34. local function te(self,ev,...)
  35. local t = m[ev]
  36. if t and t._fakeEvent and t.Function then
  37. t.Function(...)
  38. end
  39. end
  40. m.TrigEvent = te
  41. UIS.TrigEvent = te
  42.  
  43. Event.OnServerEvent:Connect(function(plr,io)
  44. if plr~=Player then return end
  45. if io.isMouse then
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. else
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67.  
  68. local UIS = game:GetService("UserInputService")
  69. local input = function(io,a)
  70. if a then return end
  71. --Since InputObject is a client-side instance, we create and pass table instead
  72. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  73. end
  74. UIS.InputBegan:Connect(input)
  75. UIS.InputEnded:Connect(input)
  76.  
  77. local Mouse = Player:GetMouse()
  78. local h,t
  79. --Give the server mouse data 30 times every second, but only if the values changed
  80. --If player is not moving their mouse, client won't fire events
  81. while wait(1/30) do
  82. if h~=Mouse.Hit or t~=Mouse.Target then
  83. h,t=Mouse.Hit,Mouse.Target
  84. Event:FireServer({isMouse=true,Target=t,Hit=h})
  85. end
  86. end]==],Player.Character)
  87. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  88. end
  89.  
  90. local Player = owner
  91. local Character = Player.Character
  92. local Humanoid = Character.Humanoid
  93. local LeftArm = Character["Left Arm"]
  94. local RightArm = Character["Right Arm"]
  95. local LeftLeg = Character["Left Leg"]
  96. local RightLeg = Character["Right Leg"]
  97. local Head = Character.Head
  98. local Torso = Character.Torso
  99. local Camera = game.Workspace.CurrentCamera
  100. local RootPart = Character.HumanoidRootPart
  101. local RootJoint = RootPart.RootJoint
  102. local attack = false
  103. local Anim = 'Idle'
  104. local Lighty = game:GetService"Lighting"
  105. local attacktype = 1
  106. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  107. local velocity = RootPart.Velocity.y
  108. local sine = 0
  109. local change = 1
  110. local bored = {492070484,1232162751,1534958855,303535614,1117396305,0}
  111. local Create = LoadLibrary("RbxUtility").Create
  112. function swait(num)
  113. if num == 0 or num == nil then
  114. ArtificialHB.Event:wait()
  115. else
  116. for i = 0, num do
  117. ArtificialHB.Event:wait()
  118. end
  119. end
  120. end
  121.  
  122. wait(0.2)
  123.  
  124. Player = owner
  125. PlayerGui = Player.PlayerGui
  126. Cam = workspace.CurrentCamera
  127. Backpack = Player.Backpack
  128. Character = Player.Character
  129. Humanoid = Character.Humanoid
  130. RootPart = Character["HumanoidRootPart"]
  131. Torso = Character["Torso"]
  132. Head = Character["Head"]
  133. RightArm = Character["Right Arm"]
  134. LeftArm = Character["Left Arm"]
  135. RightLeg = Character["Right Leg"]
  136. LeftLeg = Character["Left Leg"]
  137. RootJoint = RootPart["RootJoint"]
  138. Neck = Torso["Neck"]
  139. RightShoulder = Torso["Right Shoulder"]
  140. LeftShoulder = Torso["Left Shoulder"]
  141. RightHip = Torso["Right Hip"]
  142. LeftHip = Torso["Left Hip"]
  143. Character.Archivable = true
  144. Player:ClearCharacterAppearance()
  145.  
  146. IT = Instance.new
  147. CF = CFrame.new
  148. VT = Vector3.new
  149. RAD = math.rad
  150. C3 = Color3.new
  151. UD2 = UDim2.new
  152. BRICKC = BrickColor.new
  153. ANGLES = CFrame.Angles
  154. EULER = CFrame.fromEulerAnglesXYZ
  155. COS = math.cos
  156. ACOS = math.acos
  157. SIN = math.sin
  158. ASIN = math.asin
  159. ABS = math.abs
  160. MRANDOM = math.random
  161. FLOOR = math.floor
  162. local CHOICE = MRANDOM(1,5)
  163. --//=================================\\
  164. --|| USEFUL VALUES
  165. --\\=================================//
  166.  
  167. Animation_Speed = 3
  168. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  169. local Speed = 20
  170. local SIZE = 1
  171. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  172. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  173. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  174. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  175. local DAMAGEMULTIPLIER = "inf"
  176. local ANIM = "Idle"
  177. local ATTACK = false
  178. local EQUIPPED = false
  179. local HOLD = false
  180. local COMBO = 1
  181. local Rooted = false
  182. local SINE = 0
  183. local KEYHOLD = false
  184. local CHANGE = 2 / Animation_Speed
  185. local WALKINGANIM = false
  186. local VALUE1 = false
  187. local VALUE2 = false
  188. local ROBLOXIDLEANIMATION = IT("Animation")
  189. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  190. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  191. local ATANIM = IT("Animation")
  192. ATANIM.Name = "Attack Animation"
  193. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  194. --ROBLOXIDLEANIMATION.Parent = Humanoid
  195. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  196. WEAPONGUI.Name = "Weapon GUI"
  197. local Weapon = IT("Model")
  198. Weapon.Name = "Adds"
  199. local Effects = IT("Folder", Weapon)
  200. Effects.Name = "Effects"
  201. local ANIMATOR = Humanoid.Animator
  202. local ANIMATE = Character.Animate
  203. local UNANCHOR = true
  204. local CLOCKLOOP = 0
  205. local SONG = 492070484
  206. local CLOCKTARGET = nil
  207. local CLOCKSPEED = 4
  208. script.Parent = WEAPONGUI
  209. local CLONE = Character:Clone()
  210. CLONE.Parent = nil
  211. Character.Archivable = false
  212. local sick = Instance.new("Sound",Torso)
  213. sick.Volume = 50999
  214. local LAUGHS = {834001699,834001752,834001797,834001828}
  215. local SONGS = {534861083,530959353,1534958855,0}
  216. local CHOICE = MRANDOM(1,4)
  217. local TOBANISH = {}
  218. local EXTRATRANS = 0
  219. local Effects2 = {}
  220. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  221. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  222. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  223. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  224.  
  225. --//=================================\\
  226. --\\=================================//
  227.  
  228.  
  229. --//=================================\\
  230. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  231. --\\=================================//
  232.  
  233. ArtificialHB = Instance.new("BindableEvent", script)
  234. ArtificialHB.Name = "ArtificialHB"
  235.  
  236. script:WaitForChild("ArtificialHB")
  237.  
  238. frame = Frame_Speed
  239. tf = 0
  240. allowframeloss = false
  241. tossremainder = false
  242. lastframe = tick()
  243. script.ArtificialHB:Fire()
  244.  
  245. game:GetService("RunService").Heartbeat:connect(function(s, p)
  246. tf = tf + s
  247. if tf >= frame then
  248. if allowframeloss then
  249. script.ArtificialHB:Fire()
  250. lastframe = tick()
  251. else
  252. for i = 1, math.floor(tf / frame) do
  253. script.ArtificialHB:Fire()
  254. end
  255. lastframe = tick()
  256. end
  257. if tossremainder then
  258. tf = 0
  259. else
  260. tf = tf - frame * math.floor(tf / frame)
  261. end
  262. end
  263. end)
  264.  
  265. --//=================================\\
  266. --\\=================================//
  267.  
  268. --//=================================\\
  269. --|| SOME FUNCTIONS
  270. --\\=================================//
  271.  
  272. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  273. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  274. end
  275.  
  276. function PositiveAngle(NUMBER)
  277. if NUMBER >= 0 then
  278. NUMBER = 0
  279. end
  280. return NUMBER
  281. end
  282.  
  283. function NegativeAngle(NUMBER)
  284. if NUMBER <= 0 then
  285. NUMBER = 0
  286. end
  287. return NUMBER
  288. end
  289.  
  290. function Swait(NUMBER)
  291. if NUMBER == 0 or NUMBER == nil then
  292. ArtificialHB.Event:wait()
  293. else
  294. for i = 1, NUMBER do
  295. ArtificialHB.Event:wait()
  296. end
  297. end
  298. end
  299.  
  300. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  301. local NEWMESH = IT(MESH)
  302. if MESH == "SpecialMesh" then
  303. NEWMESH.MeshType = MESHTYPE
  304. if MESHID ~= "nil" and MESHID ~= "" then
  305. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  306. end
  307. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  308. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  309. end
  310. end
  311. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  312. NEWMESH.Scale = SCALE
  313. NEWMESH.Parent = PARENT
  314. return NEWMESH
  315. end
  316.  
  317. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  318. local NEWPART = IT("Part")
  319. NEWPART.formFactor = FORMFACTOR
  320. NEWPART.Reflectance = REFLECTANCE
  321. NEWPART.Transparency = TRANSPARENCY
  322. NEWPART.CanCollide = false
  323. NEWPART.Locked = true
  324. NEWPART.Anchored = true
  325. if ANCHOR == false then
  326. NEWPART.Anchored = false
  327. end
  328. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  329. NEWPART.Name = NAME
  330. NEWPART.Size = SIZE
  331. NEWPART.Position = Torso.Position
  332. NEWPART.Material = MATERIAL
  333. NEWPART:BreakJoints()
  334. NEWPART.Parent = PARENT
  335. return NEWPART
  336. end
  337.  
  338. local function weldBetween(a, b)
  339. local weldd = Instance.new("ManualWeld")
  340. weldd.Part0 = a
  341. weldd.Part1 = b
  342. weldd.C0 = CFrame.new()
  343. weldd.C1 = b.CFrame:inverse() * a.CFrame
  344. weldd.Parent = a
  345. return weldd
  346. end
  347.  
  348.  
  349. function QuaternionFromCFrame(cf)
  350. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  351. local trace = m00 + m11 + m22
  352. if trace > 0 then
  353. local s = math.sqrt(1 + trace)
  354. local recip = 0.5 / s
  355. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  356. else
  357. local i = 0
  358. if m11 > m00 then
  359. i = 1
  360. end
  361. if m22 > (i == 0 and m00 or m11) then
  362. i = 2
  363. end
  364. if i == 0 then
  365. local s = math.sqrt(m00 - m11 - m22 + 1)
  366. local recip = 0.5 / s
  367. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  368. elseif i == 1 then
  369. local s = math.sqrt(m11 - m22 - m00 + 1)
  370. local recip = 0.5 / s
  371. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  372. elseif i == 2 then
  373. local s = math.sqrt(m22 - m00 - m11 + 1)
  374. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  375. end
  376. end
  377. end
  378.  
  379. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  380. local xs, ys, zs = x + x, y + y, z + z
  381. local wx, wy, wz = w * xs, w * ys, w * zs
  382. local xx = x * xs
  383. local xy = x * ys
  384. local xz = x * zs
  385. local yy = y * ys
  386. local yz = y * zs
  387. local zz = z * zs
  388. 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))
  389. end
  390.  
  391. function QuaternionSlerp(a, b, t)
  392. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  393. local startInterp, finishInterp;
  394. if cosTheta >= 0.0001 then
  395. if (1 - cosTheta) > 0.0001 then
  396. local theta = ACOS(cosTheta)
  397. local invSinTheta = 1 / SIN(theta)
  398. startInterp = SIN((1 - t) * theta) * invSinTheta
  399. finishInterp = SIN(t * theta) * invSinTheta
  400. else
  401. startInterp = 1 - t
  402. finishInterp = t
  403. end
  404. else
  405. if (1 + cosTheta) > 0.0001 then
  406. local theta = ACOS(-cosTheta)
  407. local invSinTheta = 1 / SIN(theta)
  408. startInterp = SIN((t - 1) * theta) * invSinTheta
  409. finishInterp = SIN(t * theta) * invSinTheta
  410. else
  411. startInterp = t - 1
  412. finishInterp = t
  413. end
  414. end
  415. 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
  416. end
  417.  
  418. function Clerp(a, b, t)
  419. local qa = {QuaternionFromCFrame(a)}
  420. local qb = {QuaternionFromCFrame(b)}
  421. local ax, ay, az = a.x, a.y, a.z
  422. local bx, by, bz = b.x, b.y, b.z
  423. local _t = 1 - t
  424. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  425. end
  426.  
  427. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  428. local frame = IT("Frame")
  429. frame.BackgroundTransparency = TRANSPARENCY
  430. frame.BorderSizePixel = BORDERSIZEPIXEL
  431. frame.Position = POSITION
  432. frame.Size = SIZE
  433. frame.BackgroundColor3 = COLOR
  434. frame.BorderColor3 = BORDERCOLOR
  435. frame.Name = NAME
  436. frame.Parent = PARENT
  437. return frame
  438. end
  439.  
  440. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  441. local label = IT("TextLabel")
  442. label.BackgroundTransparency = 1
  443. label.Size = UD2(1, 0, 1, 0)
  444. label.Position = UD2(0, 0, 0, 0)
  445. label.TextColor3 = TEXTCOLOR
  446. label.TextStrokeTransparency = STROKETRANSPARENCY
  447. label.TextTransparency = TRANSPARENCY
  448. label.FontSize = TEXTFONTSIZE
  449. label.Font = TEXTFONT
  450. label.BorderSizePixel = BORDERSIZEPIXEL
  451. label.TextScaled = false
  452. label.Text = TEXT
  453. label.Name = NAME
  454. label.Parent = PARENT
  455. return label
  456. end
  457.  
  458. function NoOutlines(PART)
  459. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  460. end
  461.  
  462. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  463. local NEWWELD = IT(TYPE)
  464. NEWWELD.Part0 = PART0
  465. NEWWELD.Part1 = PART1
  466. NEWWELD.C0 = C0
  467. NEWWELD.C1 = C1
  468. NEWWELD.Parent = PARENT
  469. return NEWWELD
  470. end
  471.  
  472. local S = IT("Sound")
  473. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  474. local NEWSOUND = nil
  475. coroutine.resume(coroutine.create(function()
  476. NEWSOUND = S:Clone()
  477. NEWSOUND.Parent = PARENT
  478. NEWSOUND.Volume = VOLUME
  479. NEWSOUND.Pitch = PITCH
  480. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  481. NEWSOUND:play()
  482. if DOESLOOP == true then
  483. NEWSOUND.Looped = true
  484. else
  485. local REPOSITION = NEWSOUND.AncestryChanged:Connect(function()
  486. NEWSOUND.Parent = PARENT
  487. end)
  488. repeat wait(1) until NEWSOUND.Playing == false
  489. REPOSITION:disconnect()
  490. NEWSOUND:remove()
  491. end
  492. end))
  493. return NEWSOUND
  494. end
  495.  
  496. function CFrameFromTopBack(at, top, back)
  497. local right = top:Cross(back)
  498. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  499. end
  500.  
  501. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  502. function WACKYEFFECT(Table)
  503. local TYPE = (Table.EffectType or "Sphere")
  504. local SIZE = (Table.Size or VT(1,1,1))
  505. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  506. local TRANSPARENCY = (Table.Transparency or 0)
  507. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  508. local CFRAME = (Table.CFrame or Torso.CFrame)
  509. local MOVEDIRECTION = (Table.MoveToPos or nil)
  510. local ROTATION1 = (Table.RotationX or 0)
  511. local ROTATION2 = (Table.RotationY or 0)
  512. local ROTATION3 = (Table.RotationZ or 0)
  513. local MATERIAL = (Table.Material or "Neon")
  514. local COLOR = (Table.Color or C3(1,1,1))
  515. local TIME = (Table.Time or 45)
  516. local SOUNDID = (Table.SoundID or nil)
  517. local SOUNDPITCH = (Table.SoundPitch or nil)
  518. local SOUNDVOLUME = (Table.SoundVolume or nil)
  519. coroutine.resume(coroutine.create(function()
  520. local PLAYSSOUND = false
  521. local SOUND = nil
  522. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  523. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  524. PLAYSSOUND = true
  525. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  526. end
  527. EFFECT.Color = COLOR
  528. local MSH = nil
  529. if TYPE == "Sphere" then
  530. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  531. elseif TYPE == "Block" then
  532. MSH = IT("BlockMesh",EFFECT)
  533. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  534. elseif TYPE == "Wave" then
  535. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  536. elseif TYPE == "Ring" then
  537. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  538. elseif TYPE == "Slash" then
  539. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  540. elseif TYPE == "Round Slash" then
  541. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  542. elseif TYPE == "Swirl" then
  543. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  544. elseif TYPE == "Skull" then
  545. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  546. elseif TYPE == "Crystal" then
  547. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  548. end
  549. if MSH ~= nil then
  550. local MOVESPEED = nil
  551. if MOVEDIRECTION ~= nil then
  552. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  553. end
  554. local GROWTH = SIZE - ENDSIZE
  555. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  556. if TYPE == "Block" then
  557. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  558. else
  559. EFFECT.CFrame = CFRAME
  560. end
  561. for LOOP = 1, TIME+1 do
  562. Swait()
  563. MSH.Scale = MSH.Scale - GROWTH/TIME
  564. if TYPE == "Wave" then
  565. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  566. end
  567. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  568. if TYPE == "Block" then
  569. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  570. else
  571. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  572. end
  573. if MOVEDIRECTION ~= nil then
  574. local ORI = EFFECT.Orientation
  575. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  576. EFFECT.Orientation = ORI
  577. end
  578. end
  579. EFFECT.Transparency = 1
  580. if PLAYSSOUND == false then
  581. EFFECT:remove()
  582. else
  583. repeat Swait() until SOUND.Playing == false
  584. EFFECT:remove()
  585. end
  586. else
  587. if PLAYSSOUND == false then
  588. EFFECT:remove()
  589. else
  590. repeat Swait() until SOUND.Playing == false
  591. EFFECT:remove()
  592. end
  593. end
  594. end))
  595. end
  596.  
  597. function Shatter(Part)
  598. if Part.Transparency < 1 then
  599. local SOUNDPART = CreatePart(3, Effects, "Glass", 0, Part.Transparency + 0.1, Part.BrickColor, "OOF", VT(0,0,0))
  600. Debris:AddItem(SOUNDPART,5)
  601. CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  602. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  603. local SIZESET = SIZE/4
  604. local XOffset = Part.Size.X*1.5/SIZESET
  605. local YOffset = Part.Size.Y*1.5/SIZESET
  606. local ZOffset = Part.Size.Z*1.5/SIZESET
  607. for x = 1, math.ceil(XOffset) do
  608. for y = 1, math.ceil(YOffset) do
  609. for z = 1, math.ceil(ZOffset) do
  610. local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  611. SHARD.CanCollide = true
  612. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-Part.Size.X/4),(Part.Size.Y/2-Part.Size.Y/4),(Part.Size.Z/2-Part.Size.Z/4))
  613. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  614. Debris:AddItem(SHARD,MRANDOM(10,25)/10)
  615. for _, c in pairs(Part:GetChildren()) do
  616. if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then
  617. c:Clone().Parent = SHARD
  618. end
  619. end
  620. end
  621. end
  622. end
  623. end
  624. Part:remove()
  625. end
  626.  
  627. --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
  628. function Lightning(Table)
  629. local Color = Table.Color or C3(1,1,1)
  630. local StartPos = Table.Start or Torso.Position
  631. local EndPos = Table.End or Mouse.Hit.p
  632. local SegmentLength = Table.SegmentL or 2
  633. local Thickness = Table.Thickness or 0.1
  634. local Dissapear = Table.DoesFade or false
  635. local Parent = Table.Ignore or Character
  636. local MaxDist = Table.MaxDist or 400
  637. local Branches = Table.Branches or false
  638. local Thicken = Table.Thicken or false
  639. local FadeTime = Table.FadeTime or 15
  640. local FadeIn = Table.FadeIn or false
  641. local Material = Table.Material or "Neon"
  642. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  643. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  644. local LIGHTNINGMODEL = IT("Model",Effects)
  645. LIGHTNINGMODEL.Name = "Lightning"
  646. local LastBolt = nil
  647. for E = 1, DISTANCE do
  648. local ExtraSize = 0
  649. if Thicken == true then
  650. ExtraSize = (DISTANCE-E)/15
  651. end
  652. local TRANSPARENCY = 0
  653. if FadeIn == true then
  654. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  655. if TRANSPARENCY < 0 then
  656. TRANSPARENCY = 0
  657. end
  658. end
  659. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  660. PART.Color = Color
  661. MakeForm(PART,"Cyl")
  662. if LastBolt == nil then
  663. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  664. else
  665. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  666. end
  667. LastBolt = PART
  668. if Branches == true and E < (DISTANCE-5) then
  669. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  670. if CHOICE == 1 then
  671. local LASTBRANCH = nil
  672. for i = 1, MRANDOM(2,5) do
  673. local ExtraSize2 = 0
  674. if Thicken == true then
  675. ExtraSize = ((DISTANCE-E)/25)/i
  676. end
  677. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  678. PART.Color = Color
  679. MakeForm(PART,"Cyl")
  680. if LASTBRANCH == nil then
  681. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  682. else
  683. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  684. end
  685. LASTBRANCH = PART
  686. end
  687. end
  688. end
  689. end
  690. if Dissapear == true then
  691. coroutine.resume(coroutine.create(function()
  692. for i = 1, FadeTime do
  693. Swait()
  694. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  695. if c.ClassName == "Part" then
  696. c.Transparency = c.Transparency + (i/FadeTime)/10
  697. end
  698. end
  699. end
  700. LIGHTNINGMODEL:remove()
  701. end))
  702. elseif Dissapear == false then
  703. Debris:AddItem(LIGHTNINGMODEL,0.1)
  704. end
  705. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  706. end
  707.  
  708. function MakeForm(PART,TYPE)
  709. if TYPE == "Cyl" then
  710. local MSH = IT("CylinderMesh",PART)
  711. elseif TYPE == "Ball" then
  712. local MSH = IT("SpecialMesh",PART)
  713. MSH.MeshType = "Sphere"
  714. elseif TYPE == "Wedge" then
  715. local MSH = IT("SpecialMesh",PART)
  716. MSH.MeshType = "Wedge"
  717. end
  718. end
  719.  
  720. Debris = game:GetService("Debris")
  721.  
  722. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  723. local DIRECTION = CF(StartPos,EndPos).lookVector
  724. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  725. end
  726.  
  727. function turnto(position)
  728. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  729. end
  730.  
  731. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  732. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  733. end
  734.  
  735. function PositiveAngle(NUMBER)
  736. if NUMBER >= 0 then
  737. NUMBER = 0
  738. end
  739. return NUMBER
  740. end
  741.  
  742. function NegativeAngle(NUMBER)
  743. if NUMBER <= 0 then
  744. NUMBER = 0
  745. end
  746. return NUMBER
  747. end
  748.  
  749. function Swait(NUMBER)
  750. if NUMBER == 0 or NUMBER == nil then
  751. ArtificialHB.Event:wait()
  752. else
  753. for i = 1, NUMBER do
  754. ArtificialHB.Event:wait()
  755. end
  756. end
  757. end
  758.  
  759. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  760. local NEWMESH = IT(MESH)
  761. if MESH == "SpecialMesh" then
  762. NEWMESH.MeshType = MESHTYPE
  763. if MESHID ~= "nil" and MESHID ~= "" then
  764. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  765. end
  766. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  767. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  768. end
  769. end
  770. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  771. NEWMESH.Scale = SCALE
  772. NEWMESH.Parent = PARENT
  773. return NEWMESH
  774. end
  775.  
  776. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  777. local NEWPART = IT("Part")
  778. NEWPART.formFactor = FORMFACTOR
  779. NEWPART.Reflectance = REFLECTANCE
  780. NEWPART.Transparency = TRANSPARENCY
  781. NEWPART.CanCollide = false
  782. NEWPART.Locked = true
  783. NEWPART.Anchored = true
  784. if ANCHOR == false then
  785. NEWPART.Anchored = false
  786. end
  787. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  788. NEWPART.Name = NAME
  789. NEWPART.Size = SIZE
  790. NEWPART.Position = Torso.Position
  791. NEWPART.Material = MATERIAL
  792. NEWPART:BreakJoints()
  793. NEWPART.Parent = PARENT
  794. return NEWPART
  795. end
  796.  
  797. local function weldBetween(a, b)
  798. local weldd = Instance.new("ManualWeld")
  799. weldd.Part0 = a
  800. weldd.Part1 = b
  801. weldd.C0 = CFrame.new()
  802. weldd.C1 = b.CFrame:inverse() * a.CFrame
  803. weldd.Parent = a
  804. return weldd
  805. end
  806.  
  807.  
  808. function QuaternionFromCFrame(cf)
  809. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  810. local trace = m00 + m11 + m22
  811. if trace > 0 then
  812. local s = math.sqrt(1 + trace)
  813. local recip = 0.5 / s
  814. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  815. else
  816. local i = 0
  817. if m11 > m00 then
  818. i = 1
  819. end
  820. if m22 > (i == 0 and m00 or m11) then
  821. i = 2
  822. end
  823. if i == 0 then
  824. local s = math.sqrt(m00 - m11 - m22 + 1)
  825. local recip = 0.5 / s
  826. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  827. elseif i == 1 then
  828. local s = math.sqrt(m11 - m22 - m00 + 1)
  829. local recip = 0.5 / s
  830. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  831. elseif i == 2 then
  832. local s = math.sqrt(m22 - m00 - m11 + 1)
  833. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  834. end
  835. end
  836. end
  837.  
  838. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  839. local xs, ys, zs = x + x, y + y, z + z
  840. local wx, wy, wz = w * xs, w * ys, w * zs
  841. local xx = x * xs
  842. local xy = x * ys
  843. local xz = x * zs
  844. local yy = y * ys
  845. local yz = y * zs
  846. local zz = z * zs
  847. 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))
  848. end
  849.  
  850. function QuaternionSlerp(a, b, t)
  851. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  852. local startInterp, finishInterp;
  853. if cosTheta >= 0.0001 then
  854. if (1 - cosTheta) > 0.0001 then
  855. local theta = ACOS(cosTheta)
  856. local invSinTheta = 1 / SIN(theta)
  857. startInterp = SIN((1 - t) * theta) * invSinTheta
  858. finishInterp = SIN(t * theta) * invSinTheta
  859. else
  860. startInterp = 1 - t
  861. finishInterp = t
  862. end
  863. else
  864. if (1 + cosTheta) > 0.0001 then
  865. local theta = ACOS(-cosTheta)
  866. local invSinTheta = 1 / SIN(theta)
  867. startInterp = SIN((t - 1) * theta) * invSinTheta
  868. finishInterp = SIN(t * theta) * invSinTheta
  869. else
  870. startInterp = t - 1
  871. finishInterp = t
  872. end
  873. end
  874. 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
  875. end
  876.  
  877. function Clerp(a, b, t)
  878. local qa = {QuaternionFromCFrame(a)}
  879. local qb = {QuaternionFromCFrame(b)}
  880. local ax, ay, az = a.x, a.y, a.z
  881. local bx, by, bz = b.x, b.y, b.z
  882. local _t = 1 - t
  883. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  884. end
  885.  
  886. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  887. local frame = IT("Frame")
  888. frame.BackgroundTransparency = TRANSPARENCY
  889. frame.BorderSizePixel = BORDERSIZEPIXEL
  890. frame.Position = POSITION
  891. frame.Size = SIZE
  892. frame.BackgroundColor3 = COLOR
  893. frame.BorderColor3 = BORDERCOLOR
  894. frame.Name = NAME
  895. frame.Parent = PARENT
  896. return frame
  897. end
  898.  
  899. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  900. local label = IT("TextLabel")
  901. label.BackgroundTransparency = 1
  902. label.Size = UD2(1, 0, 1, 0)
  903. label.Position = UD2(0, 0, 0, 0)
  904. label.TextColor3 = TEXTCOLOR
  905. label.TextStrokeTransparency = STROKETRANSPARENCY
  906. label.TextTransparency = TRANSPARENCY
  907. label.FontSize = TEXTFONTSIZE
  908. label.Font = TEXTFONT
  909. label.BorderSizePixel = BORDERSIZEPIXEL
  910. label.TextScaled = false
  911. label.Text = TEXT
  912. label.Name = NAME
  913. label.Parent = PARENT
  914. return label
  915. end
  916.  
  917. function NoOutlines(PART)
  918. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  919. end
  920.  
  921. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  922. local NEWWELD = IT(TYPE)
  923. NEWWELD.Part0 = PART0
  924. NEWWELD.Part1 = PART1
  925. NEWWELD.C0 = C0
  926. NEWWELD.C1 = C1
  927. NEWWELD.Parent = PARENT
  928. return NEWWELD
  929. end
  930.  
  931. local S = IT("Sound")
  932. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  933. local NEWSOUND = nil
  934. coroutine.resume(coroutine.create(function()
  935. NEWSOUND = S:Clone()
  936. NEWSOUND.Parent = PARENT
  937. NEWSOUND.Volume = VOLUME
  938. NEWSOUND.Pitch = PITCH
  939. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  940. NEWSOUND:play()
  941. if DOESLOOP == true then
  942. NEWSOUND.Looped = true
  943. else
  944. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  945. NEWSOUND:remove()
  946. end
  947. end))
  948. return NEWSOUND
  949. end
  950.  
  951. function CFrameFromTopBack(at, top, back)
  952. local right = top:Cross(back)
  953. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  954. end
  955.  
  956. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  957. function WACKYEFFECT(Table)
  958. local TYPE = (Table.EffectType or "Sphere")
  959. local SIZE = (Table.Size or VT(1,1,1))
  960. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  961. local TRANSPARENCY = (Table.Transparency or 0)
  962. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  963. local CFRAME = (Table.CFrame or Torso.CFrame)
  964. local MOVEDIRECTION = (Table.MoveToPos or nil)
  965. local ROTATION1 = (Table.RotationX or 0)
  966. local ROTATION2 = (Table.RotationY or 0)
  967. local ROTATION3 = (Table.RotationZ or 0)
  968. local MATERIAL = (Table.Material or "Neon")
  969. local COLOR = (Table.Color or C3(0,0,0))
  970. local TIME = (Table.Time or 45)
  971. local SOUNDID = (Table.SoundID or nil)
  972. local SOUNDPITCH = (Table.SoundPitch or nil)
  973. local SOUNDVOLUME = (Table.SoundVolume or nil)
  974. coroutine.resume(coroutine.create(function()
  975. local PLAYSSOUND = false
  976. local SOUND = nil
  977. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  978. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  979. PLAYSSOUND = true
  980. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  981. end
  982. EFFECT.Color = COLOR
  983. local MSH = nil
  984. if TYPE == "Sphere" then
  985. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  986. elseif TYPE == "Block" then
  987. MSH = IT("BlockMesh",EFFECT)
  988. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  989. elseif TYPE == "Wave" then
  990. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  991. elseif TYPE == "Ring" then
  992. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  993. elseif TYPE == "Slash" then
  994. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  995. elseif TYPE == "Round Slash" then
  996. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  997. elseif TYPE == "Swirl" then
  998. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  999. elseif TYPE == "Skull" then
  1000. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1001. elseif TYPE == "Crystal" then
  1002. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1003. end
  1004. if MSH ~= nil then
  1005. local MOVESPEED = nil
  1006. if MOVEDIRECTION ~= nil then
  1007. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1008. end
  1009. local GROWTH = SIZE - ENDSIZE
  1010. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1011. if TYPE == "Block" then
  1012. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1013. else
  1014. EFFECT.CFrame = CFRAME
  1015. end
  1016. for LOOP = 1, TIME+1 do
  1017. Swait()
  1018. MSH.Scale = MSH.Scale - GROWTH/TIME
  1019. if TYPE == "Wave" then
  1020. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1021. end
  1022. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1023. if TYPE == "Block" then
  1024. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1025. else
  1026. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1027. end
  1028. if MOVEDIRECTION ~= nil then
  1029. local ORI = EFFECT.Orientation
  1030. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1031. EFFECT.Orientation = ORI
  1032. end
  1033. end
  1034. if PLAYSSOUND == false then
  1035. EFFECT:remove()
  1036. else
  1037. SOUND.Stopped:Connect(function()
  1038. EFFECT:remove()
  1039. end)
  1040. end
  1041. else
  1042. if PLAYSSOUND == false then
  1043. EFFECT:remove()
  1044. else
  1045. repeat Swait() until SOUND.Playing == false
  1046. EFFECT:remove()
  1047. end
  1048. end
  1049. end))
  1050. end
  1051. --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
  1052. function Lightning(Table)
  1053. local Color = Table.Color or C3(1,1,1)
  1054. local StartPos = Table.Start or Torso.Position
  1055. local EndPos = Table.End or Mouse.Hit.p
  1056. local SegmentLength = Table.SegmentL or 2
  1057. local Thickness = Table.Thickness or 0.1
  1058. local Dissapear = Table.DoesFade or false
  1059. local Parent = Table.Ignore or Character
  1060. local MaxDist = Table.MaxDist or 400
  1061. local Branches = Table.Branches or false
  1062. local Thicken = Table.Thicken or false
  1063. local FadeTime = Table.FadeTime or 15
  1064. local FadeIn = Table.FadeIn or false
  1065. local Material = Table.Material or "Neon"
  1066. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  1067. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  1068. local LIGHTNINGMODEL = IT("Model",Effects)
  1069. LIGHTNINGMODEL.Name = "Lightning"
  1070. local LastBolt = nil
  1071. for E = 1, DISTANCE do
  1072. local ExtraSize = 0
  1073. if Thicken == true then
  1074. ExtraSize = (DISTANCE-E)/15
  1075. end
  1076. local TRANSPARENCY = 0
  1077. if FadeIn == true then
  1078. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  1079. if TRANSPARENCY < 0 then
  1080. TRANSPARENCY = 0
  1081. end
  1082. end
  1083. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  1084. PART.Color = Color
  1085. MakeForm(PART,"Cyl")
  1086. if LastBolt == nil then
  1087. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1088. else
  1089. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1090. end
  1091. LastBolt = PART
  1092. if Branches == true and E < (DISTANCE-5) then
  1093. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  1094. if CHOICE == 1 then
  1095. local LASTBRANCH = nil
  1096. for i = 1, MRANDOM(2,5) do
  1097. local ExtraSize2 = 0
  1098. if Thicken == true then
  1099. ExtraSize = ((DISTANCE-E)/25)/i
  1100. end
  1101. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  1102. PART.Color = Color
  1103. MakeForm(PART,"Cyl")
  1104. if LASTBRANCH == nil then
  1105. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1106. else
  1107. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1108. end
  1109. LASTBRANCH = PART
  1110. end
  1111. end
  1112. end
  1113. end
  1114. if Dissapear == true then
  1115. coroutine.resume(coroutine.create(function()
  1116. for i = 1, FadeTime do
  1117. Swait()
  1118. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  1119. if c.ClassName == "Part" then
  1120. c.Transparency = c.Transparency + (i/FadeTime)/10
  1121. end
  1122. end
  1123. end
  1124. LIGHTNINGMODEL:remove()
  1125. end))
  1126. elseif Dissapear == false then
  1127. Debris:AddItem(LIGHTNINGMODEL,0.1)
  1128. end
  1129. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  1130. end
  1131. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1132. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1133. wave.Color = COLOR
  1134. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1135. wave.CFrame = CFRAME
  1136. coroutine.resume(coroutine.create(function(PART)
  1137. for i = 1, WAIT do
  1138. Swait()
  1139. mesh.Scale = mesh.Scale + GROW
  1140. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1141. if DOESROT == true then
  1142. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1143. end
  1144. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1145. if wave.Transparency > 0.99 then
  1146. wave:remove()
  1147. end
  1148. end
  1149. end))
  1150. end
  1151.  
  1152. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1153. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1154. wave.Color = COLOR
  1155. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  1156. wave.CFrame = CFRAME
  1157. coroutine.resume(coroutine.create(function(PART)
  1158. for i = 1, WAIT do
  1159. Swait()
  1160. mesh.Scale = mesh.Scale + GROW
  1161. wave.Transparency = wave.Transparency + (1/WAIT)
  1162. if wave.Transparency > 0.99 then
  1163. wave:remove()
  1164. end
  1165. end
  1166. end))
  1167. end
  1168. function MakeForm(PART,TYPE)
  1169. if TYPE == "Cyl" then
  1170. local MSH = IT("BlockMesh",PART)
  1171. elseif TYPE == "Ball" then
  1172. local MSH = IT("SpecialMesh",PART)
  1173. MSH.MeshType = "Sphere"
  1174. elseif TYPE == "Cyl2" then
  1175. local MSH = IT("CylinderMesh",PART)
  1176. elseif TYPE == "Wedge" then
  1177. local MSH = IT("SpecialMesh",PART)
  1178. MSH.MeshType = "Wedge"
  1179. end
  1180. end
  1181.  
  1182. function SpawnTrail(FROM,TO,BIG)
  1183. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Light gray", "Trail", VT(0,0,0))
  1184. MakeForm(TRAIL,"Cyl")
  1185. local DIST = (FROM - TO).Magnitude
  1186. if BIG == true then
  1187. TRAIL.Size = VT(0.5,DIST,0.5)
  1188. else
  1189. TRAIL.Size = VT(0.25,DIST,0.25)
  1190. end
  1191. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1192. coroutine.resume(coroutine.create(function()
  1193. for i = 1, 5 do
  1194. Swait()
  1195. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1196. end
  1197. TRAIL:remove()
  1198. end))
  1199. end
  1200.  
  1201. Debris = game:GetService("Debris")
  1202.  
  1203. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1204. local DIRECTION = CF(StartPos,EndPos).lookVector
  1205. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1206. end
  1207.  
  1208. function turnto(position)
  1209. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1210. end
  1211.  
  1212. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1213. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1214. end
  1215.  
  1216. function PositiveAngle(NUMBER)
  1217. if NUMBER >= 0 then
  1218. NUMBER = 0
  1219. end
  1220. return NUMBER
  1221. end
  1222.  
  1223. function NegativeAngle(NUMBER)
  1224. if NUMBER <= 0 then
  1225. NUMBER = 0
  1226. end
  1227. return NUMBER
  1228. end
  1229.  
  1230. function Swait(NUMBER)
  1231. if NUMBER == 0 or NUMBER == nil then
  1232. ArtificialHB.Event:wait()
  1233. else
  1234. for i = 1, NUMBER do
  1235. ArtificialHB.Event:wait()
  1236. end
  1237. end
  1238. end
  1239.  
  1240. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1241. local NEWMESH = IT(MESH)
  1242. if MESH == "SpecialMesh" then
  1243. NEWMESH.MeshType = MESHTYPE
  1244. if MESHID ~= "nil" and MESHID ~= "" then
  1245. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1246. end
  1247. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1248. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1249. end
  1250. end
  1251. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1252. NEWMESH.Scale = SCALE
  1253. NEWMESH.Parent = PARENT
  1254. return NEWMESH
  1255. end
  1256.  
  1257. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1258. local NEWPART = IT("Part")
  1259. NEWPART.formFactor = FORMFACTOR
  1260. NEWPART.Reflectance = REFLECTANCE
  1261. NEWPART.Transparency = TRANSPARENCY
  1262. NEWPART.CanCollide = false
  1263. NEWPART.Locked = true
  1264. NEWPART.Anchored = true
  1265. if ANCHOR == false then
  1266. NEWPART.Anchored = false
  1267. end
  1268. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1269. NEWPART.Name = NAME
  1270. NEWPART.Size = SIZE
  1271. NEWPART.Position = Torso.Position
  1272. NEWPART.Material = MATERIAL
  1273. NEWPART:BreakJoints()
  1274. NEWPART.Parent = PARENT
  1275. return NEWPART
  1276. end
  1277.  
  1278. local function weldBetween(a, b)
  1279. local weldd = IT("Weld")
  1280. weldd.Part0 = a
  1281. weldd.Part1 = b
  1282. weldd.C0 = CF()
  1283. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1284. weldd.Parent = a
  1285. return weldd
  1286. end
  1287.  
  1288.  
  1289. function QuaternionFromCFrame(cf)
  1290. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1291. local trace = m00 + m11 + m22
  1292. if trace > 0 then
  1293. local s = math.sqrt(1 + trace)
  1294. local recip = 0.5 / s
  1295. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1296. else
  1297. local i = 0
  1298. if m11 > m00 then
  1299. i = 1
  1300. end
  1301. if m22 > (i == 0 and m00 or m11) then
  1302. i = 2
  1303. end
  1304. if i == 0 then
  1305. local s = math.sqrt(m00 - m11 - m22 + 1)
  1306. local recip = 0.5 / s
  1307. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1308. elseif i == 1 then
  1309. local s = math.sqrt(m11 - m22 - m00 + 1)
  1310. local recip = 0.5 / s
  1311. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1312. elseif i == 2 then
  1313. local s = math.sqrt(m22 - m00 - m11 + 1)
  1314. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1315. end
  1316. end
  1317. end
  1318.  
  1319. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1320. local xs, ys, zs = x + x, y + y, z + z
  1321. local wx, wy, wz = w * xs, w * ys, w * zs
  1322. local xx = x * xs
  1323. local xy = x * ys
  1324. local xz = x * zs
  1325. local yy = y * ys
  1326. local yz = y * zs
  1327. local zz = z * zs
  1328. 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))
  1329. end
  1330.  
  1331. function QuaternionSlerp(a, b, t)
  1332. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1333. local startInterp, finishInterp;
  1334. if cosTheta >= 0.0001 then
  1335. if (1 - cosTheta) > 0.0001 then
  1336. local theta = ACOS(cosTheta)
  1337. local invSinTheta = 1 / SIN(theta)
  1338. startInterp = SIN((1 - t) * theta) * invSinTheta
  1339. finishInterp = SIN(t * theta) * invSinTheta
  1340. else
  1341. startInterp = 1 - t
  1342. finishInterp = t
  1343. end
  1344. else
  1345. if (1 + cosTheta) > 0.0001 then
  1346. local theta = ACOS(-cosTheta)
  1347. local invSinTheta = 1 / SIN(theta)
  1348. startInterp = SIN((t - 1) * theta) * invSinTheta
  1349. finishInterp = SIN(t * theta) * invSinTheta
  1350. else
  1351. startInterp = t - 1
  1352. finishInterp = t
  1353. end
  1354. end
  1355. 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
  1356. end
  1357.  
  1358. function Clerp(a, b, t)
  1359. local qa = {QuaternionFromCFrame(a)}
  1360. local qb = {QuaternionFromCFrame(b)}
  1361. local ax, ay, az = a.x, a.y, a.z
  1362. local bx, by, bz = b.x, b.y, b.z
  1363. local _t = 1 - t
  1364. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1365. end
  1366.  
  1367. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1368. local frame = IT("Frame")
  1369. frame.BackgroundTransparency = TRANSPARENCY
  1370. frame.BorderSizePixel = BORDERSIZEPIXEL
  1371. frame.Position = POSITION
  1372. frame.Size = SIZE
  1373. frame.BackgroundColor3 = COLOR
  1374. frame.BorderColor3 = BORDERCOLOR
  1375. frame.Name = NAME
  1376. frame.Parent = PARENT
  1377. return frame
  1378. end
  1379.  
  1380. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1381. local label = IT("TextLabel")
  1382. label.BackgroundTransparency = 1
  1383. label.Size = UD2(1, 0, 1, 0)
  1384. label.Position = UD2(0, 0, 0, 0)
  1385. label.TextColor3 = TEXTCOLOR
  1386. label.TextStrokeTransparency = STROKETRANSPARENCY
  1387. label.TextTransparency = TRANSPARENCY
  1388. label.FontSize = TEXTFONTSIZE
  1389. label.Font = TEXTFONT
  1390. label.BorderSizePixel = BORDERSIZEPIXEL
  1391. label.TextScaled = false
  1392. label.Text = TEXT
  1393. label.Name = NAME
  1394. label.Parent = PARENT
  1395. return label
  1396. end
  1397.  
  1398. function NoOutlines(PART)
  1399. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1400. end
  1401.  
  1402. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1403. local NEWWELD = IT(TYPE)
  1404. NEWWELD.Part0 = PART0
  1405. NEWWELD.Part1 = PART1
  1406. NEWWELD.C0 = C0
  1407. NEWWELD.C1 = C1
  1408. NEWWELD.Parent = PARENT
  1409. return NEWWELD
  1410. end
  1411.  
  1412. local S = IT("Sound")
  1413. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1414. local NEWSOUND = nil
  1415. coroutine.resume(coroutine.create(function()
  1416. NEWSOUND = S:Clone()
  1417. NEWSOUND.Parent = PARENT
  1418. NEWSOUND.Volume = VOLUME
  1419. NEWSOUND.Pitch = PITCH
  1420. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1421. NEWSOUND:play()
  1422. if DOESLOOP == true then
  1423. NEWSOUND.Looped = true
  1424. else
  1425. repeat wait(1) until NEWSOUND.Playing == false
  1426. NEWSOUND:remove()
  1427. end
  1428. end))
  1429. return NEWSOUND
  1430. end
  1431.  
  1432. function CFrameFromTopBack(at, top, back)
  1433. local right = top:Cross(back)
  1434. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1435. end
  1436.  
  1437. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1438. function WACKYEFFECT(Table)
  1439. local TYPE = (Table.EffectType or "Sphere")
  1440. local SIZE = (Table.Size or VT(1,1,1))
  1441. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1442. local TRANSPARENCY = (Table.Transparency or 0)
  1443. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1444. local CFRAME = (Table.CFrame or Torso.CFrame)
  1445. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1446. local ROTATION1 = (Table.RotationX or 0)
  1447. local ROTATION2 = (Table.RotationY or 0)
  1448. local ROTATION3 = (Table.RotationZ or 0)
  1449. local MATERIAL = (Table.Material or "Neon")
  1450. local COLOR = (Table.Color or C3(1,1,1))
  1451. local TIME = (Table.Time or 45)
  1452. local SOUNDID = (Table.SoundID or nil)
  1453. local SOUNDPITCH = (Table.SoundPitch or nil)
  1454. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1455. coroutine.resume(coroutine.create(function()
  1456. local PLAYSSOUND = false
  1457. local SOUND = nil
  1458. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1459. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1460. PLAYSSOUND = true
  1461. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1462. end
  1463. EFFECT.Color = COLOR
  1464. local MSH = nil
  1465. if TYPE == "Sphere" then
  1466. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1467. elseif TYPE == "Block" then
  1468. MSH = IT("BlockMesh",EFFECT)
  1469. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1470. elseif TYPE == "Wave" then
  1471. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1472. elseif TYPE == "Ring" then
  1473. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1474. elseif TYPE == "Slash" then
  1475. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1476. elseif TYPE == "Round Slash" then
  1477. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1478. elseif TYPE == "Swirl" then
  1479. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1480. elseif TYPE == "Skull" then
  1481. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1482. elseif TYPE == "Crystal" then
  1483. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1484. end
  1485. if MSH ~= nil then
  1486. local MOVESPEED = nil
  1487. if MOVEDIRECTION ~= nil then
  1488. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1489. end
  1490. local GROWTH = SIZE - ENDSIZE
  1491. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1492. if TYPE == "Block" then
  1493. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1494. else
  1495. EFFECT.CFrame = CFRAME
  1496. end
  1497. for LOOP = 1, TIME+1 do
  1498. Swait()
  1499. MSH.Scale = MSH.Scale - GROWTH/TIME
  1500. if TYPE == "Wave" then
  1501. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1502. end
  1503. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1504. if TYPE == "Block" then
  1505. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1506. else
  1507. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1508. end
  1509. if MOVEDIRECTION ~= nil then
  1510. local ORI = EFFECT.Orientation
  1511. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1512. EFFECT.Orientation = ORI
  1513. end
  1514. end
  1515. if PLAYSSOUND == false then
  1516. EFFECT:remove()
  1517. else
  1518. SOUND.Stopped:Connect(function()
  1519. EFFECT:remove()
  1520. end)
  1521. end
  1522. else
  1523. if PLAYSSOUND == false then
  1524. EFFECT:remove()
  1525. else
  1526. repeat Swait() until SOUND.Playing == false
  1527. EFFECT:remove()
  1528. end
  1529. end
  1530. end))
  1531. end
  1532.  
  1533. function MakeForm(PART,TYPE)
  1534. if TYPE == "Cyl" then
  1535. local MSH = IT("CylinderMesh",PART)
  1536. elseif TYPE == "Ball" then
  1537. local MSH = IT("SpecialMesh",PART)
  1538. MSH.MeshType = "Sphere"
  1539. elseif TYPE == "Wedge" then
  1540. local MSH = IT("SpecialMesh",PART)
  1541. MSH.MeshType = "Wedge"
  1542. end
  1543. end
  1544.  
  1545. Debris = game:GetService("Debris")
  1546.  
  1547. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1548. local DIRECTION = CF(StartPos,EndPos).lookVector
  1549. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1550. end
  1551.  
  1552. function turnto(position)
  1553. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1554. end
  1555.  
  1556. function SpawnTrail(FROM,TO,BIG)
  1557. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  1558. MakeForm(TRAIL,"Cyl")
  1559. local DIST = (FROM - TO).Magnitude
  1560. if BIG == true then
  1561. TRAIL.Size = VT(0.5,DIST,0.5)
  1562. else
  1563. TRAIL.Size = VT(0.25,DIST,0.25)
  1564. end
  1565. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1566. coroutine.resume(coroutine.create(function()
  1567. for i = 1, 5 do
  1568. Swait()
  1569. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1570. end
  1571. TRAIL:remove()
  1572. end))
  1573. end
  1574.  
  1575. local asd = Instance.new("ParticleEmitter")
  1576. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1577. asd.LightEmission = .1
  1578. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1579. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1580. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1581. asd.Transparency = bbb
  1582. asd.Size = aaa
  1583. asd.ZOffset = .9
  1584. asd.Acceleration = Vector3.new(0, -15, 0)
  1585. asd.LockedToPart = false
  1586. asd.EmissionDirection = "Back"
  1587. asd.Lifetime = NumberRange.new(1, 2)
  1588. asd.Rotation = NumberRange.new(-100, 100)
  1589. asd.RotSpeed = NumberRange.new(-100, 100)
  1590. asd.Speed = NumberRange.new(10)
  1591. asd.Enabled = false
  1592. asd.VelocitySpread = 999
  1593.  
  1594. function getbloody(victim,amount)
  1595. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1596. PART.CFrame = victim.CFrame
  1597. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1598. Debris:AddItem(PART,5)
  1599. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1600. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1601. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1602. local prtcl = asd:Clone()
  1603. prtcl.Parent = PART
  1604. prtcl:Emit(amount*10)
  1605. end
  1606.  
  1607. local Particle = IT("ParticleEmitter",nil)
  1608. Particle.Enabled = false
  1609. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  1610. Particle.LightEmission = 0.5
  1611. Particle.Rate = 150
  1612. Particle.ZOffset = 1
  1613. Particle.Rotation = NumberRange.new(-180, 180)
  1614. Particle.RotSpeed = NumberRange.new(-180, 180)
  1615. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1616. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  1617.  
  1618. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1619. function ParticleEmitter(Table)
  1620. local PRTCL = Particle:Clone()
  1621. local Speed = Table.Speed or 5
  1622. local Drag = Table.Drag or 0
  1623. local Size1 = Table.Size1 or 1
  1624. local Size2 = Table.Size2 or 5
  1625. local Lifetime1 = Table.Lifetime1 or 1
  1626. local Lifetime2 = Table.Lifetime2 or 1.5
  1627. local Parent = Table.Parent or Torso
  1628. local Emit = Table.Emit or 100
  1629. local Offset = Table.Offset or 360
  1630. local Acel = Table.Acel or VT(0,0,0)
  1631. local Enabled = Table.Enabled or false
  1632. PRTCL.Parent = Parent
  1633. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1634. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1635. PRTCL.Speed = NumberRange.new(Speed)
  1636. PRTCL.VelocitySpread = Offset
  1637. PRTCL.Drag = Drag
  1638. PRTCL.Acceleration = Acel
  1639. if Enabled == false then
  1640. PRTCL:Emit(Emit)
  1641. Debris:AddItem(PRTCL,Lifetime2)
  1642. else
  1643. PRTCL.Enabled = true
  1644. end
  1645. return PRTCL
  1646. end
  1647.  
  1648. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1649. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1650. end
  1651.  
  1652. function PositiveAngle(NUMBER)
  1653. if NUMBER >= 0 then
  1654. NUMBER = 0
  1655. end
  1656. return NUMBER
  1657. end
  1658.  
  1659. function NegativeAngle(NUMBER)
  1660. if NUMBER <= 0 then
  1661. NUMBER = 0
  1662. end
  1663. return NUMBER
  1664. end
  1665.  
  1666. function Swait(NUMBER)
  1667. if NUMBER == 0 or NUMBER == nil then
  1668. ArtificialHB.Event:wait()
  1669. else
  1670. for i = 1, NUMBER do
  1671. ArtificialHB.Event:wait()
  1672. end
  1673. end
  1674. end
  1675.  
  1676. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1677. local NEWMESH = IT(MESH)
  1678. if MESH == "SpecialMesh" then
  1679. NEWMESH.MeshType = MESHTYPE
  1680. if MESHID ~= "nil" and MESHID ~= "" then
  1681. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1682. end
  1683. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1684. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1685. end
  1686. end
  1687. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1688. NEWMESH.Scale = SCALE
  1689. NEWMESH.Parent = PARENT
  1690. return NEWMESH
  1691. end
  1692.  
  1693. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1694. local NEWPART = IT("Part")
  1695. NEWPART.formFactor = FORMFACTOR
  1696. NEWPART.Reflectance = REFLECTANCE
  1697. NEWPART.Transparency = TRANSPARENCY
  1698. NEWPART.CanCollide = false
  1699. NEWPART.Locked = true
  1700. NEWPART.Anchored = true
  1701. if ANCHOR == false then
  1702. NEWPART.Anchored = false
  1703. end
  1704. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1705. NEWPART.Name = NAME
  1706. NEWPART.Size = SIZE
  1707. NEWPART.Position = Torso.Position
  1708. NEWPART.Material = MATERIAL
  1709. NEWPART:BreakJoints()
  1710. NEWPART.Parent = PARENT
  1711. return NEWPART
  1712. end
  1713.  
  1714. local function weldBetween(a, b)
  1715. local weldd = Instance.new("ManualWeld")
  1716. weldd.Part0 = a
  1717. weldd.Part1 = b
  1718. weldd.C0 = CFrame.new()
  1719. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1720. weldd.Parent = a
  1721. return weldd
  1722. end
  1723.  
  1724.  
  1725. function QuaternionFromCFrame(cf)
  1726. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1727. local trace = m00 + m11 + m22
  1728. if trace > 0 then
  1729. local s = math.sqrt(1 + trace)
  1730. local recip = 0.5 / s
  1731. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1732. else
  1733. local i = 0
  1734. if m11 > m00 then
  1735. i = 1
  1736. end
  1737. if m22 > (i == 0 and m00 or m11) then
  1738. i = 2
  1739. end
  1740. if i == 0 then
  1741. local s = math.sqrt(m00 - m11 - m22 + 1)
  1742. local recip = 0.5 / s
  1743. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1744. elseif i == 1 then
  1745. local s = math.sqrt(m11 - m22 - m00 + 1)
  1746. local recip = 0.5 / s
  1747. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1748. elseif i == 2 then
  1749. local s = math.sqrt(m22 - m00 - m11 + 1)
  1750. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1751. end
  1752. end
  1753. end
  1754.  
  1755. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1756. local xs, ys, zs = x + x, y + y, z + z
  1757. local wx, wy, wz = w * xs, w * ys, w * zs
  1758. local xx = x * xs
  1759. local xy = x * ys
  1760. local xz = x * zs
  1761. local yy = y * ys
  1762. local yz = y * zs
  1763. local zz = z * zs
  1764. 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))
  1765. end
  1766.  
  1767. function QuaternionSlerp(a, b, t)
  1768. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1769. local startInterp, finishInterp;
  1770. if cosTheta >= 0.0001 then
  1771. if (1 - cosTheta) > 0.0001 then
  1772. local theta = ACOS(cosTheta)
  1773. local invSinTheta = 1 / SIN(theta)
  1774. startInterp = SIN((1 - t) * theta) * invSinTheta
  1775. finishInterp = SIN(t * theta) * invSinTheta
  1776. else
  1777. startInterp = 1 - t
  1778. finishInterp = t
  1779. end
  1780. else
  1781. if (1 + cosTheta) > 0.0001 then
  1782. local theta = ACOS(-cosTheta)
  1783. local invSinTheta = 1 / SIN(theta)
  1784. startInterp = SIN((t - 1) * theta) * invSinTheta
  1785. finishInterp = SIN(t * theta) * invSinTheta
  1786. else
  1787. startInterp = t - 1
  1788. finishInterp = t
  1789. end
  1790. end
  1791. 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
  1792. end
  1793.  
  1794. function Clerp(a, b, t)
  1795. local qa = {QuaternionFromCFrame(a)}
  1796. local qb = {QuaternionFromCFrame(b)}
  1797. local ax, ay, az = a.x, a.y, a.z
  1798. local bx, by, bz = b.x, b.y, b.z
  1799. local _t = 1 - t
  1800. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1801. end
  1802.  
  1803. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1804. local frame = IT("Frame")
  1805. frame.BackgroundTransparency = TRANSPARENCY
  1806. frame.BorderSizePixel = BORDERSIZEPIXEL
  1807. frame.Position = POSITION
  1808. frame.Size = SIZE
  1809. frame.BackgroundColor3 = COLOR
  1810. frame.BorderColor3 = BORDERCOLOR
  1811. frame.Name = NAME
  1812. frame.Parent = PARENT
  1813. return frame
  1814. end
  1815.  
  1816. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1817. local label = IT("TextLabel")
  1818. label.BackgroundTransparency = 1
  1819. label.Size = UD2(1, 0, 1, 0)
  1820. label.Position = UD2(0, 0, 0, 0)
  1821. label.TextColor3 = TEXTCOLOR
  1822. label.TextStrokeTransparency = STROKETRANSPARENCY
  1823. label.TextTransparency = TRANSPARENCY
  1824. label.FontSize = TEXTFONTSIZE
  1825. label.Font = TEXTFONT
  1826. label.BorderSizePixel = BORDERSIZEPIXEL
  1827. label.TextStrokeColor3 = C3(1,1,1)
  1828. label.TextScaled = false
  1829. label.Text = TEXT
  1830. label.Name = NAME
  1831. label.Parent = PARENT
  1832. return label
  1833. end
  1834.  
  1835. function NoOutlines(PART)
  1836. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1837. end
  1838.  
  1839. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1840. local NEWWELD = IT(TYPE)
  1841. NEWWELD.Part0 = PART0
  1842. NEWWELD.Part1 = PART1
  1843. NEWWELD.C0 = C0
  1844. NEWWELD.C1 = C1
  1845. NEWWELD.Parent = PARENT
  1846. return NEWWELD
  1847. end
  1848.  
  1849. local S = IT("Sound")
  1850. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1851. local NEWSOUND = nil
  1852. coroutine.resume(coroutine.create(function()
  1853. NEWSOUND = S:Clone()
  1854. NEWSOUND.Parent = PARENT
  1855. NEWSOUND.Volume = VOLUME
  1856. NEWSOUND.Pitch = PITCH
  1857. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1858. NEWSOUND:play()
  1859. if DOESLOOP == true then
  1860. NEWSOUND.Looped = true
  1861. else
  1862. repeat wait(1) until NEWSOUND.Playing == false
  1863. NEWSOUND:remove()
  1864. end
  1865. end))
  1866. return NEWSOUND
  1867. end
  1868.  
  1869. function CFrameFromTopBack(at, top, back)
  1870. local right = top:Cross(back)
  1871. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1872. end
  1873.  
  1874. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1875. function WACKYEFFECT(Table)
  1876. local TYPE = (Table.EffectType or "Sphere")
  1877. local SIZE = (Table.Size or VT(1,1,1))
  1878. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1879. local TRANSPARENCY = (Table.Transparency or 0)
  1880. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1881. local CFRAME = (Table.CFrame or Torso.CFrame)
  1882. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1883. local ROTATION1 = (Table.RotationX or 0)
  1884. local ROTATION2 = (Table.RotationY or 0)
  1885. local ROTATION3 = (Table.RotationZ or 0)
  1886. local MATERIAL = (Table.Material or "Neon")
  1887. local COLOR = (Table.Color or C3(66/255, 0/255, 127/2551))
  1888. local TIME = (Table.Time or 45)
  1889. local SOUNDID = (Table.SoundID or nil)
  1890. local SOUNDPITCH = (Table.SoundPitch or nil)
  1891. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1892. coroutine.resume(coroutine.create(function()
  1893. local PLAYSSOUND = false
  1894. local SOUND = nil
  1895. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Dark indigo"), "Effect", VT(1,1,1), true)
  1896. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1897. PLAYSSOUND = true
  1898. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1899. end
  1900. EFFECT.Color = COLOR
  1901. local MSH = nil
  1902. if TYPE == "Sphere" then
  1903. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1904. elseif TYPE == "Block" then
  1905. MSH = IT("BlockMesh",EFFECT)
  1906. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1907. elseif TYPE == "Wave" then
  1908. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1909. elseif TYPE == "Ring" then
  1910. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1911. elseif TYPE == "Slash" then
  1912. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1913. elseif TYPE == "Round Slash" then
  1914. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1915. elseif TYPE == "Swirl" then
  1916. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1917. elseif TYPE == "Skull" then
  1918. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1919. elseif TYPE == "Crystal" then
  1920. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1921. end
  1922. if MSH ~= nil then
  1923. local MOVESPEED = nil
  1924. if MOVEDIRECTION ~= nil then
  1925. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1926. end
  1927. local GROWTH = SIZE - ENDSIZE
  1928. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1929. if TYPE == "Block" then
  1930. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1931. else
  1932. EFFECT.CFrame = CFRAME
  1933. end
  1934. for LOOP = 1, TIME+1 do
  1935. Swait()
  1936. MSH.Scale = MSH.Scale - GROWTH/TIME
  1937. if TYPE == "Wave" then
  1938. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1939. end
  1940. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1941. if TYPE == "Block" then
  1942. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1943. else
  1944. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1945. end
  1946. if MOVEDIRECTION ~= nil then
  1947. local ORI = EFFECT.Orientation
  1948. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1949. EFFECT.Orientation = ORI
  1950. end
  1951. end
  1952. if PLAYSSOUND == false then
  1953. EFFECT:remove()
  1954. else
  1955. repeat Swait() until SOUND.Playing == false
  1956. EFFECT:remove()
  1957. end
  1958. else
  1959. if PLAYSSOUND == false then
  1960. EFFECT:remove()
  1961. else
  1962. repeat Swait() until SOUND.Playing == false
  1963. EFFECT:remove()
  1964. end
  1965. end
  1966. end))
  1967. end
  1968.  
  1969. function MakeForm(PART,TYPE)
  1970. if TYPE == "Cyl" then
  1971. local MSH = IT("CylinderMesh",PART)
  1972. elseif TYPE == "Ball" then
  1973. local MSH = IT("SpecialMesh",PART)
  1974. MSH.MeshType = "Sphere"
  1975. elseif TYPE == "Wedge" then
  1976. local MSH = IT("SpecialMesh",PART)
  1977. MSH.MeshType = "Wedge"
  1978. end
  1979. end
  1980.  
  1981. Debris = game:GetService("Debris")
  1982.  
  1983. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1984. local DIRECTION = CF(StartPos,EndPos).lookVector
  1985. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1986. end
  1987.  
  1988. function turnto(position)
  1989. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1990. end
  1991.  
  1992. --//=================================\\
  1993. --|| WEAPON CREATION
  1994. --\\=================================//
  1995.  
  1996. Humanoid.Parent = nil
  1997. RootPart.Size = RootPart.Size*SIZE
  1998. Torso.Size = Torso.Size*SIZE
  1999. RightArm.Size = RightArm.Size*SIZE
  2000. RightLeg.Size = RightLeg.Size*SIZE
  2001. LeftArm.Size = LeftArm.Size*SIZE
  2002. LeftLeg.Size = LeftLeg.Size*SIZE
  2003. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  2004. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  2005. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2006. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2007. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  2008. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  2009. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2010. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2011. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2012. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2013. Head.Size = Head.Size*SIZE
  2014. RootJoint.Parent = RootPart
  2015. Neck.Parent = Torso
  2016. RightShoulder.Parent = Torso
  2017. LeftShoulder.Parent = Torso
  2018. RightHip.Parent = Torso
  2019. LeftHip.Parent = Torso
  2020.  
  2021. Humanoid.DisplayDistanceType = "None"
  2022. local naeeym2 = IT("BillboardGui",Character)
  2023. naeeym2.AlwaysOnTop = true
  2024. naeeym2.Size = UDim2.new(5,35,2,15)
  2025. naeeym2.StudsOffset = Vector3.new(0,2,0)
  2026. naeeym2.MaxDistance = 75
  2027. naeeym2.Adornee = Character.Head
  2028. naeeym2.Name = "Name"
  2029. local tecks2 = IT("TextLabel",naeeym2)
  2030. tecks2.BackgroundTransparency = 1
  2031. tecks2.TextScaled = true
  2032. tecks2.BorderSizePixel = 0
  2033. tecks2.Text = "The Ruler Of Space And Time"
  2034. tecks2.Font = "Fantasy"
  2035. tecks2.TextSize = 30
  2036. tecks2.TextStrokeTransparency = 0
  2037. tecks2.TextColor3 = C3(0,0,0)
  2038. tecks2.TextStrokeColor3 = C3(255/255, 255/255, 0/255)
  2039. tecks2.Size = UDim2.new(1,0,0.5,0)
  2040. tecks2.Parent = naeeym2
  2041. local top = Instance.new("Shirt")
  2042. top.ShirtTemplate = "rbxassetid://36929738"
  2043. top.Parent = Character
  2044. top.Name = "Cloth"
  2045. local bottom = Instance.new("Pants")
  2046. bottom.PantsTemplate = "rbxassetid://36929780"
  2047. bottom.Parent = Character
  2048. bottom.Name = "Cloth"
  2049.  
  2050. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  2051. PRT.Color = C3(0,0,0)
  2052. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  2053. CreateMesh("SpecialMesh", PRT, "FileMesh", "", "", VT(1,1,1)*SIZE, VT(0,0,0))
  2054. PRT.Transparency = 1
  2055. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  2056. PRT.Color = C3(0,0,0)
  2057. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  2058. CreateMesh("SpecialMesh", PRT, "FileMesh", "636922328", "636922344", VT(0.06,0.06,0.06)*SIZE, VT(0,0.08,1))
  2059. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  2060. PRT.Color = C3(255/255, 0/255, 0/255)
  2061. MakeForm(PRT,"Ball")
  2062. PRT.Transparency = 1
  2063. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  2064. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  2065. PRT.Transparency = 1
  2066. PRT.Color = C3(255/255, 255/255, 0/255)
  2067. MakeForm(PRT,"Ball")
  2068. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  2069. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  2070. PRT.Transparency = 1
  2071. PRT.Color = C3(255/255, 255/255, 0/255)
  2072. MakeForm(PRT,"Ball")
  2073. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  2074. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  2075. PRT.Color = C3(255/255, 255/255, 0/255)
  2076. MakeForm(PRT,"Ball")
  2077. PRT.Transparency = 1
  2078.  
  2079. local Aura = Instance.new('ParticleEmitter')
  2080. Aura.Name = "Aura"
  2081. Aura.Texture = "rbxassetid://"
  2082. Aura.Parent = PRT
  2083. Aura.LightEmission = 0.3
  2084. Aura.Transparency = NumberSequence.new(0,0.6,1)
  2085. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(255/255, 0/255, 0/255))
  2086. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  2087. Aura.LockedToPart = false
  2088. Aura.Lifetime = NumberRange.new(2)
  2089. Aura.Rate = 30
  2090. Aura.Speed = NumberRange.new(1)
  2091. Aura.EmissionDirection = "Top"
  2092. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  2093.  
  2094. local Particle = IT("ParticleEmitter",nil)
  2095. Particle.Enabled = false
  2096. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  2097. Particle.LightEmission = 0.5
  2098. Particle.Rate = 150
  2099. Particle.ZOffset = 0.2
  2100. Particle.Rotation = NumberRange.new(-180, 180)
  2101. Particle.RotSpeed = NumberRange.new(-180, 180)
  2102. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  2103. Particle.Color = ColorSequence.new(C3(0,0,0),C3(0,0,0))
  2104.  
  2105. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  2106. function ParticleEmitter(Table)
  2107. local PRTCL = Particle:Clone()
  2108. local Speed = Table.Speed or 5
  2109. local Drag = Table.Drag or 0
  2110. local Size1 = Table.Size1 or 1
  2111. local Size2 = Table.Size2 or 5
  2112. local Lifetime1 = Table.Lifetime1 or 1
  2113. local Lifetime2 = Table.Lifetime2 or 1.5
  2114. local Parent = Table.Parent or Torso
  2115. local Emit = Table.Emit or 100
  2116. local Offset = Table.Offset or 360
  2117. local Acel = Table.Acel or VT(0,0,0)
  2118. local Enabled = Table.Enabled or false
  2119. PRTCL.Parent = Parent
  2120. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2121. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2122. PRTCL.Speed = NumberRange.new(Speed)
  2123. PRTCL.VelocitySpread = Offset
  2124. PRTCL.Drag = Drag
  2125. PRTCL.Acceleration = Acel
  2126. if Enabled == false then
  2127. PRTCL:Emit(Emit)
  2128. Debris:AddItem(PRTCL,Lifetime2)
  2129. else
  2130. PRTCL.Enabled = true
  2131. end
  2132. return PRTCL
  2133. end
  2134.  
  2135.  
  2136. local Handle = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.6,0.2),false)
  2137. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2138. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.5,0.2),false)
  2139. MakeForm(Part,"Wedge")
  2140. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2141. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.3,0.2),false)
  2142. MakeForm(Part,"Wedge")
  2143. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2144. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.3,0.3,0.3),false)
  2145. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2146. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.3,0.5,0.5),false)
  2147. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2148. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.4,0.4,0.4),false)
  2149. MakeForm(Part,"Cyl")
  2150. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2151. for i = 1, 8 do
  2152. local Piece = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Eye", VT(0,0.35,0.41),false)
  2153. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2154. end
  2155. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Eye", VT(0.38,0.41,0.38),false)
  2156. MakeForm(Part,"Cyl")
  2157. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2158. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.37,0.5,0.37),false)
  2159. MakeForm(Part,"Ball")
  2160. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2161. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.7,0.4),false)
  2162. MakeForm(Part,"Wedge")
  2163. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2164. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.3,0.4,0.2),false)
  2165. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2166. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.35,0.35,0.35),false)
  2167. MakeForm(Part,"Cyl")
  2168. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2169. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.5,0.1,0.5),false)
  2170. MakeForm(Part,"Cyl")
  2171. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2172. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.5,0.1,0.45),false)
  2173. MakeForm(Part,"Cyl")
  2174. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2175. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.2,0.5,0.2),false)
  2176. MakeForm(Part,"Wedge")
  2177. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2178. local LASTPART = Handle
  2179. for i = 1, 10 do
  2180. if LASTPART == Handle then
  2181. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.1,0.2,0),false)
  2182. LASTPART = Part
  2183. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2184. else
  2185. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.1,0.05,0),false)
  2186. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2187. LASTPART = Part
  2188. end
  2189. end
  2190.  
  2191. local Barrel = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.15,2,0.15),false)
  2192. MakeForm(Barrel,"Cyl")
  2193. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2194. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0.25,1,0.25),false)
  2195. MakeForm(Part,"Cyl")
  2196. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  2197. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0,0.1,0.2),false)
  2198. MakeForm(Part,"Wedge")
  2199. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2200. local Hole = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Eye", VT(0.125,0,0.125),false)
  2201. MakeForm(Hole,"Cyl")
  2202. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  2203. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Light gray", "Part", VT(0,0,0),false)
  2204. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2205. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2206. local Part = CreatePart(3, Weapon, "SmoothPlastic", 0, 0.5, "Light gray", "Eye", VT(0,0,0),false)
  2207. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2208. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2209. coroutine.resume(coroutine.create(function()
  2210. while wait() do
  2211. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  2212. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  2213. end
  2214. end))
  2215.  
  2216. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  2217. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  2218.  
  2219. for _, c in pairs(Weapon:GetDescendants()) do
  2220. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2221. c.Material = "Glass"
  2222. c.Color = C3(0,0,0)
  2223. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2224. c.Color = C3(0,0,0)
  2225. c.Material = "Neon"
  2226. end
  2227. end
  2228.  
  2229. Weapon.Parent = Character
  2230. for _, c in pairs(Weapon:GetChildren()) do
  2231. if c.ClassName == "Part" then
  2232. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2233. end
  2234. end
  2235.  
  2236. local BODY = {}
  2237. for _, c in pairs(Character:GetDescendants()) do
  2238. if c:IsA("BasePart") and c.Name ~= "Handle" then
  2239. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  2240. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2241. end
  2242. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  2243. elseif c:IsA("JointInstance") then
  2244. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  2245. end
  2246. end
  2247. for e = 1, #BODY do
  2248. if BODY[e] ~= nil then
  2249. local STUFF = BODY[e]
  2250. local PART = STUFF[1]
  2251. local PARENT = STUFF[2]
  2252. local MATERIAL = STUFF[3]
  2253. local COLOR = STUFF[4]
  2254. local TRANSPARENCY = STUFF[5]
  2255. if PART.ClassName == "Part" and PART ~= RootPart then
  2256. PART.Material = MATERIAL
  2257. PART.Color = COLOR
  2258. PART.Transparency = TRANSPARENCY
  2259. end
  2260. PART.AncestryChanged:Connect(function()
  2261. PART.Parent = PARENT
  2262. end)
  2263. end
  2264. end
  2265.  
  2266. Humanoid.Died:connect(function()
  2267. Humanoid.Parent = nil
  2268. Humanoid.MaxHealth = "inf"
  2269. Humanoid.Health = "inf"
  2270. refit()
  2271. Humanoid.Parent = Character
  2272. CreateSound("907330011", Head, 10, 1.2)
  2273. end)
  2274.  
  2275. local LASTPART = Head
  2276. for i = 1, 24 do
  2277. local MATH = (1-(i/30))
  2278. if LASTPART == Head then
  2279.  
  2280. local Aura = Instance.new('ParticleEmitter')
  2281. Aura.Name = "Aura"
  2282. Aura.Texture = "rbxassetid://"
  2283. Aura.Parent = Horn
  2284. Aura.LightEmission = 0.8
  2285. Aura.Transparency = NumberSequence.new(0,0.6,1)
  2286. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  2287. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  2288. Aura.LockedToPart = true
  2289. Aura.Lifetime = NumberRange.new(2)
  2290. Aura.Rate = 25
  2291. Aura.Speed = NumberRange.new(0.1)
  2292. Aura.EmissionDirection = "Top"
  2293. else
  2294.  
  2295. local Aura = Instance.new('ParticleEmitter')
  2296. Aura.Name = "Aura"
  2297. Aura.Texture = "rbxassetid://"
  2298. Aura.Parent = Horn
  2299. Aura.LightEmission = 0.8
  2300. Aura.Transparency = NumberSequence.new(0,0.6,1)
  2301. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  2302. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  2303. Aura.LockedToPart = true
  2304. Aura.Lifetime = NumberRange.new(2)
  2305. Aura.Rate = 25
  2306. Aura.Speed = NumberRange.new(0.1)
  2307. Aura.EmissionDirection = "Top"
  2308. end
  2309. end
  2310. local LASTPART = Head
  2311. for i = 1, 24 do
  2312. local MATH = (1-(i/30))
  2313. if LASTPART == Head then
  2314.  
  2315. local Aura = Instance.new('ParticleEmitter')
  2316. Aura.Name = "Aura"
  2317. Aura.Texture = "rbxassetid://"
  2318. Aura.LightEmission = 0.8
  2319. Aura.Transparency = NumberSequence.new(0,0.6,1)
  2320. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  2321. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  2322. Aura.LockedToPart = true
  2323. Aura.Lifetime = NumberRange.new(2)
  2324. Aura.Rate = 25
  2325. Aura.Speed = NumberRange.new(0.1)
  2326. Aura.EmissionDirection = "Top"
  2327. else
  2328. Aura.Name = "Aura"
  2329. Aura.Texture = "rbxassetid://"
  2330. Aura.LightEmission = 0.8
  2331. Aura.Transparency = NumberSequence.new(0,0.6,1)
  2332. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  2333. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  2334. Aura.LockedToPart = true
  2335. Aura.Lifetime = NumberRange.new(2)
  2336. Aura.Rate = 25
  2337. Aura.Speed = NumberRange.new(0.1)
  2338. Aura.EmissionDirection = "Top"
  2339. end
  2340. end
  2341. local LASTPART = Head
  2342. for i = 1, 8 do
  2343. local MATH = (1-(i/14))
  2344. if LASTPART == Head then
  2345.  
  2346. local Aura = Instance.new('ParticleEmitter')
  2347. Aura.Name = "Aura"
  2348. Aura.Texture = "rbxassetid://"
  2349. Aura.LightEmission = 0.8
  2350. Aura.Transparency = NumberSequence.new(0,0.6,1)
  2351. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  2352. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  2353. Aura.LockedToPart = true
  2354. Aura.Lifetime = NumberRange.new(2)
  2355. Aura.Rate = 25
  2356. Aura.Speed = NumberRange.new(0.1)
  2357. Aura.EmissionDirection = "Top"
  2358. else
  2359.  
  2360. local Aura = Instance.new('ParticleEmitter')
  2361. Aura.Name = "Aura"
  2362. Aura.Texture = "rbxassetid://"
  2363. Aura.Parent = Horn
  2364. Aura.LightEmission = 0.8
  2365. Aura.Transparency = NumberSequence.new(0,0.6,1)
  2366. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  2367. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  2368. Aura.LockedToPart = true
  2369. Aura.Lifetime = NumberRange.new(2)
  2370. Aura.Rate = 25
  2371. Aura.Speed = NumberRange.new(0.1)
  2372. Aura.EmissionDirection = "Top"
  2373. end
  2374. end
  2375. local LASTPART = Head
  2376. for i = 1, 8 do
  2377. local MATH = (1-(i/14))
  2378. if LASTPART == Head then
  2379. local Aura = Instance.new('ParticleEmitter')
  2380. Aura.Name = "Aura"
  2381. Aura.Texture = "rbxassetid://"
  2382. Aura.Parent = Horn
  2383. Aura.LightEmission = 0.8
  2384. Aura.Transparency = NumberSequence.new(0,0.6,1)
  2385. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  2386. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  2387. Aura.LockedToPart = true
  2388. Aura.Lifetime = NumberRange.new(2)
  2389. Aura.Rate = 25
  2390. Aura.Speed = NumberRange.new(0.1)
  2391. Aura.EmissionDirection = "Top"
  2392. else
  2393. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  2394. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  2395. LASTPART = Horn
  2396. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  2397. local Aura = Instance.new('ParticleEmitter')
  2398. Aura.Name = "Aura"
  2399. Aura.Texture = "rbxassetid://"
  2400. Aura.Parent = Horn
  2401. Aura.LightEmission = 0.8
  2402. Aura.Transparency = NumberSequence.new(0,0.6,1)
  2403. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  2404. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  2405. Aura.LockedToPart = true
  2406. Aura.Lifetime = NumberRange.new(2)
  2407. Aura.Rate = 25
  2408. Aura.Speed = NumberRange.new(0.1)
  2409. Aura.EmissionDirection = "Top"
  2410. end
  2411. end
  2412. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  2413. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2414. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  2415. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2416. MakeForm(PRT,"Cyl")
  2417. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  2418. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2419. MakeForm(PRT,"Cyl")
  2420. PRT.Color = C3(255/255, 255/255, 0/255)
  2421. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  2422. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  2423. MakeForm(RING,"Cyl")
  2424. RING.Color = C3(0,0,0)
  2425. for i = 1, 12 do
  2426. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  2427. PRT.Color = C3(0,0,0)
  2428. local MSH = IT("BlockMesh",PRT)
  2429. MSH.Scale = VT(0.6,1,1)
  2430. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
  2431. end
  2432. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  2433. PRT.Color = C3(0,0,0)
  2434. local MSH = IT("BlockMesh",PRT)
  2435. MSH.Scale = VT(0.4,1,1)
  2436. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  2437. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  2438. PRT.Color = C3(0,0,0)
  2439. local MSH = IT("BlockMesh",PRT)
  2440. MSH.Scale = VT(0.4,1,1)
  2441. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  2442. coroutine.resume(coroutine.create(function()
  2443. while true do
  2444. Swait()
  2445. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  2446. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  2447. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  2448. if CLOCKLOOP <= -150 then
  2449. if VALUE1 == false then
  2450. CLOCKLOOP = 0
  2451. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 2})
  2452. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2453. ApplyAoE(HITPOS,10,15,45,75,true)
  2454. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
  2455. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
  2456. if CLOCKTARGET ~= nil then
  2457. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  2458. if CLOCKTARGET.Torso ~= nil then
  2459. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  2460. end
  2461. if CLOCKTARGET.Health == 0 then
  2462. CLOCKTARGET = nil
  2463. end
  2464. end
  2465. end
  2466. end
  2467. end
  2468. end))
  2469.  
  2470. for _, c in pairs(Weapon:GetChildren()) do
  2471. if c.ClassName == "Part" then
  2472. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2473. end
  2474. end
  2475.  
  2476. Neck.Name = "Weld"
  2477. RootJoint.Name = "Weld"
  2478. RightShoulder.Name = "Weld"
  2479. LeftShoulder.Name = "Weld"
  2480. RightHip.Name = "Weld"
  2481. LeftHip.Name = "Weld"
  2482.  
  2483. local BODY = {}
  2484. for _, c in pairs(Character:GetDescendants()) do
  2485. if c:IsA("BasePart") and c.Name ~= "Handle" then
  2486. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  2487. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2488. end
  2489. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  2490. elseif c:IsA("JointInstance") then
  2491. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  2492. end
  2493. end
  2494. for e = 1, #BODY do
  2495. if BODY[e] ~= nil then
  2496. local STUFF = BODY[e]
  2497. local PART = STUFF[1]
  2498. local PARENT = STUFF[2]
  2499. local MATERIAL = STUFF[3]
  2500. local COLOR = STUFF[4]
  2501. local TRANSPARENCY = STUFF[5]
  2502. if PART.ClassName == "Part" and PART ~= RootPart then
  2503. PART.Material = MATERIAL
  2504. PART.Color = COLOR
  2505. PART.Transparency = TRANSPARENCY
  2506. end
  2507. PART.AncestryChanged:Connect(function()
  2508. PART.Parent = PARENT
  2509. end)
  2510. end
  2511. end
  2512.  
  2513. function refit()
  2514. Character.Parent = workspace
  2515. for e = 1, #BODY do
  2516. if BODY[e] ~= nil then
  2517. local STUFF = BODY[e]
  2518. local PART = STUFF[1]
  2519. local PARENT = STUFF[2]
  2520. local MATERIAL = STUFF[3]
  2521. local COLOR = STUFF[4]
  2522. local TRANSPARENCY = STUFF[5]
  2523. if PART.ClassName == "Part" and PART ~= RootPart then
  2524. PART.Material = MATERIAL
  2525. PART.Color = COLOR
  2526. PART.Transparency = TRANSPARENCY
  2527. end
  2528. if PART.Parent ~= PARENT then
  2529. Humanoid:remove()
  2530. PART.Parent = PARENT
  2531. Humanoid = IT("Humanoid",Character)
  2532. end
  2533. end
  2534. end
  2535. end
  2536. local SKILLTEXTCOLOR = C3(255/255, 255/255, 0/255)
  2537. local SKILLFONT = "Fantasy"
  2538. local SKILLTEXTSIZE = 7
  2539.  
  2540. Weapon.Parent = Character
  2541. Humanoid.Parent = Character
  2542.  
  2543. Humanoid.Died:connect(function()
  2544. Humanoid.Parent = nil
  2545. Humanoid.MaxHealth = "inf"
  2546. Humanoid.Health = "inf"
  2547. refit()
  2548. Humanoid.Parent = Character
  2549. CreateSound("907330011", Head, 10, 1.2)
  2550. end)
  2551.  
  2552. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  2553. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  2554. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  2555. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  2556. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  2557. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.85, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  2558. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.100, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  2559. local SKILL9FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.475, 0, 0.100, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 9 Frame")
  2560. local SKILL10FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.225, 0, 0.100, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 10 Frame")
  2561.  
  2562. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Time Spikes", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1")
  2563. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Time Stop", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 2")
  2564. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Space's Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  2565. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Time Shot", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  2566. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Red Star", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5")
  2567. local SKILL7TEXT = CreateLabel(SKILL7FRAME, "[R] Time Blast", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
  2568. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[F] Ultimate Blast", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
  2569. local SKILL9TEXT = CreateLabel(SKILL9FRAME, "[Q] Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 9")
  2570. local SKILL10TEXT = CreateLabel(SKILL10FRAME, "[E] God Mode", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 10")
  2571.  
  2572. function printbye(Name)
  2573. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  2574. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2575. end
  2576.  
  2577. workspace.ChildAdded:connect(function(instance)
  2578. for BANISH = 1, #TOBANISH do
  2579. if TOBANISH[BANISH] ~= nil then
  2580. if instance.Name == TOBANISH[BANISH] then
  2581. coroutine.resume(coroutine.create(function()
  2582. printbye(instance.Name)
  2583. instance:ClearAllChildren()
  2584. Debris:AddItem(instance,0.0005)
  2585. end))
  2586. end
  2587. end
  2588. end
  2589. end)
  2590.  
  2591.  
  2592. --//=================================\\
  2593. --|| DAMAGING
  2594. --\\=================================//
  2595.  
  2596. function Kill(Foe)
  2597. if Foe then
  2598. coroutine.resume(coroutine.create(function()
  2599. --if game.Players:FindFirstChild(Foe.Name) then
  2600. table.insert(TOBANISH,Foe.Name)
  2601. printbye(Foe.Name)
  2602. --end
  2603. Foe.Archivable = true
  2604. local CLONE = Foe:Clone()
  2605. Foe:Destroy()
  2606. CLONE.Parent = Effects
  2607. CLONE:BreakJoints()
  2608. local MATERIALS = {"Glass","Neon"}
  2609. for _, c in pairs(CLONE:GetDescendants()) do
  2610. if c:IsA("BasePart") then
  2611. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  2612. CreateSound(340722848, c, 10, 1, false)
  2613. end
  2614. c.Anchored = true
  2615. c.Transparency = c.Transparency + 0.2
  2616. c.Material = MATERIALS[MRANDOM(1,2)]
  2617. c.Color = C3(0,0,0)
  2618. if c.ClassName == "MeshPart" then
  2619. c.TextureID = ""
  2620. end
  2621. if c:FindFirstChildOfClass("SpecialMesh") then
  2622. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2623. end
  2624. if c:FindFirstChildOfClass("Decal") then
  2625. c:FindFirstChildOfClass("Decal"):remove()
  2626. end
  2627. c.Name = "Banished"
  2628. c.CanCollide = false
  2629. else
  2630. c:remove()
  2631. end
  2632. end
  2633. local A = false
  2634. for i = 1, 35 do
  2635. if A == false then
  2636. A = true
  2637. elseif A == true then
  2638. A = false
  2639. end
  2640. for _, c in pairs(CLONE:GetDescendants()) do
  2641. if c:IsA("BasePart") then
  2642. c.Anchored = true
  2643. c.Material = MATERIALS[MRANDOM(1,2)]
  2644. c.Transparency = c.Transparency + 0.8/35
  2645. if A == false then
  2646. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2647. elseif A == true then
  2648. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2649. end
  2650. end
  2651. end
  2652. Swait()
  2653. end
  2654. CLONE:remove()
  2655. end))
  2656. end
  2657. end
  2658.  
  2659. local asd = Instance.new("ParticleEmitter")
  2660. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  2661. asd.LightEmission = .1
  2662. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  2663. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  2664. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2665. asd.Transparency = bbb
  2666. asd.Size = aaa
  2667. asd.ZOffset = .9
  2668. asd.Acceleration = Vector3.new(0, -15, 0)
  2669. asd.LockedToPart = false
  2670. asd.EmissionDirection = "Back"
  2671. asd.Lifetime = NumberRange.new(1, 2)
  2672. asd.Rotation = NumberRange.new(-100, 100)
  2673. asd.RotSpeed = NumberRange.new(-100, 100)
  2674. asd.Speed = NumberRange.new(10)
  2675. asd.Enabled = false
  2676. asd.VelocitySpread = 999
  2677. function getbloody(victim,amount)
  2678. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  2679. PART.CFrame = victim.CFrame
  2680. local HITPLAYERSOUNDS = {"356551938","264486467"}
  2681. Debris:AddItem(PART,5)
  2682. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2683. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2684. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2685. local prtcl = asd:Clone()
  2686. prtcl.Parent = PART
  2687. prtcl:Emit(amount*10)
  2688. end
  2689. function Banish(Char)
  2690. local NewCharacter = Instance.new("Model",Effects)
  2691. NewCharacter.Name = "Ow im ded ;-;"
  2692. for _, c in pairs(Char:GetDescendants()) do
  2693. if c:IsA("BasePart") and c.Transparency == 0 then
  2694. if c.Parent == Char then
  2695. getbloody(c,5)
  2696. end
  2697. c:BreakJoints()
  2698. c.Material = "Glass"
  2699. c.Color = C3(0.5,0,0)
  2700. c.CanCollide = true
  2701. c.Transparency = 0.3
  2702. if c:FindFirstChildOfClass("SpecialMesh") then
  2703. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2704. end
  2705. if c.Name == "Head" then
  2706. c:ClearAllChildren()
  2707. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  2708. end
  2709. if c.ClassName == "MeshPart" then
  2710. c.TextureID = ""
  2711. end
  2712. if c:FindFirstChildOfClass("BodyPosition") then
  2713. c:FindFirstChildOfClass("BodyPosition"):remove()
  2714. end
  2715. if c:FindFirstChildOfClass("ParticleEmitter") then
  2716. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2717. end
  2718. c.Parent = NewCharacter
  2719. c.Name = "DeadPart"
  2720. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  2721. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  2722. end
  2723. end
  2724. Char:remove()
  2725. Debris:AddItem(NewCharacter,5)
  2726. end
  2727.  
  2728. function ApplyAoE(POSITION,RANGE,ISBANISH)
  2729. local CHILDREN = workspace:GetDescendants()
  2730. for index, CHILD in pairs(CHILDREN) do
  2731. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2732. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2733. if HUM then
  2734. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2735. if TORSO then
  2736. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2737. if ISBANISH == true then
  2738. Banish(CHILD)
  2739. else
  2740. if ISBANISH == "Gravity" then
  2741. HUM.PlatformStand = true
  2742. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2743. local grav = Instance.new("BodyPosition",TORSO)
  2744. grav.D = 15
  2745. grav.P = 20000
  2746. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2747. grav.position = TORSO.Position
  2748. grav.Name = "V3BanishForce"..Player.Name
  2749. else
  2750. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2751. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2752. end
  2753. else
  2754. HUM.PlatformStand = false
  2755. end
  2756. end
  2757. elseif ISBANISH == "Gravity" then
  2758. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2759. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2760. HUM.PlatformStand = false
  2761. end
  2762. end
  2763. end
  2764. end
  2765. end
  2766. end
  2767. end
  2768. function ApplyKill(POSITION,RANGE,BRUTAL)
  2769. local CHILDREN = workspace:GetDescendants()
  2770. for index, CHILD in pairs(CHILDREN) do
  2771. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2772. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2773. if HUM then
  2774. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2775. if TORSO then
  2776. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2777. if BRUTAL == true then
  2778. Banish(CHILD)
  2779. else
  2780. CHILD:BreakJoints()
  2781. end
  2782. end
  2783. end
  2784. end
  2785. end
  2786. end
  2787. end
  2788.  
  2789. function ApplyDamage(Humanoid,Damage)
  2790. Damage = Damage * DAMAGEMULTIPLIER
  2791. if Humanoid.Health ~= 0 then
  2792. Humanoid.Health = Humanoid.Health - Damage
  2793. end
  2794. end
  2795.  
  2796. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL,OPTION)
  2797. local CHILDREN = workspace:GetDescendants()
  2798. for index, CHILD in pairs(CHILDREN) do
  2799. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2800. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2801. if HUM then
  2802. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2803. if TORSO then
  2804. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2805. if INSTAKILL == true then
  2806. CHILD:BreakJoints()
  2807. if OPTION ~= nil then
  2808. Kill(CHILD,OPTION)
  2809. end
  2810. else
  2811. local DMG = MRANDOM(MINDMG,MAXDMG)
  2812. ApplyDamage(HUM,DMG)
  2813. end
  2814. if FLING ~= 0 then
  2815. for _, c in pairs(CHILD:GetChildren()) do
  2816. if c:IsA("BasePart") then
  2817. local bv = Instance.new("BodyVelocity")
  2818. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2819. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2820. bv.Parent = c
  2821. Debris:AddItem(bv,0.05)
  2822. end
  2823. end
  2824. end
  2825. end
  2826. end
  2827. end
  2828. end
  2829. end
  2830. end
  2831.  
  2832. function Kill(Victim,Fire)
  2833. coroutine.resume(coroutine.create(function()
  2834. local NIL = script.TotalNil:Clone()
  2835. NIL.Parent = Victim
  2836. NIL.Disabled = false
  2837. if Fire ~= true then
  2838. Victim:BreakJoints()
  2839. for _, c in pairs(Victim:GetChildren()) do
  2840. if c:IsA("BasePart") then
  2841. c.Anchored = true
  2842. end
  2843. end
  2844. for _, c in pairs(Victim:GetChildren()) do
  2845. if c:IsA("BasePart") then
  2846. Shatter(c)
  2847. end
  2848. end
  2849. else
  2850. Victim:BreakJoints()
  2851. local FIRES = {}
  2852. for _, e in pairs(Victim:GetDescendants()) do
  2853. if e:IsA("BasePart") and e.Name ~= "HumanoidRootPart" and e.Parent.ClassName ~= "Folder" then
  2854. e.Transparency = 1
  2855. e:ClearAllChildren()
  2856. local FIRE = script.HellFire:Clone()
  2857. FIRE.Parent = e
  2858. FIRE.Enabled = true
  2859. table.insert(FIRES,FIRE)
  2860. elseif e.ClassName == "Decal" then
  2861. e:remove()
  2862. end
  2863. end
  2864. for i = 1, 50 do
  2865. Victim:BreakJoints()
  2866. wait()
  2867. end
  2868. for i = 1, #FIRES do
  2869. FIRES[i].Enabled = false
  2870. end
  2871. wait(1.1)
  2872. Victim:remove()
  2873. end
  2874. end))
  2875. end
  2876.  
  2877. --//=================================\\
  2878. --|| ATTACK FUNCTIONS AND STUFF
  2879. --\\=================================//
  2880.  
  2881. function Kill(Foe)
  2882. if Foe then
  2883. coroutine.resume(coroutine.create(function()
  2884. --if game.Players:FindFirstChild(Foe.Name) then
  2885. table.insert(TOBANISH,Foe.Name)
  2886. printbye(Foe.Name)
  2887. --end
  2888. Foe.Archivable = true
  2889. local CLONE = Foe:Clone()
  2890. Foe:Destroy()
  2891. CLONE.Parent = Effects
  2892. CLONE:BreakJoints()
  2893. local MATERIALS = {"Glass","Neon"}
  2894. for _, c in pairs(CLONE:GetDescendants()) do
  2895. if c:IsA("BasePart") then
  2896. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  2897. CreateSound(340722848, c, 10, 1, false)
  2898. end
  2899. c.Anchored = true
  2900. c.Transparency = c.Transparency + 0.2
  2901. c.Material = MATERIALS[MRANDOM(1,2)]
  2902. c.Color = C3(0,0,0)
  2903. if c.ClassName == "MeshPart" then
  2904. c.TextureID = ""
  2905. end
  2906. if c:FindFirstChildOfClass("SpecialMesh") then
  2907. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2908. end
  2909. if c:FindFirstChildOfClass("Decal") then
  2910. c:FindFirstChildOfClass("Decal"):remove()
  2911. end
  2912. c.Name = "Banished"
  2913. c.CanCollide = false
  2914. else
  2915. c:remove()
  2916. end
  2917. end
  2918. local A = false
  2919. for i = 1, 35 do
  2920. if A == false then
  2921. A = true
  2922. elseif A == true then
  2923. A = false
  2924. end
  2925. for _, c in pairs(CLONE:GetDescendants()) do
  2926. if c:IsA("BasePart") then
  2927. c.Anchored = true
  2928. c.Material = MATERIALS[MRANDOM(1,2)]
  2929. c.Transparency = c.Transparency + 0.8/35
  2930. if A == false then
  2931. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2932. elseif A == true then
  2933. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2934. end
  2935. end
  2936. end
  2937. Swait()
  2938. end
  2939. CLONE:remove()
  2940. end))
  2941. end
  2942. end
  2943.  
  2944. function Madness()
  2945. ATTACK = true
  2946. Rooted = false
  2947. local GYRO = IT("BodyGyro",RootPart)
  2948. GYRO.D = 750
  2949. GYRO.P = 20000
  2950. GYRO.MaxTorque = VT(0,40000000,0)
  2951. local LOCKED = true
  2952. local SHOT = false
  2953. coroutine.resume(coroutine.create(function()
  2954. for i=0, 1, 0.1 / Animation_Speed do
  2955. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  2956. Swait()
  2957. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2958. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2959. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2960. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2961. end
  2962. LOCKED = false
  2963. SHOT = true
  2964. repeat
  2965. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  2966. Swait()
  2967. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2968. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2969. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2970. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2971. until HOLD == false and SHOT == false
  2972. for i=0, 0.3, 0.1 / Animation_Speed do
  2973. Swait()
  2974. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2975. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2976. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2977. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2978. end
  2979. GYRO:remove()
  2980. ATTACK = false
  2981. Rooted = false
  2982. end))
  2983. repeat wait() until LOCKED == false
  2984. repeat
  2985. SHOT = true
  2986. wait(0.2)
  2987. SHOT = false
  2988. local BULLET = Lightning({Material = "Glass", FadeIn = true, Color = C3(0,0,0), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Mouse.Hit.p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
  2989. local HIT = BULLET.Hit
  2990. local HITPOS = BULLET.End
  2991. if HIT then
  2992. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  2993. Kill(HIT.Parent)
  2994. end
  2995. end
  2996. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 2, SoundVolume = 1})
  2997. WACKYEFFECT({Time = 15, EffectType = "Skull", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 2})
  2998. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(1,1.2,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
  2999. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(2,1,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2})
  3000. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  3001. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  3002. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  3003. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  3004. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  3005. until HOLD == false
  3006. end
  3007.  
  3008. function Banisher_Bullet()
  3009. ATTACK = true
  3010. Rooted = false
  3011. for i=0, 0.4, 0.1 / Animation_Speed do
  3012. Swait()
  3013. turnto(Mouse.Hit.p)
  3014. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3015. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3016. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3017. end
  3018. repeat
  3019. for i=0, 0.2, 0.1 / Animation_Speed do
  3020. Swait()
  3021. turnto(Mouse.Hit.p)
  3022. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3023. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3024. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3025. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3026. end
  3027. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3028. SpawnTrail(Hole.Position,POS)
  3029. if HIT ~= nil then
  3030. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3031. Banish(HIT.Parent)
  3032. end
  3033. end
  3034. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3035. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3036. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3037. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3038. for i=0, 0.3, 0.1 / Animation_Speed do
  3039. Swait()
  3040. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3041. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3042. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3043. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3044. end
  3045. until KEYHOLD == false
  3046. ATTACK = false
  3047. Rooted = false
  3048. end
  3049.  
  3050. function AttackTemplate()
  3051. ATTACK = true
  3052. Rooted = false
  3053. for i=0, 1, 0.1 / Animation_Speed do
  3054. Swait()
  3055. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3056. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3057. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3058. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3059. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3060. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3061. end
  3062. ATTACK = false
  3063. Rooted = false
  3064. end
  3065.  
  3066. function HI()
  3067. ATTACK = true
  3068. Rooted = false
  3069. local LOOP = 0
  3070. for i=0, 0.1, 0.1 / Animation_Speed do
  3071. Swait()
  3072. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3073. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3074. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3075. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3076. end
  3077. for i=0, 3, 0.1 / Animation_Speed do
  3078. Swait()
  3079. LOOP = LOOP + 1
  3080. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3081. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3082. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3083. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3084. end
  3085. for i=0, 0.1, 0.1 / Animation_Speed do
  3086. Swait()
  3087. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3088. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3089. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3090. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3091. end
  3092. ATTACK = false
  3093. Rooted = false
  3094. end
  3095.  
  3096. function Mercy()
  3097. ATTACK = true
  3098. Rooted = true
  3099. local SPOTS = {}
  3100. for i = 1, 15 do
  3101. Swait()
  3102. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3103. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  3104. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  3105. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3106. end
  3107. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Maroon".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  3108. for i=0, 0.5, 0.1 / Animation_Speed do
  3109. Swait()
  3110. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3111. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3112. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3113. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3114. end
  3115. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  3116. table.insert(SPOTS,HITPOS)
  3117. CreateSound(145080998, Hole, 2, 1, false)
  3118. Lightning({Material = "Neon", FadeIn = false, Color = C3(1,0,0), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Hole.CFrame*CF(0, 1000, 0.045).p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false})
  3119. coroutine.resume(coroutine.create(function()
  3120. local POS = Mouse.Hit.p
  3121. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  3122. MakeForm(RAY,"Cyl")
  3123. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really black", "Strike", VT(0,0,0))
  3124. MakeForm(SPHERE,"Ball")
  3125. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  3126. MakeForm(SHIELD,"Ball")
  3127. SHIELD.CFrame = CF(POS)
  3128. RAY.CFrame = CF(POS)
  3129. SPHERE.CFrame = CF(POS)
  3130. CreateSound(440145570, SPHERE, 10, 0.8, false)
  3131. CreateSound(415700134, SPHERE, 10, 0.8, false)
  3132. for i = 1, 200 do
  3133. Swait()
  3134. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3135. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  3136. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*2,5+(i),SPHERE.Size.X*2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  3137. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  3138. SPHERE.Size = SPHERE.Size + VT(0.4,0.4,0.4)
  3139. SHIELD.Size = SPHERE.Size + VT(0.5,0.5,0.5)
  3140. ApplyKill(SPHERE.Position,SPHERE.Size.X/2,true)
  3141. end
  3142. for i = 1, 45 do
  3143. Swait()
  3144. RAY.Transparency = RAY.Transparency + 1/45
  3145. SPHERE.Transparency = RAY.Transparency
  3146. SHIELD.Transparency = SPHERE.Transparency + 1/45
  3147. end
  3148. RAY:remove()
  3149. SHIELD:remove()
  3150. SPHERE:remove()
  3151. end))
  3152. ATTACK = false
  3153. Rooted = false
  3154. end
  3155. function Warp()
  3156. for e = 1, #BODY do
  3157. if BODY[e] ~= nil then
  3158. local STUFF = BODY[e]
  3159. local PART = STUFF[1]
  3160. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  3161. local PRT = PART:Clone()
  3162. PRT.Anchored = true
  3163. PRT.CanCollide = false
  3164. PRT.Material = "Neon"
  3165. PRT.Color = C3(0,0,0)
  3166. PRT.Name = "WarpEffect"
  3167. PRT.Parent = Effects
  3168. PRT.CFrame = PART.CFrame
  3169. PRT:BreakJoints()
  3170. if PRT:FindFirstChildOfClass("Sound") then
  3171. PRT:FindFirstChildOfClass("Sound"):remove()
  3172. end
  3173. if PRT:FindFirstChildOfClass("Decal") then
  3174. PRT:FindFirstChildOfClass("Decal"):remove()
  3175. end
  3176. coroutine.resume(coroutine.create(function()
  3177. for i = 1, 100 do
  3178. Swait()
  3179. PRT.Transparency = PRT.Transparency + 1/100
  3180. end
  3181. PRT:remove()
  3182. end))
  3183. end
  3184. end
  3185. end
  3186. CreateSound(217767125, Torso, 10, 1)
  3187. local POS = RootPart.Orientation
  3188. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  3189. RootPart.Orientation = POS
  3190. RootJoint.Parent = RootPart
  3191. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Eyes.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  3192. ATTACK = false
  3193. Rooted = false
  3194. end
  3195. function killnearest(position,range,maxstrength,BRUTAL,RANGE)
  3196. for i,v in ipairs(workspace:GetChildren()) do
  3197. local body = v:GetChildren()
  3198. for part = 1, #body do
  3199. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  3200. if(body[part].Position - position).Magnitude < range then
  3201. if v.ClassName == "Model" then
  3202. v:BreakJoints()
  3203. end
  3204. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  3205. local bv = Instance.new("BodyVelocity")
  3206. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3207. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  3208. bv.Parent = body[part]
  3209. Debris:AddItem(bv,0.2)
  3210. end
  3211. end
  3212. end
  3213. if v.ClassName == "Part" then
  3214. if v.Anchored == false and (v.Position - position).Magnitude < range then
  3215. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  3216. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  3217. end
  3218. end
  3219. end
  3220. end
  3221. function Darkness()
  3222. ATTACK = true
  3223. Rooted = true
  3224. local GYRO = IT("BodyGyro",RootPart)
  3225. GYRO.D = 100
  3226. GYRO.P = 2000
  3227. GYRO.MaxTorque = VT(0,4000000,0)
  3228. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3229. CreateSound("429459101", RightArm, 10, 0.8)
  3230. for i=0, 3.5, 0.1 / Animation_Speed do
  3231. Swait()
  3232. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3233. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  3234. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3235. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3236. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3237. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3238. end
  3239. GYRO:remove()
  3240. for i=0, 0.15, 0.1 / Animation_Speed do
  3241. Swait()
  3242. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  3243. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  3244. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3245. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3246. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3247. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3248. end
  3249. local BOMBSPOTS = {}
  3250. for i = 1, 25 do
  3251. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly black", "Blade", VT(8,1,8))
  3252. SPOT.Color = SKILLTEXTCOLOR
  3253. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  3254. table.insert(BOMBSPOTS,SPOT)
  3255. MakeForm(SPOT,"Cyl2")
  3256. end
  3257. for i=0, 0.2, 0.1 / Animation_Speed do
  3258. Swait()
  3259. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  3260. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3261. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3262. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3263. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3264. end
  3265. ATTACK = false
  3266. Rooted = false
  3267. coroutine.resume(coroutine.create(function()
  3268. Swait(3)
  3269. for i = 1, #BOMBSPOTS do
  3270. if BOMBSPOTS[i] ~= nil then
  3271. local E = BOMBSPOTS[i]
  3272. coroutine.resume(coroutine.create(function()
  3273. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly black", "Blade", VT(0,0,0))
  3274. BLADE.Color = SKILLTEXTCOLOR
  3275. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  3276. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  3277. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  3278. for i = 1, 10 do
  3279. Swait()
  3280. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(0,50,0), Transparency = 0, Transparency2 = 1, CFrame = CF(BLADE.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  3281. killnearest(BLADE.Position,6,80)
  3282. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  3283. BLADE.Transparency = BLADE.Transparency - 0.1
  3284. end
  3285. Swait(45)
  3286. for i = 1, 100 do
  3287. Swait()
  3288. BLADE.Transparency = BLADE.Transparency + 0.01
  3289. E.Transparency = E.Transparency + 0.01
  3290. end
  3291. BLADE:remove()
  3292. E:remove()
  3293. end))
  3294. end
  3295. end
  3296. end))
  3297. end
  3298. function Death()
  3299. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3300. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  3301. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  3302. if TORSO and HUM.Health > 0 then
  3303. ATTACK = true
  3304. Rooted = true
  3305. local GYRO = IT("BodyGyro",RootPart)
  3306. GYRO.D = 175
  3307. GYRO.P = 20000
  3308. GYRO.MaxTorque = VT(0,40000,0)
  3309. for i=0, 1, 0.1 / Animation_Speed do
  3310. Swait()
  3311. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  3312. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  3313. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-50)), 1 / Animation_Speed)
  3314. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3315. end
  3316. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  3317. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  3318. local MAGIC = ParticleEmitter({Speed = 5, Drag = 3, Size1 = 1.7, Size2 = 0, Lifetime1 = 1, Lifetime2 = 3, Parent = TORSO, Emit = 100, Offset = 360, Enabled = true})
  3319. MAGIC.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  3320. local grav = Instance.new("BodyPosition",TORSO)
  3321. grav.D = 1500
  3322. grav.P = 20000
  3323. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3324. grav.position = TORSO.Position+VT(0,15,0)
  3325. Debris:AddItem(grav,10)
  3326. Debris:AddItem(MAGIC,10)
  3327. CreateSound(429459101, Torso, 7, 1, false)
  3328. CreateSound(429459101, TORSO, 7, 1, false)
  3329. GYRO:remove()
  3330. ATTACK = false
  3331. Rooted = false
  3332. end
  3333. end
  3334. end
  3335.  
  3336. function TakeOnMe()
  3337. Speed = 5
  3338. local MEME = CreateSound(288703954, Effects, 2, 1, false)
  3339. ATTACK = true
  3340. Rooted = false
  3341. local DANCE = true
  3342. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  3343. if NEWKEY == "p" then
  3344. DANCE = false
  3345. end
  3346. end)
  3347. while true do
  3348. for i = 1, 15 do
  3349. Swait()
  3350. MEME.Parent = Effects
  3351. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3352. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3353. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3354. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3355. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3356. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3357. end
  3358. if DANCE == false then
  3359. break
  3360. end
  3361. for i = 1, 15 do
  3362. Swait()
  3363. MEME.Parent = Effects
  3364. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3365. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3366. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3367. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3368. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3369. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3370. end
  3371. end
  3372. KEY:Disconnect()
  3373. MEME:remove()
  3374. Speed = 25
  3375. ATTACK = false
  3376. Rooted = false
  3377. end
  3378.  
  3379. function TimeStop ()
  3380. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  3381. CHOICE = 6
  3382. CreateSound(1193182658, Character, 5, 1, false)
  3383. back = CreateSound(1841228386, Character, 9999, 1, false)
  3384. local killsky = Instance.new('Sky', game:GetService'Lighting')
  3385. killsky.SkyboxBk = "rbxassetid://1013852"
  3386. killsky.SkyboxDn = "rbxassetid://1013853"
  3387. killsky.SkyboxFt = "rbxassetid://1013850"
  3388. killsky.SkyboxLf = "rbxassetid://1013851"
  3389. killsky.SkyboxRt = "rbxassetid://1013849"
  3390. killsky.SkyboxUp = "rbxassetid://1013854"
  3391. killsky.StarCount = 0
  3392. killsky.SunAngularSize = 0
  3393. killsky.MoonAngularSize = 0
  3394. killsky.MoonTextureId = ""
  3395. killsky.CelestialBodiesShown = false
  3396. game.Lighting.FogColor = Color3.new(1,1,0)
  3397. game.Lighting.FogEnd = 1400
  3398. if HITFLOOR ~= nil then
  3399. ATTACK = false
  3400. Rooted = false
  3401. local RINGSPIN = true
  3402. local CONSTRUCTING = true
  3403. local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
  3404. RING.Color = C3(0,0,0)
  3405. MakeForm(RING,"Cyl")
  3406. RING.CFrame = CF(HITPOS)
  3407. coroutine.resume(coroutine.create(function()
  3408. repeat
  3409. Swait()
  3410. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  3411. until CONSTRUCTING == false
  3412. repeat
  3413. Swait()
  3414. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  3415. until RINGSPIN == false
  3416. for i = 1, 25 do
  3417. Swait()
  3418. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  3419. RING.Size = RING.Size - VT(0.15,0,0.15)
  3420. --DECAL.Transparency = DECAL.Transparency + 1/25
  3421. RING.Transparency = RING.Transparency + 1/25
  3422. end
  3423. RING:remove()
  3424. end))
  3425. for i = 1, 15 do
  3426. Swait()
  3427. RING.Size = RING.Size + VT(0,0,0)
  3428. RING.Transparency = RING.Transparency - 1/15
  3429. end
  3430. end
  3431. local RANDOMEFFECT = MRANDOM(1)
  3432. local BASE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
  3433. BASE.Color = C3(0,0,0)
  3434. BASE.Transparency = 1
  3435. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  3436. if RANDOMEFFECT == 1 then
  3437. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  3438. FIELD.CFrame = BASE.CFrame
  3439. MakeForm(FIELD,"Ball")
  3440. for i = 1, 50 do
  3441. Swait()
  3442. FIELD.Size = VT(0,0,0)
  3443. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  3444. end
  3445. end
  3446. wait(0.2)
  3447. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  3448. FIELD.CFrame = BASE.CFrame
  3449. local LOOP = CreateSound(1393698948, Character, 0, 1, true)
  3450. coroutine.resume(coroutine.create(function()
  3451. for i = 1, 75 do
  3452. Swait()
  3453. LOOP.Volume = LOOP.Volume + 10/75
  3454. LOOP.Parent = FIELD
  3455. local CHILDREN = workspace:GetDescendants()
  3456. for index, CHILD in pairs(CHILDREN) do
  3457. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3458. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3459. if HUM then
  3460. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3461. if TORSO then
  3462. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  3463. HUM.Health = HUM.Health - 0
  3464. TORSO.Velocity = VT(0,5,0)
  3465. HUM.PlatformStand = true
  3466. if TORSO.RotVelocity.Magnitude < 15 then
  3467. TORSO.Anchored = true
  3468. end
  3469. end
  3470. end
  3471. end
  3472. end
  3473. end
  3474. FIELD.Size = FIELD.Size + VT(90,90,90)
  3475. FIELD.Transparency = FIELD.Transparency + 0.8/75
  3476. end
  3477. for i = 1, 500 do
  3478. Swait()
  3479. LOOP.Parent = FIELD
  3480. local CHILDREN = workspace:GetDescendants()
  3481. for index, CHILD in pairs(CHILDREN) do
  3482. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3483. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3484. if HUM then
  3485. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3486. if TORSO then
  3487. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  3488. TORSO.Velocity = VT(0,5,0)
  3489. HUM.Health = HUM.Health - 0
  3490. HUM.PlatformStand = true
  3491. if TORSO.RotVelocity.Magnitude < 15 then
  3492. TORSO.Anchored = true
  3493. end
  3494. end
  3495. end
  3496. end
  3497. end
  3498. end
  3499. end
  3500. wait (20)
  3501. back:Remove()
  3502. CreateSound(1538466750, Character, 99999, 1, false)
  3503. killsky:Remove()
  3504. game.Lighting.FogEnd = 90000000
  3505. wait (5)
  3506. CHOICE = MRANDOM (1,5)
  3507. for i = 1, 25 do
  3508. Swait()
  3509. LOOP.Volume = LOOP.Volume + 10/25
  3510. LOOP.Parent = FIELD
  3511. local CHILDREN = workspace:GetDescendants()
  3512. for index, CHILD in pairs(CHILDREN) do
  3513. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3514. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3515. if HUM then
  3516. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3517. if TORSO then
  3518. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  3519. TORSO.Velocity = VT(0,5,0)
  3520. HUM.Health = HUM.Health - 0
  3521. HUM.PlatformStand = false
  3522. if TORSO.RotVelocity.Magnitude < 15 then
  3523. TORSO.Anchored = false
  3524. end
  3525. end
  3526. end
  3527. end
  3528. end
  3529. FIELD.Size = FIELD.Size - VT(3,3,3)
  3530. FIELD.Transparency = FIELD.Transparency + 0.2/25
  3531. end
  3532. end
  3533. end))
  3534. FIELD:Remove()
  3535. ATTACK = false
  3536. Rooted = false
  3537. end
  3538.  
  3539. function FingerMagic()
  3540. ATTACK = true
  3541. Rooted = false
  3542. for i=0, 0.1, 0.1 / Animation_Speed do
  3543. Swait()
  3544. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3545. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3546. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3547. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3548. end
  3549. for i=0, 1, 0.1 / Animation_Speed do
  3550. Swait()
  3551. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3552. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3553. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3554. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.15 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3555. end
  3556. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1})
  3557. for i = 1, 5 do
  3558. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,7,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 2, SoundVolume = 1})
  3559. end
  3560. CreateSound(217767125, LeftArm, 10, 1, false)
  3561. coroutine.resume(coroutine.create(function()
  3562. local EXPLODED = false
  3563. for i = 1, 3 do
  3564. coroutine.resume(coroutine.create(function()
  3565. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  3566. if HITFLOOR then
  3567. local CFRAME = CF(HITPOS) * ANGLES(RAD(0), RAD((360/3)*i), RAD(0))
  3568. for i = 1, 35 do
  3569. wait()
  3570. for _, c in pairs(workspace:GetChildren()) do
  3571. if EXPLODED == false and c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then
  3572. local HUM = c:FindFirstChildOfClass("Humanoid")
  3573. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  3574. if TORSO and HUM.Health > 0 then
  3575. if (TORSO.Position - CFRAME.p).Magnitude < 10 then
  3576. EXPLODED = true
  3577. coroutine.resume(coroutine.create(function()
  3578. for i = 1, 15 do
  3579. Kill(CFRAME*CF(0,10,0).p,30+(i*4),0,0,-35,false)
  3580. wait(0.2)
  3581. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(15+(i*2),5,15+(i*2)), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  3582. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(15,15,15)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1})
  3583. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(12,12,12)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.7,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 1})
  3584. end
  3585. WACKYEFFECT({Time = 50, EffectType = "Block", Size = VT(15,15,15)+VT(i*2,i*2,i*2), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 1, SoundVolume = 1})
  3586. wait(1)
  3587. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(100,100,100)*5, Transparency = 0.4, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0,0), SoundID = 461105534, SoundPitch = 1, SoundVolume = 10})
  3588. local PART = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  3589. PART.CFrame = CFRAME*CF(0,10,0)
  3590. Debris:AddItem(PART,10)
  3591. local PARTICLES = script.Explode:Clone()
  3592. PARTICLES.Parent = PART
  3593. PARTICLES:Emit(500)
  3594. Kill(CFRAME*CF(0,10,0).p,45*2,0,0,350,true)
  3595. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(90,90,90)*2, Transparency = 0.8, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 3})
  3596. WACKYEFFECT({EffectType = "Ring", Size = VT(00,0.01)/20, Size2 = VT(35,35,0.01), Transparency = 0.7, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0)*ANGLES(RAD(0), RAD(90), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3597. WACKYEFFECT({EffectType = "Ring", Size = VT(00,0.01)/20, Size2 = VT(35,35,0.01), Transparency = 0.7, Transparency2 = 1, CFrame = CFRAME*CF(0,10,0)*ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3598. end))
  3599. end
  3600. end
  3601. end
  3602. end
  3603. if EXPLODED == true then
  3604. break
  3605. end
  3606. CFRAME = CFRAME * ANGLES(RAD(0), RAD(10), RAD(0)) * CF(0,0,-3)
  3607. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(10,15,10), Size2 = VT(0,35,0), Transparency = 1, Transparency2 = 0.9, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  3608. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(15,15,15), Size2 = VT(0,25,0), Transparency = 1, Transparency2 = 0.6, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Maroon".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  3609. end
  3610. end
  3611. end))
  3612. end
  3613. end))
  3614. for i=0, 1, 0.1 / Animation_Speed do
  3615. Swait()
  3616. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3617. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(0 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3618. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3619. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15 + 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(170), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3620. end
  3621. ATTACK = false
  3622. Rooted = false
  3623. end
  3624.  
  3625. function PainlessRain()
  3626. ATTACK = true
  3627. Rooted = true
  3628. local SPOTS = {}
  3629. local BULLETS = 0
  3630. repeat
  3631. BULLETS = BULLETS + 1
  3632. for i = 1, 15 do
  3633. Swait()
  3634. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3635. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  3636. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  3637. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3638. end
  3639. until KEYHOLD == false
  3640. for i = 1, BULLETS do
  3641. for i=0, 0.5, 0.1 / Animation_Speed do
  3642. Swait()
  3643. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3644. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3645. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3646. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3647. end
  3648. local HITFLOOR,HITPOS = Raycast(Mouse.Hit.p+VT(0,1,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 150, Character)
  3649. table.insert(SPOTS,HITPOS)
  3650.  
  3651. for i=0, 0.35, 0.1 / Animation_Speed do
  3652. Swait()
  3653.  
  3654. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(65 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3655. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(-65 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3656. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3657. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3658. end
  3659. end
  3660. coroutine.resume(coroutine.create(function()
  3661. for i = 1, #SPOTS do
  3662. wait(0.1)
  3663. coroutine.resume(coroutine.create(function()
  3664. local SPOT = SPOTS[i]
  3665. local BOLT = Lightning({Material = "Neon", FadeIn = true, Color = C3(1,0,0), Start = SPOT+VT(0,150,0), End = SPOT, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 125, Thicken = true})
  3666. local POSITION = BOLT.Pos
  3667. ApplyAoE(POSITION,75/2,0,0,350,true)
  3668. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(50,150,50), Transparency = 0.3, Transparency2 = 1, CFrame = CF(POSITION), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 3})
  3669. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(15,0,15), Size2 = VT(75,5,75), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = 165970126, SoundPitch = 1, SoundVolume = 4})
  3670. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(15,0,15), Size2 = VT(35,15,35), Transparency = 0, Transparency2 = 1, CFrame = CF(POSITION), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Really red".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  3671. end))
  3672. end
  3673. end))
  3674. ATTACK = false
  3675. Rooted = false
  3676. end
  3677.  
  3678. function Noclip()
  3679. ATTACK = true
  3680. Rooted = true
  3681. UNANCHOR = false
  3682. RootPart.Anchored = true
  3683. local CLIPPING = true
  3684. local MOVEMENT = nil
  3685. CreateSound(96098241, Torso, 3, MRANDOM(9,12)/10, false)
  3686. for i = 1, 50 do
  3687. Swait()
  3688. EXTRATRANS = EXTRATRANS + 0.5/50
  3689. RootPart.CFrame = RootPart.CFrame * CF(0,(1-(i/50))/4.3,0)
  3690. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3691. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3692. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3693. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3694. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3695. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3696. end
  3697. local AURA = CreateSound(1393698948, Torso, 3, 1, true)
  3698. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  3699. if NEWKEY == "w" then
  3700. MOVEMENT = "Forward"
  3701. repeat
  3702. Swait()
  3703. RootPart.CFrame = RootPart.CFrame * CF(0,0,-0.2)
  3704. until KEYHOLD == false
  3705. elseif NEWKEY == "s" then
  3706. MOVEMENT = "Backwards"
  3707. repeat
  3708. Swait()
  3709. RootPart.CFrame = RootPart.CFrame * CF(0,0,0.2)
  3710. until KEYHOLD == false
  3711. elseif NEWKEY == "a" then
  3712. MOVEMENT = "Strafe"
  3713. repeat
  3714. Swait()
  3715. RootPart.CFrame = RootPart.CFrame * CF(0.2,0,0)
  3716. until KEYHOLD == false
  3717. elseif NEWKEY == "d" then
  3718. MOVEMENT = "Strafe"
  3719. repeat
  3720. Swait()
  3721. RootPart.CFrame = RootPart.CFrame * CF(-0.2,0,0)
  3722. until KEYHOLD == false
  3723. elseif NEWKEY == "e" then
  3724. CLIPPING = false
  3725. end
  3726. MOVEMENT = nil
  3727. end)
  3728. local LOOP = 0
  3729. repeat
  3730. Swait()
  3731. AURA.Parent = Torso
  3732. LOOP = LOOP + 1
  3733. if LOOP >= 15 then
  3734. LOOP = 0
  3735. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(15,1,15), Transparency = 0.7, Transparency2 = 1, CFrame = CF(RootPart.CFrame*CF(0,-3.5,0).p), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3736. end
  3737. if MOVEMENT == nil then
  3738. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3739. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3740. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3741. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3742. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3743. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3744. elseif MOVEMENT == "Forward" then
  3745. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3746. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3747. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3748. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3749. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3750. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3751. elseif MOVEMENT == "Backwards" then
  3752. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3753. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3754. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3755. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3756. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3757. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3758. elseif MOVEMENT == "Strafe" then
  3759. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3760. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3761. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3762. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3763. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3764. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3765. end
  3766. until CLIPPING == false
  3767. KEY:Disconnect()
  3768. coroutine.resume(coroutine.create(function()
  3769. for i = 1, 20 do
  3770. Swait()
  3771. AURA.Volume = AURA.Volume - 3/20
  3772. end
  3773. AURA:remove()
  3774. end))
  3775. CreateSound(814168787, Torso, 1, MRANDOM(9,12)/10, false)
  3776. for i = 1, 50 do
  3777. Swait()
  3778. EXTRATRANS = EXTRATRANS - 0.5/50
  3779. RootPart.CFrame = RootPart.CFrame * CF(0,-(1-(i/50))/4.3,0)
  3780. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3781. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3782. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3783. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3784. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3785. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3786. end
  3787. EXTRATRANS = 0
  3788. UNANCHOR = true
  3789. ATTACK = false
  3790. Rooted = false
  3791. end
  3792.  
  3793. --//=================================\\
  3794. --|| ASSIGN THINGS TO KEYS
  3795. --\\=================================//
  3796.  
  3797. function MouseDown(Mouse)
  3798. HOLD = true
  3799. if ATTACK == false then
  3800. end
  3801. end
  3802.  
  3803. function MouseUp(Mouse)
  3804. HOLD = false
  3805. end
  3806.  
  3807. function KeyDown(Key)
  3808. KEYHOLD = true
  3809. if Key == "q" and ATTACK == false then
  3810. Warp()
  3811. end
  3812.  
  3813. if Key == "b" and ATTACK == false then
  3814. TimeStop()
  3815. end
  3816.  
  3817. if Key == "v" and ATTACK == false then
  3818. Madness()
  3819. end
  3820.  
  3821. if Key == "x" and ATTACK == false then
  3822. Mercy()
  3823. end
  3824.  
  3825. if Key == "t" and ATTACK == false then
  3826. HI()
  3827. end
  3828.  
  3829. if Key == "f" and ATTACK == false then
  3830. FingerMagic()
  3831. end
  3832.  
  3833. if Key == "r" and ATTACK == false then
  3834. PainlessRain()
  3835. end
  3836.  
  3837. if Key == "z" and ATTACK == false then
  3838. Darkness()
  3839. end
  3840.  
  3841. if Key == "c" and ATTACK == false then
  3842. Banisher_Bullet()
  3843. end
  3844.  
  3845. if Key == "e" and ATTACK == false then
  3846. Noclip()
  3847. end
  3848.  
  3849. if Key == "p" and ATTACK == false then
  3850. TakeOnMe()
  3851. end
  3852. end
  3853.  
  3854. function KeyUp(Key)
  3855. KEYHOLD = false
  3856. end
  3857.  
  3858. Mouse.Button1Down:connect(function(NEWKEY)
  3859. MouseDown(NEWKEY)
  3860. end)
  3861. Mouse.Button1Up:connect(function(NEWKEY)
  3862. MouseUp(NEWKEY)
  3863. end)
  3864. Mouse.KeyDown:connect(function(NEWKEY)
  3865. KeyDown(NEWKEY)
  3866. end)
  3867. Mouse.KeyUp:connect(function(NEWKEY)
  3868. KeyUp(NEWKEY)
  3869. end)
  3870.  
  3871. --//=================================\\
  3872. --\\=================================//
  3873.  
  3874.  
  3875. function unanchor()
  3876. if UNANCHOR == true then
  3877. RootPart.Anchored = false
  3878. end
  3879. g = Character:GetChildren()
  3880. for i = 1, #g do
  3881. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  3882. g[i].Anchored = false
  3883. end
  3884. end
  3885. g = Weapon:GetChildren()
  3886. for i = 1, #g do
  3887. if g[i].ClassName == "Part" then
  3888. g[i].Anchored = false
  3889. end
  3890. end
  3891. end
  3892.  
  3893.  
  3894. --//=================================\\
  3895. --|| WRAP THE WHOLE SCRIPT UP
  3896. --\\=================================//
  3897.  
  3898. Humanoid.Changed:connect(function(Jump)
  3899. if Jump == "Jump" and (Disable_Jump == true) then
  3900. Humanoid.Jump = false
  3901. end
  3902. end)
  3903.  
  3904. while true do
  3905. Swait()
  3906. refit()
  3907. script.Parent = WEAPONGUI
  3908. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3909. v:Stop();
  3910. end
  3911. ANIMATE.Parent = nil
  3912. SINE = SINE + CHANGE*1.5
  3913. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3914. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3915. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  3916. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  3917. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3918. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) * SIZE) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3919. Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * 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)
  3920. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3921. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3922. Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3923. end
  3924. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3925. ANIM = "Jump"
  3926. if ATTACK == false then
  3927. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3928. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3929. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3930. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3931. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  3932. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  3933. end
  3934. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3935. ANIM = "Fall"
  3936. if ATTACK == false then
  3937. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3938. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3939. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3940. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3941. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  3942. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  3943. end
  3944. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3945. ANIM = "Idle"
  3946. if ATTACK == false then
  3947. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3948. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3949. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3950. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3951. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3952. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3953. end
  3954. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3955. ANIM = "Walk"
  3956. if ATTACK == false then
  3957. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3958. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3959. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3960. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3961. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3962. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3963. end
  3964. end
  3965. unanchor()
  3966. Humanoid.MaxHealth = "inf"
  3967. Humanoid.Health = "inf"
  3968. if Rooted == false then
  3969. Disable_Jump = false
  3970. Humanoid.WalkSpeed = Speed
  3971. elseif Rooted == true then
  3972. Disable_Jump = true
  3973. Humanoid.WalkSpeed = 0
  3974. end
  3975. for _, c in pairs(Character:GetChildren()) do
  3976. if c.ClassName == "Part" and c.Name ~= "Detail" then
  3977. c.Material = "Fabric"
  3978. if c:FindFirstChildOfClass("ParticleEmitter") then
  3979. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  3980. end
  3981. if c ~= Head then
  3982. c.Color = C3(0,0,0)
  3983. else
  3984. c.Color = C3(0,0,0)
  3985. end
  3986. if c == Head then
  3987. if c:FindFirstChild("face") then
  3988. c.face:remove()
  3989. end
  3990. end
  3991. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  3992. c:remove()
  3993. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  3994. c:remove()
  3995. end
  3996. end
  3997. sick.SoundId = "rbxassetid://"..bored[CHOICE]
  3998. sick.Looped = true
  3999. sick.Pitch = 1
  4000. sick.Volume = 999999
  4001. sick.Parent = Character
  4002. sick:Resume()
  4003. --sick.Playing = false
  4004. Humanoid.Name = "Master of Time = "..Player.Name
  4005. end
  4006.  
  4007. --//=================================\\
  4008. --\\=================================//
  4009.  
  4010.  
  4011.  
  4012.  
  4013.  
  4014. --//====================================================\\--
  4015. --|| END OF SCRIPT
  4016. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement