Advertisement
5sdfsadgaq5465

Warden edit

Jun 16th, 2019
681
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83. wait(0.2)
  84.  
  85. Player = owner
  86. PlayerGui = Player.PlayerGui
  87. Cam = workspace.CurrentCamera
  88. Backpack = Player.Backpack
  89. Character = Player.Character
  90. Humanoid = Character.Humanoid
  91. RootPart = Character["HumanoidRootPart"]
  92. Torso = Character["Torso"]
  93. Head = Character["Head"]
  94. RightArm = Character["Right Arm"]
  95. LeftArm = Character["Left Arm"]
  96. RightLeg = Character["Right Leg"]
  97. LeftLeg = Character["Left Leg"]
  98. RootJoint = RootPart["RootJoint"]
  99. Neck = Torso["Neck"]
  100. RightShoulder = Torso["Right Shoulder"]
  101. LeftShoulder = Torso["Left Shoulder"]
  102. RightHip = Torso["Right Hip"]
  103. LeftHip = Torso["Left Hip"]
  104. local sick = Instance.new("Sound",Character)
  105. sick.SoundId = "rbxassetid://142603362"
  106. sick.Looped = true
  107. sick.Pitch = 1
  108. sick.Volume = 1
  109. sick:Play()
  110.  
  111. IT = Instance.new
  112. CF = CFrame.new
  113. VT = Vector3.new
  114. RAD = math.rad
  115. C3 = Color3.new
  116. UD2 = UDim2.new
  117. BRICKC = BrickColor.new
  118. ANGLES = CFrame.Angles
  119. EULER = CFrame.fromEulerAnglesXYZ
  120. COS = math.cos
  121. ACOS = math.acos
  122. SIN = math.sin
  123. ASIN = math.asin
  124. ABS = math.abs
  125. MRANDOM = math.random
  126. FLOOR = math.floor
  127. Class_Name = "₩₳ⱤĐɆ₦.exe"
  128. Editor_Name = "JkBananaPill_H2O"
  129.  
  130.  
  131. --//=================================\\
  132. --|| USEFUL VALUES
  133. --\\=================================//
  134.  
  135. local SIZE = 1
  136. Animation_Speed = 3
  137. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  138. local Speed = 100
  139. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  140. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  141. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  142. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  143. local DAMAGEMULTIPLIER = 1
  144. local ANIM = "Idle"
  145. local ATTACK = false
  146. local EQUIPPED = false
  147. local HOLD = false
  148. local COMBO = 1
  149. local Rooted = false
  150. local SINE = 0
  151. local KEYHOLD = false
  152. local CHANGE = 2 / Animation_Speed
  153. local WALKINGANIM = false
  154. local VALUE1 = false
  155. local VALUE2 = false
  156. local ROBLOXIDLEANIMATION = IT("Animation")
  157. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  158. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  159. --ROBLOXIDLEANIMATION.Parent = Humanoid
  160. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  161. WEAPONGUI.Name = "Weapon GUI"
  162. local Effects = IT("Folder", Character)
  163. Effects.Name = "Effects"
  164. local ANIMATOR = Humanoid.Animator
  165. local ANIMATE = Character.Animate
  166. local UNANCHOR = true
  167. local PLAYMAINANIM = true
  168. local BOLTSOUNDS = {168586621,168586586,178452241}
  169.  
  170. --//=================================\\
  171. --\\=================================//
  172. local Player = owner
  173. function RemoveOutlines(part)
  174. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  175. end
  176. local Create = LoadLibrary("RbxUtility").Create
  177.  
  178. CFuncs = {
  179. ["Part"] = {
  180. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  181. local Part = Create("Part"){
  182. Parent = Parent,
  183. Reflectance = Reflectance,
  184. Transparency = Transparency,
  185. CanCollide = false,
  186. Locked = true,
  187. BrickColor = BrickColor.new(tostring(BColor)),
  188. Name = Name,
  189. Size = Size,
  190. Material = Material,
  191. }
  192. RemoveOutlines(Part)
  193. return Part
  194. end;
  195. };
  196. ["Sound"] = {
  197. Create = function(id, par, vol, pit)
  198. coroutine.resume(coroutine.create(function()
  199. local S = Create("Sound"){
  200. Volume = vol,
  201. Pitch = pit or 1,
  202. SoundId = id,
  203. Parent = par or workspace,
  204. }
  205. wait()
  206. S:play()
  207. game:GetService("Debris"):AddItem(S, 6)
  208. end))
  209. end;
  210. };
  211. }
  212.  
  213. local toggleTag = true
  214. local txt = Instance.new("BillboardGui", Head)
  215. txt.Adornee = nil
  216. txt.Name = "NameDetect"
  217. txt.Size = UDim2.new(4, 0, 1.2, 0)
  218. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  219. local text = Instance.new("TextLabel", txt)
  220. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  221. text.FontSize = "Size8"
  222. text.TextScaled = true
  223. text.TextTransparency = 0
  224. text.BackgroundTransparency = 1
  225. text.TextTransparency = 0
  226. text.TextStrokeTransparency = 0
  227. text.Font = "Garamond"
  228. text.TextStrokeColor3 = Color3.new(0,1,1)
  229. text.TextColor3 = Color3.new(0,0,0)
  230. text.Text = "The Warden Of The City"
  231.  
  232. local Char = Character
  233.  
  234. function RecolorTextAndRename(name,col1,col2)
  235. text.TextStrokeColor3 = col2
  236. text.TextColor3 = col1
  237. text.Text = name
  238. end
  239. RecolorTextAndRename("The Warden Of The Server",Color3.new(0,0,0),Color3.new(0,0,1))
  240.  
  241. function chatfunc(text)
  242. local chat = coroutine.wrap(function()
  243. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  244. Char:FindFirstChild("TalkingBillBoard"):destroy()
  245. end
  246. local naeeym2 = Instance.new("BillboardGui",Char)
  247. naeeym2.Size = UDim2.new(0,100,0,40)
  248. naeeym2.StudsOffset = Vector3.new(0,3,0)
  249. naeeym2.Adornee = Char.Head
  250. naeeym2.Name = "TalkingBillBoard"
  251. local tecks2 = Instance.new("TextLabel",naeeym2)
  252. tecks2.BackgroundTransparency = 1
  253. tecks2.BorderSizePixel = 0
  254. tecks2.Text = ""
  255. tecks2.Font = "Antique"
  256. tecks2.TextSize = 30
  257. tecks2.TextStrokeTransparency = 0
  258. tecks2.TextColor3 = Color3.new(.6,0,0)
  259. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  260. tecks2.Size = UDim2.new(1,0,0.5,0)
  261. local tecks3 = Instance.new("TextLabel",naeeym2)
  262. tecks3.BackgroundTransparency = 1
  263. tecks3.BorderSizePixel = 0
  264. tecks3.Text = ""
  265. tecks3.Font = "Antique"
  266. tecks3.TextSize = 30
  267. tecks3.TextStrokeTransparency = 0
  268. tecks3.TextColor3 = BrickColor.new("Hot white").Color
  269. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  270. tecks3.Size = UDim2.new(1,0,0.5,0)
  271. spawn(function()
  272. while wait() do
  273. tecks3.TextColor3 = BrickColor.random().Color
  274. tecks2.TextColor3 = BrickColor.random().Color
  275. end
  276. end)
  277. for i = 1,string.len(text),1 do
  278. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=418252437", Char, 1, 1)
  279. tecks2.Text = string.sub(text,1,i)
  280. tecks3.Text = string.sub(text,1,i)
  281. wait(0.01)
  282. end
  283. wait(2)
  284. for i = 1, 50 do
  285. Swait()
  286. tecks2.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  287. tecks2.Rotation = tecks2.Rotation - .8
  288. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  289. tecks2.TextTransparency = tecks2.TextTransparency + .04
  290. tecks3.Position = tecks2.Position - UDim2.new(math.random(-1,1),math.random(-5,5),.05,math.random(-5,5))
  291. tecks3.Rotation = tecks2.Rotation + .8
  292. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  293. tecks3.TextTransparency = tecks2.TextTransparency + .04
  294. end
  295. naeeym2:Destroy()
  296. end)
  297. chat()
  298. end
  299. function onChatted(msg)
  300. chatfunc(msg)
  301. end
  302. Player.Chatted:connect(onChatted)
  303.  
  304. --//=================================\\
  305. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  306. --\\=================================//
  307.  
  308. ArtificialHB = Instance.new("BindableEvent", script)
  309. ArtificialHB.Name = "ArtificialHB"
  310.  
  311. script:WaitForChild("ArtificialHB")
  312.  
  313. frame = Frame_Speed
  314. tf = 0
  315. allowframeloss = false
  316. tossremainder = false
  317. lastframe = tick()
  318. script.ArtificialHB:Fire()
  319.  
  320. game:GetService("RunService").Heartbeat:connect(function(s, p)
  321. tf = tf + s
  322. if tf >= frame then
  323. if allowframeloss then
  324. script.ArtificialHB:Fire()
  325. lastframe = tick()
  326. else
  327. for i = 1, math.floor(tf / frame) do
  328. script.ArtificialHB:Fire()
  329. end
  330. lastframe = tick()
  331. end
  332. if tossremainder then
  333. tf = 0
  334. else
  335. tf = tf - frame * math.floor(tf / frame)
  336. end
  337. end
  338. end)
  339.  
  340. --//=================================\\
  341. --\\=================================//
  342. print(Class_Name.." Loaded")
  343. print(Editor_Name.." Edited This")
  344. --//=================================\\
  345. --|| SOME FUNCTIONS
  346. --\\=================================//
  347.  
  348. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  349. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  350. end
  351.  
  352. function PositiveAngle(NUMBER)
  353. if NUMBER >= 0 then
  354. NUMBER = 0
  355. end
  356. return NUMBER
  357. end
  358.  
  359. function NegativeAngle(NUMBER)
  360. if NUMBER <= 0 then
  361. NUMBER = 0
  362. end
  363. return NUMBER
  364. end
  365.  
  366. function Swait(NUMBER)
  367. if NUMBER == 0 or NUMBER == nil then
  368. ArtificialHB.Event:wait()
  369. else
  370. for i = 1, NUMBER do
  371. ArtificialHB.Event:wait()
  372. end
  373. end
  374. end
  375.  
  376. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  377. local NEWMESH = IT(MESH)
  378. if MESH == "SpecialMesh" then
  379. NEWMESH.MeshType = MESHTYPE
  380. if MESHID ~= "nil" and MESHID ~= "" then
  381. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  382. end
  383. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  384. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  385. end
  386. end
  387. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  388. NEWMESH.Scale = SCALE
  389. NEWMESH.Parent = PARENT
  390. return NEWMESH
  391. end
  392.  
  393. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  394. local NEWPART = IT("Part")
  395. NEWPART.formFactor = FORMFACTOR
  396. NEWPART.Reflectance = REFLECTANCE
  397. NEWPART.Transparency = TRANSPARENCY
  398. NEWPART.CanCollide = false
  399. NEWPART.Locked = true
  400. NEWPART.Anchored = true
  401. if ANCHOR == false then
  402. NEWPART.Anchored = false
  403. end
  404. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  405. NEWPART.Name = NAME
  406. NEWPART.Size = SIZE
  407. NEWPART.Position = Torso.Position
  408. NEWPART.Material = MATERIAL
  409. NEWPART:BreakJoints()
  410. NEWPART.Parent = PARENT
  411. return NEWPART
  412. end
  413.  
  414. local function weldBetween(a, b)
  415. local weldd = Instance.new("ManualWeld")
  416. weldd.Part0 = a
  417. weldd.Part1 = b
  418. weldd.C0 = CFrame.new()
  419. weldd.C1 = b.CFrame:inverse() * a.CFrame
  420. weldd.Parent = a
  421. return weldd
  422. end
  423.  
  424.  
  425. function QuaternionFromCFrame(cf)
  426. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  427. local trace = m00 + m11 + m22
  428. if trace > 0 then
  429. local s = math.sqrt(1 + trace)
  430. local recip = 0.5 / s
  431. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  432. else
  433. local i = 0
  434. if m11 > m00 then
  435. i = 1
  436. end
  437. if m22 > (i == 0 and m00 or m11) then
  438. i = 2
  439. end
  440. if i == 0 then
  441. local s = math.sqrt(m00 - m11 - m22 + 1)
  442. local recip = 0.5 / s
  443. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  444. elseif i == 1 then
  445. local s = math.sqrt(m11 - m22 - m00 + 1)
  446. local recip = 0.5 / s
  447. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  448. elseif i == 2 then
  449. local s = math.sqrt(m22 - m00 - m11 + 1)
  450. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  451. end
  452. end
  453. end
  454.  
  455. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  456. local xs, ys, zs = x + x, y + y, z + z
  457. local wx, wy, wz = w * xs, w * ys, w * zs
  458. local xx = x * xs
  459. local xy = x * ys
  460. local xz = x * zs
  461. local yy = y * ys
  462. local yz = y * zs
  463. local zz = z * zs
  464. 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))
  465. end
  466.  
  467. function QuaternionSlerp(a, b, t)
  468. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  469. local startInterp, finishInterp;
  470. if cosTheta >= 0.0001 then
  471. if (1 - cosTheta) > 0.0001 then
  472. local theta = ACOS(cosTheta)
  473. local invSinTheta = 1 / SIN(theta)
  474. startInterp = SIN((1 - t) * theta) * invSinTheta
  475. finishInterp = SIN(t * theta) * invSinTheta
  476. else
  477. startInterp = 1 - t
  478. finishInterp = t
  479. end
  480. else
  481. if (1 + cosTheta) > 0.0001 then
  482. local theta = ACOS(-cosTheta)
  483. local invSinTheta = 1 / SIN(theta)
  484. startInterp = SIN((t - 1) * theta) * invSinTheta
  485. finishInterp = SIN(t * theta) * invSinTheta
  486. else
  487. startInterp = t - 1
  488. finishInterp = t
  489. end
  490. end
  491. 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
  492. end
  493.  
  494. function Clerp(a, b, t)
  495. local qa = {QuaternionFromCFrame(a)}
  496. local qb = {QuaternionFromCFrame(b)}
  497. local ax, ay, az = a.x, a.y, a.z
  498. local bx, by, bz = b.x, b.y, b.z
  499. local _t = 1 - t
  500. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  501. end
  502.  
  503. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  504. local frame = IT("Frame")
  505. frame.BackgroundTransparency = TRANSPARENCY
  506. frame.BorderSizePixel = BORDERSIZEPIXEL
  507. frame.Position = POSITION
  508. frame.Size = SIZE
  509. frame.BackgroundColor3 = COLOR
  510. frame.BorderColor3 = BORDERCOLOR
  511. frame.Name = NAME
  512. frame.Parent = PARENT
  513. return frame
  514. end
  515.  
  516. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  517. local label = IT("TextLabel")
  518. label.BackgroundTransparency = 1
  519. label.Size = UD2(1, 0, 1, 0)
  520. label.Position = UD2(0, 0, 0, 0)
  521. label.TextColor3 = TEXTCOLOR
  522. label.TextStrokeTransparency = STROKETRANSPARENCY
  523. label.TextTransparency = TRANSPARENCY
  524. label.FontSize = TEXTFONTSIZE
  525. label.Font = TEXTFONT
  526. label.BorderSizePixel = BORDERSIZEPIXEL
  527. label.TextScaled = false
  528. label.Text = TEXT
  529. label.Name = NAME
  530. label.Parent = PARENT
  531. return label
  532. end
  533.  
  534. function NoOutlines(PART)
  535. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  536. end
  537.  
  538. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  539. local NEWWELD = IT(TYPE)
  540. NEWWELD.Part0 = PART0
  541. NEWWELD.Part1 = PART1
  542. NEWWELD.C0 = C0
  543. NEWWELD.C1 = C1
  544. NEWWELD.Parent = PARENT
  545. return NEWWELD
  546. end
  547.  
  548.  
  549.  
  550. CFuncs = {
  551. ["Part"] = {
  552. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  553. local Part = Create("Part"){
  554. Parent = Parent,
  555. Reflectance = Reflectance,
  556. Transparency = Transparency,
  557. CanCollide = false,
  558. Locked = true,
  559. BrickColor = BrickColor.new(tostring(BColor)),
  560. Name = Name,
  561. Size = Size,
  562. Material = Material,
  563. }
  564. RemoveOutlines(Part)
  565. return Part
  566. end;
  567. };
  568.  
  569. ["Mesh"] = {
  570. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  571. local Msh = Create(Mesh){
  572. Parent = Part,
  573. Offset = OffSet,
  574. Scale = Scale,
  575. }
  576. if Mesh == "SpecialMesh" then
  577. Msh.MeshType = MeshType
  578. Msh.MeshId = MeshId
  579. end
  580. return Msh
  581. end;
  582. };
  583.  
  584. ["Mesh"] = {
  585. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  586. local Msh = Create(Mesh){
  587. Parent = Part,
  588. Offset = OffSet,
  589. Scale = Scale,
  590. }
  591. if Mesh == "SpecialMesh" then
  592. Msh.MeshType = MeshType
  593. Msh.MeshId = MeshId
  594. end
  595. return Msh
  596. end;
  597. };
  598.  
  599. ["Weld"] = {
  600. Create = function(Parent, Part0, Part1, C0, C1)
  601. local Weld = Create("Weld"){
  602. Parent = Parent,
  603. Part0 = Part0,
  604. Part1 = Part1,
  605. C0 = C0,
  606. C1 = C1,
  607. }
  608. return Weld
  609. end;
  610. };
  611.  
  612. ["Sound"] = {
  613. Create = function(id, par, vol, pit)
  614. coroutine.resume(coroutine.create(function()
  615. local S = Create("Sound"){
  616. Volume = vol,
  617. Name = "EffectSoundo",
  618. Pitch = pit or 1,
  619. SoundId = id,
  620. Parent = par or workspace,
  621. }
  622. wait()
  623. S:play()
  624. game:GetService("Debris"):AddItem(S, 10)
  625. end))
  626. end;
  627. };
  628.  
  629. ["TimeSound"] = {
  630. Create = function(id, par, vol, pit, timepos)
  631. coroutine.resume(coroutine.create(function()
  632. local S = Create("Sound"){
  633. Volume = vol,
  634. Name = "EffectSoundo",
  635. Pitch = pit or 1,
  636. SoundId = id,
  637. TimePosition = timepos,
  638. Parent = par or workspace,
  639. }
  640. wait()
  641. S:play()
  642. game:GetService("Debris"):AddItem(S, 10)
  643. end))
  644. end;
  645. };
  646. ["EchoSound"] = {
  647. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  648. coroutine.resume(coroutine.create(function()
  649. local Sas = Create("Sound"){
  650. Volume = vol,
  651. Name = "EffectSoundo",
  652. Pitch = pit or 1,
  653. SoundId = id,
  654. TimePosition = timepos,
  655. Parent = par or workspace,
  656. }
  657. local E = Create("EchoSoundEffect"){
  658. Delay = echodelay,
  659. Name = "Echo",
  660. Feedback = fedb,
  661. DryLevel = dryl,
  662. Parent = Sas,
  663. }
  664. wait()
  665. Sas:play()
  666. game:GetService("Debris"):AddItem(Sas, delays)
  667. end))
  668. end;
  669. };
  670.  
  671. ["LongSound"] = {
  672. Create = function(id, par, vol, pit)
  673. coroutine.resume(coroutine.create(function()
  674. local S = Create("Sound"){
  675. Volume = vol,
  676. Pitch = pit or 1,
  677. SoundId = id,
  678. Parent = par or workspace,
  679. }
  680. wait()
  681. S:play()
  682. game:GetService("Debris"):AddItem(S, 60)
  683. end))
  684. end;
  685. };
  686.  
  687. ["ParticleEmitter"] = {
  688. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  689. local fp = Create("ParticleEmitter"){
  690. Parent = Parent,
  691. Color = ColorSequence.new(Color1, Color2),
  692. LightEmission = LightEmission,
  693. Size = Size,
  694. Texture = Texture,
  695. Transparency = Transparency,
  696. ZOffset = ZOffset,
  697. Acceleration = Accel,
  698. Drag = Drag,
  699. LockedToPart = LockedToPart,
  700. VelocityInheritance = VelocityInheritance,
  701. EmissionDirection = EmissionDirection,
  702. Enabled = Enabled,
  703. Lifetime = LifeTime,
  704. Rate = Rate,
  705. Rotation = Rotation,
  706. RotSpeed = RotSpeed,
  707. Speed = Speed,
  708. VelocitySpread = VelocitySpread,
  709. }
  710. return fp
  711. end;
  712. };
  713.  
  714. CreateTemplate = {
  715.  
  716. };
  717. }
  718.  
  719. local S = IT("Sound")
  720. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  721. local NEWSOUND = nil
  722. coroutine.resume(coroutine.create(function()
  723. NEWSOUND = S:Clone()
  724. NEWSOUND.Parent = PARENT
  725. NEWSOUND.Volume = VOLUME
  726. NEWSOUND.Pitch = PITCH
  727. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  728. NEWSOUND:play()
  729. if DOESLOOP == true then
  730. NEWSOUND.Looped = true
  731. else
  732. repeat wait(1) until NEWSOUND.Playing == false
  733. NEWSOUND:remove()
  734. end
  735. end))
  736. return NEWSOUND
  737. end
  738.  
  739.  
  740. local EyeSizes={
  741. NumberSequenceKeypoint.new(0,2,0),
  742. NumberSequenceKeypoint.new(1,0,0)
  743. }
  744. local EyeTrans={
  745. NumberSequenceKeypoint.new(0,0.5,0),
  746. NumberSequenceKeypoint.new(1,1,0)
  747. }
  748. local PE=Instance.new("ParticleEmitter",nil)
  749. PE.LightEmission=.8
  750. PE.Color = ColorSequence.new(BRICKC("Dark blue").Color,BRICKC("Cyan").Color)
  751. PE.Size=NumberSequence.new(EyeSizes)
  752. PE.Transparency=NumberSequence.new(EyeTrans)
  753. PE.Lifetime=NumberRange.new(0.35,1)
  754. PE.Rotation=NumberRange.new(0,360)
  755. PE.Rate=100
  756. PE.VelocitySpread = 10000
  757. PE.Acceleration = Vector3.new(0,85,0)
  758. PE.Drag = 5
  759. PE.Speed = NumberRange.new(0.1,5)
  760. PE.Texture="http://www.roblox.com/asset/?id=1460745664"
  761. PE.ZOffset = 0.5
  762. PE.Name = "PE"
  763. PE.Enabled = false
  764.  
  765. function Fire(art)
  766. local PARTICLES = PE:Clone()
  767. PARTICLES.Parent = art
  768. PARTICLES.Enabled = true
  769. return PARTICLES
  770. end
  771.  
  772. function CFrameFromTopBack(at, top, back)
  773. local right = top:Cross(back)
  774. 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)
  775. end
  776.  
  777. --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})
  778. function WACKYEFFECT(Table)
  779. local TYPE = (Table.EffectType or "Sphere")
  780. local SIZE = (Table.Size or VT(1,1,1))
  781. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  782. local TRANSPARENCY = (Table.Transparency or 0)
  783. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  784. local CFRAME = (Table.CFrame or Torso.CFrame)
  785. local MOVEDIRECTION = (Table.MoveToPos or nil)
  786. local ROTATION1 = (Table.RotationX or 0)
  787. local ROTATION2 = (Table.RotationY or 0)
  788. local ROTATION3 = (Table.RotationZ or 0)
  789. local MATERIAL = (Table.Material or "Neon")
  790. local COLOR = (Table.Color or C3(1,1,1))
  791. local TIME = (Table.Time or 45)
  792. local SOUNDID = (Table.SoundID or nil)
  793. local SOUNDPITCH = (Table.SoundPitch or nil)
  794. local SOUNDVOLUME = (Table.SoundVolume or nil)
  795. coroutine.resume(coroutine.create(function()
  796. local PLAYSSOUND = false
  797. local SOUND = nil
  798. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Dark blue"), "Effect", VT(1,1,1), true)
  799. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  800. PLAYSSOUND = true
  801. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  802. end
  803. EFFECT.Color = COLOR
  804. local MSH = nil
  805. if TYPE == "Sphere" then
  806. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  807. elseif TYPE == "Block" or TYPE == "Box" then
  808. MSH = IT("BlockMesh",EFFECT)
  809. MSH.Scale = SIZE
  810. elseif TYPE == "Wave" then
  811. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  812. elseif TYPE == "Ring" then
  813. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  814. elseif TYPE == "Slash" then
  815. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  816. elseif TYPE == "Round Slash" then
  817. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  818. elseif TYPE == "Swirl" then
  819. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  820. elseif TYPE == "Skull" then
  821. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  822. elseif TYPE == "Crystal" then
  823. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  824. end
  825. if MSH ~= nil then
  826. local MOVESPEED = nil
  827. if MOVEDIRECTION ~= nil then
  828. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  829. end
  830. local GROWTH = SIZE - ENDSIZE
  831. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  832. if TYPE == "Block" then
  833. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  834. else
  835. EFFECT.CFrame = CFRAME
  836. end
  837. for LOOP = 1, TIME+1 do
  838. Swait()
  839. MSH.Scale = MSH.Scale - GROWTH/TIME
  840. if TYPE == "Wave" then
  841. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  842. end
  843. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  844. if TYPE == "Block" then
  845. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  846. else
  847. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  848. end
  849. if MOVEDIRECTION ~= nil then
  850. local ORI = EFFECT.Orientation
  851. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  852. EFFECT.Orientation = ORI
  853. end
  854. end
  855. if PLAYSSOUND == false then
  856. EFFECT:remove()
  857. else
  858. repeat wait(1) until SOUND.Playing == false
  859. EFFECT:remove()
  860. end
  861. else
  862. if PLAYSSOUND == false then
  863. EFFECT:remove()
  864. else
  865. repeat Swait() until SOUND.Playing == false
  866. EFFECT:remove()
  867. end
  868. end
  869. end))
  870. end
  871.  
  872. function MakeForm(PART,TYPE)
  873. if TYPE == "Cyl" then
  874. local MSH = IT("CylinderMesh",PART)
  875. elseif TYPE == "Ball" then
  876. local MSH = IT("SpecialMesh",PART)
  877. MSH.MeshType = "Sphere"
  878. elseif TYPE == "Wedge" then
  879. local MSH = IT("SpecialMesh",PART)
  880. MSH.MeshType = "Wedge"
  881. end
  882. end
  883.  
  884. local LASTPART = Head
  885. for i = 1, 20 do
  886. local MATH = (1-(i/25))
  887. if LASTPART == Head then
  888. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  889. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  890. LASTPART = Horn
  891. Horn.Color = C3((i*3-3)/255,0,0)
  892. else
  893. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  894. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  895. LASTPART = Horn
  896. Horn.Color = C3((i*3-3)/255,0,0)
  897. end
  898. end
  899.  
  900.  
  901. Debris = game:GetService("Debris")
  902.  
  903. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  904. local DIRECTION = CF(StartPos,EndPos).lookVector
  905. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  906. end
  907.  
  908. local HATWELD = nil
  909. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  910. PLAYMAINANIM = false
  911. if WhichPose == "Cast1" then
  912. for i=0, Time, 0.1 / Animation_Speed do
  913. Swait()
  914. if Magic == true then
  915. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  916. end
  917. if Gyro ~= nil and Gyro ~= false then
  918. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  919. end
  920. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  921. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  922. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  923. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  924. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  925. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  926. end
  927. elseif WhichPose == "Cast2" then
  928. for i=0, Time, 0.1 / Animation_Speed do
  929. Swait()
  930. if Magic == true then
  931. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  932. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  933. end
  934. if Gyro ~= nil and Gyro ~= false then
  935. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  936. end
  937. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  938. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  939. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  940. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  941. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  942. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  943. end
  944. elseif WhichPose == "RightArmUp" then
  945. for i=0, Time, 0.1 / Animation_Speed do
  946. Swait()
  947. if Magic == true then
  948. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Cyan".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  949. end
  950. if Gyro ~= nil and Gyro ~= false then
  951. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  952. end
  953. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  954. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  955. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  956. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  957. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  958. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  959. end
  960. elseif WhichPose == "Taunt" then
  961. for i=0, Time, 0.1 / Animation_Speed do
  962. Swait()
  963. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  964. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  965. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  966. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  967. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  968. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  969. end
  970. HATWELD.Part0 = RightArm
  971. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  972. CreateSound(137473066,Torso,10,1,false)
  973. for i=0, Time*2, 0.1 / Animation_Speed do
  974. Swait()
  975. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  976. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  977. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  978. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  979. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  980. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  981. end
  982. for i=0, Time, 0.1 / Animation_Speed do
  983. Swait()
  984. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  985. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  986. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  987. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  988. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  989. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  990. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  991. end
  992. HATWELD.Part0 = Head
  993. HATWELD.C0 = CF(0,0.35,0)
  994. elseif WhichPose == "Prepare key" then
  995. for i=0, Time, 0.1 / Animation_Speed do
  996. Swait()
  997. if Gyro ~= nil and Gyro ~= false then
  998. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  999. end
  1000. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  1001. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  1002. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1003. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1004. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1005. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1006. end
  1007. elseif WhichPose == "Turn key" then
  1008. for i=0, Time, 0.1 / Animation_Speed do
  1009. Swait()
  1010. if Gyro ~= nil and Gyro ~= false then
  1011. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1012. end
  1013. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  1014. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  1015. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1016. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1017. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1018. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1019. end
  1020. end
  1021. PLAYMAINANIM = true
  1022. end
  1023.  
  1024. --Lightning({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})
  1025. function Lightning(Table)
  1026. local Color = Table.Color or C3(1,1,1)
  1027. local StartPos = Table.Start or Torso.Position
  1028. local EndPos = Table.End or Mouse.Hit.p
  1029. local SegmentLength = Table.SegmentL or 2
  1030. local Thickness = Table.Thickness or 0.1
  1031. local Dissapear = Table.DoesFade or false
  1032. local Parent = Table.Ignore or Character
  1033. local MaxDist = Table.MaxDist or 400
  1034. local Branches = Table.Branches or false
  1035. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  1036. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  1037. local LIGHTNINGMODEL = IT("Model",Effects)
  1038. LIGHTNINGMODEL.Name = "Lightning"
  1039. local LastBolt = nil
  1040. for E = 1, DISTANCE do
  1041. local ExtraSize = (DISTANCE-E)/15
  1042. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Dark blue"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  1043. PART.Color = Color
  1044. MakeForm(PART,"Cyl")
  1045. if LastBolt == nil then
  1046. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1047. else
  1048. 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,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  1049. end
  1050. LastBolt = PART
  1051. if Branches == true then
  1052. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  1053. if CHOICE == 1 then
  1054. local LASTBRANCH = nil
  1055. for i = 1, MRANDOM(2,5) do
  1056. local ExtraSize2 = ((DISTANCE-E)/25)/i
  1057. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Dark blue"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  1058. PART.Color = Color
  1059. MakeForm(PART,"Cyl")
  1060. if LASTBRANCH == nil then
  1061. 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)
  1062. else
  1063. 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)
  1064. end
  1065. LASTBRANCH = PART
  1066. end
  1067. end
  1068. end
  1069. end
  1070. if Dissapear == true then
  1071. coroutine.resume(coroutine.create(function()
  1072. for i = 1, 10 do
  1073. Swait()
  1074. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  1075. if c.ClassName == "Part" then
  1076. c.Transparency = i/10
  1077. end
  1078. end
  1079. end
  1080. LIGHTNINGMODEL:remove()
  1081. end))
  1082. elseif Dissapear == false then
  1083. Debris:AddItem(LIGHTNINGMODEL,0.1)
  1084. end
  1085. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  1086. end
  1087.  
  1088. --//=================================\\
  1089. --|| WEAPON CREATION
  1090. --\\=================================//
  1091.  
  1092. for i = 1, 15 do
  1093. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Dark stone grey", "FaceGradient", VT(1.01,0.58,1.01),false)
  1094. FACE.Color = C3(0,0,0)
  1095. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1096. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  1097. end
  1098. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(2,0.2,2),false)
  1099. MakeForm(HAT1,"Cyl")
  1100. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  1101. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(2.01,0.15,2.01),false)
  1102. BELT.Color = C3(15/255,15/255,15/255)
  1103. MakeForm(BELT,"Cyl")
  1104. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  1105. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.3,2.2,1.3),false)
  1106. MakeForm(HAT2,"Cyl")
  1107. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  1108. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.2,1.31),false)
  1109. BELT.Color = C3(15/255,15/255,15/255)
  1110. MakeForm(BELT,"Cyl")
  1111. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  1112. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.25,0.25,0.1),false)
  1113. MakeForm(GEM,"Ball")
  1114. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  1115. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.25,0.25,0.1),false)
  1116. MakeForm(GEM,"Ball")
  1117. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  1118. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.1,0.25,0.25),false)
  1119. MakeForm(GEM,"Ball")
  1120. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  1121. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Cyan", "Gem", VT(0.1,0.25,0.25),false)
  1122. MakeForm(GEM,"Ball")
  1123. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  1124. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  1125. BELT.Color = C3(15/255,15/255,15/255)
  1126. MakeForm(BELT,"Cyl")
  1127. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  1128. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  1129. BELT.Color = C3(15/255,15/255,15/255)
  1130. MakeForm(BELT,"Cyl")
  1131. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  1132. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  1133. BELT.Color = C3(15/255,15/255,15/255)
  1134. MakeForm(BELT,"Cyl")
  1135. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  1136. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.31,0.1,1.31),false)
  1137. BELT.Color = C3(15/255,15/255,15/255)
  1138. MakeForm(BELT,"Cyl")
  1139. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  1140. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dark blue", "Hat", VT(1.3,0.5,1.3),false)
  1141. MakeForm(BELT,"Ball")
  1142. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  1143. Humanoid.DisplayDistanceType = "None"
  1144.  
  1145. local Particle = IT("ParticleEmitter",nil)
  1146. Particle.Enabled = false
  1147. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1148. Particle.LightEmission = 0.5
  1149. Particle.Rate = 150
  1150. Particle.ZOffset = 0.2
  1151. Particle.Rotation = NumberRange.new(-180, 180)
  1152. Particle.RotSpeed = NumberRange.new(-180, 180)
  1153. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1154. Particle.Color = ColorSequence.new(C3(0,0,255),C3(0,255,255))
  1155. local Particle2 = IT("ParticleEmitter",nil)
  1156. Particle2.Enabled = false
  1157. Particle2.Texture = "http://www.roblox.com/asset/?id=1369397597"
  1158. Particle2.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
  1159. Particle2.LightEmission = 0
  1160. Particle2.RotSpeed = NumberRange.new(0, 180)
  1161. Particle2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1162. Particle2.LightEmission = 1
  1163. Particle2.Rate = 20
  1164. Particle2.RotSpeed = NumberRange.new(-20, 20)
  1165. local Particle3 = IT("ParticleEmitter",nil)
  1166. Particle3.Enabled = false
  1167. Particle3.Texture = "http://www.roblox.com/asset/?id=1546470121"
  1168. Particle3.Color = ColorSequence.new(C3(0,0,255),C3(0,0,255))
  1169. Particle3.LightEmission = 0
  1170. Particle3.RotSpeed = NumberRange.new(0, 180)
  1171. Particle3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.7),NumberSequenceKeypoint.new(0.3,.9),NumberSequenceKeypoint.new(1,1)})
  1172. Particle3.LightEmission = 1
  1173. Particle3.Rate = 20
  1174. Particle3.RotSpeed = NumberRange.new(-20, 20)
  1175. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1176. function ParticleEmitter(Table)
  1177. local PRTCL = Particle:Clone()
  1178. local Speed = Table.Speed or 5
  1179. local Drag = Table.Drag or 0
  1180. local Size1 = Table.Size1 or 1
  1181. local Size2 = Table.Size2 or 5
  1182. local Lifetime1 = Table.Lifetime1 or 1
  1183. local Lifetime2 = Table.Lifetime2 or 1.5
  1184. local Parent = Table.Parent or Torso
  1185. local Emit = Table.Emit or 100
  1186. local Offset = Table.Offset or 360
  1187. local Acel = Table.Acel or VT(0,0,0)
  1188. local Enabled = Table.Enabled or false
  1189. PRTCL.Parent = Parent
  1190. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1191. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1192. PRTCL.Speed = NumberRange.new(Speed)
  1193. PRTCL.VelocitySpread = Offset
  1194. PRTCL.Drag = Drag
  1195. PRTCL.Acceleration = Acel
  1196. if Enabled == false then
  1197. PRTCL:Emit(Emit)
  1198. Debris:AddItem(PRTCL,Lifetime2)
  1199. else
  1200. PRTCL.Enabled = true
  1201. end
  1202. return PRTCL
  1203. end
  1204. function ParticleEmitter2(Table)
  1205. local PRTCL2 = Particle2:Clone()
  1206. local LockedToPart = Table.LTP or true
  1207. local Speed = Table.Speed or 0
  1208. local Drag = Table.Drag or 0
  1209. local Size1 = Table.Size1 or 1
  1210. local Size2 = Table.Size2 or 2
  1211. local Lifetime1 = Table.Lifetime1 or 1
  1212. local Lifetime2 = Table.Lifetime2 or 1
  1213. local Parent = Table.Parent or Torso
  1214. local Emit = Table.Emit or 100
  1215. local Offset = Table.Offset or 360
  1216. local Acel = Table.Acel or VT(0,0,0)
  1217. local Enabled = Table.Enabled or false
  1218. PRTCL2.Parent = Parent
  1219. PRTCL2.Size = NumberSequence.new(Size1,Size2)
  1220. PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1221. PRTCL2.Speed = NumberRange.new(Speed)
  1222. PRTCL2.VelocitySpread = Offset
  1223. PRTCL2.Drag = Drag
  1224. PRTCL2.Acceleration = Acel
  1225. PRTCL2.Parent = Parent
  1226. PRTCL2.Size = NumberSequence.new(Size1,Size2)
  1227. PRTCL2.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1228. PRTCL2.Speed = NumberRange.new(Speed)
  1229. PRTCL2.VelocitySpread = Offset
  1230. PRTCL2.Drag = Drag
  1231. PRTCL2.Acceleration = Acel
  1232. PRTCL2.LockedToPart = true
  1233. if Enabled == false then
  1234. PRTCL2:Emit(Emit)
  1235. Debris:AddItem(PRTCL2,Lifetime2)
  1236. else
  1237. PRTCL2.Enabled = true
  1238. end
  1239. return PRTCL2
  1240. end
  1241. function ParticleEmitter3(Table)
  1242. local PRTCL3 = Particle2:Clone()
  1243. local Speed = Table.Speed or 0
  1244. local Drag = Table.Drag or 0
  1245. local Size1 = Table.Size1 or 1
  1246. local Size2 = Table.Size2 or 2
  1247. local Lifetime1 = Table.Lifetime1 or 1
  1248. local Lifetime2 = Table.Lifetime2 or 1
  1249. local Parent = Table.Parent or Torso
  1250. local Emit = Table.Emit or 100
  1251. local Offset = Table.Offset or 0
  1252. local Acel = Table.Acel or VT(0,0,0)
  1253. local Enabled = Table.Enabled or false
  1254. PRTCL3.Parent = Parent
  1255. PRTCL3.Size = NumberSequence.new(Size1,Size2)
  1256. PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1257. PRTCL3.Speed = NumberRange.new(Speed)
  1258. PRTCL3.VelocitySpread = Offset
  1259. PRTCL3.Drag = Drag
  1260. PRTCL3.Acceleration = Acel
  1261. PRTCL3.Parent = Parent
  1262. PRTCL3.Size = NumberSequence.new(Size1,Size2)
  1263. PRTCL3.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1264. PRTCL3.Speed = NumberRange.new(Speed)
  1265. PRTCL3.VelocitySpread = Offset
  1266. PRTCL3.Drag = Drag
  1267. PRTCL3.Acceleration = Acel
  1268. if Enabled == false then
  1269. PRTCL3:Emit(Emit)
  1270. Debris:AddItem(PRTCL3,Lifetime2)
  1271. else
  1272. PRTCL3.Enabled = true
  1273. end
  1274. return PRTCL3
  1275. end
  1276.  
  1277. local Weapon1 = IT("Model")
  1278. Weapon1.Name = "Pistol"
  1279.  
  1280. local Handle = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1281. local LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1282. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1283. MakeForm(Part,"Wedge")
  1284. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1285. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1286. MakeForm(Part,"Wedge")
  1287. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1288. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1289. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1290. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1291. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1292. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1293. MakeForm(Part,"Cyl")
  1294. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1295. for i = 1, 8 do
  1296. local Piece = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1297. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1298. end
  1299. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1300. MakeForm(Part,"Cyl")
  1301. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1302. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1303. MakeForm(Part,"Ball")
  1304. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1305. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1306. MakeForm(Part,"Wedge")
  1307. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1308. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1309. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1310. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1311. MakeForm(Part,"Cyl")
  1312. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1313. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1314. MakeForm(Part,"Cyl")
  1315. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1316. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1317. MakeForm(Part,"Cyl")
  1318. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1319. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1320. MakeForm(Part,"Wedge")
  1321. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1322. local LASTPART = Handle
  1323. for i = 1, 10 do
  1324. if LASTPART == Handle then
  1325. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1326. LASTPART = Part
  1327. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1328. else
  1329. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1330. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1331. LASTPART = Part
  1332. end
  1333. end
  1334.  
  1335. local Barrel = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1336. MakeForm(Barrel,"Cyl")
  1337. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1338. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1339. MakeForm(Part,"Cyl")
  1340. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1341. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1342. MakeForm(Part,"Wedge")
  1343. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1344. local Hole = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1345. MakeForm(Hole,"Cyl")
  1346. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1347. local Part = CreatePart(3, Weapon1, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1348. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1349. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1350. local Part = CreatePart(3, Weapon1, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1351. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1352. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1353. coroutine.resume(coroutine.create(function()
  1354. while wait() do
  1355. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1356. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1357. end
  1358. end))
  1359. --PARTICLES REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
  1360. --[[
  1361. YEAH BOIIIIIIIII
  1362. PARTICLE TIME
  1363. --]]
  1364. ---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)})
  1365. ---ParticleEmitter3({Speed = 0, Drag = 0, Size1 = 20, Size2 = 25, Lifetime1 = 0.3, Lifetime2 = 1, Parent = Barrel, Emit = 100, Offset = 0, Enabled = true, Acel = VT(0,0,0)})
  1366. ---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)})
  1367. ---ParticleEmitter2({Speed = 0, Drag = 0, Size1 = .5, Size2 = 1, Lifetime1 = 1, Lifetime2 = 1, Parent = Hole, Emit = 20, Offset = 360, Enabled = true, Acel = VT(0,0,0)})
  1368. ---ParticleEmitter2({Speed = 0, Drag = 0, Size1 = 3, Size2 = 1, Lifetime1 = 1, Lifetime2 = 2, Parent = Handle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,0,0)})
  1369. --Trails
  1370. local A1 = Instance.new("Attachment",Barrel)
  1371. local A2 = Instance.new("Attachment",Barrel)
  1372. local Trail = Instance.new("Trail",Barrel)
  1373. A1.Position = Vector3.new(0,1,0)
  1374. A2.Position = Vector3.new(0,-0.8,0)
  1375. Trail.Attachment0 = A1
  1376. Trail.Attachment1 = A2
  1377. Trail.LightEmission = 1
  1378. Trail.Color = ColorSequence.new(Color3.new(0,0,255),Color3.new(0,255,255))
  1379. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,.9),NumberSequenceKeypoint.new(1,1)})
  1380. for _, c in pairs(Weapon1:GetDescendants()) do
  1381. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1382. c.Material = "Glass"
  1383. c.Color = C3(0,0,0)
  1384. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1385. c.Color = C3(0,0,1)
  1386. c.Material = "Neon"
  1387. end
  1388. end
  1389.  
  1390. local TOBANISH = {}
  1391.  
  1392. Weapon1.Parent = Character
  1393. for _, c in pairs(Weapon1:GetChildren()) do
  1394. if c.ClassName == "Part" then
  1395. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1396. end
  1397. end
  1398.  
  1399. local SKILLTEXTCOLOR = C3(0,0,1)
  1400. local SKILLFONT = "Antique"
  1401. local SKILLTEXTSIZE = 7
  1402.  
  1403. Humanoid.Died:connect(function()
  1404. ATTACK = true
  1405. end)
  1406.  
  1407. 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")
  1408. --[[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")
  1409. 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")
  1410. 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")
  1411. 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")
  1412. --]]
  1413. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banisher Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1414. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1415. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1416. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1417. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1418. --]]
  1419. function printbye(Name)
  1420. 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, "}
  1421. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1422.  
  1423. end
  1424.  
  1425. workspace.ChildAdded:connect(function(instance)
  1426. for BANISH = 1, #TOBANISH do
  1427. if TOBANISH[BANISH] ~= nil then
  1428. if instance.Name == TOBANISH[BANISH] then
  1429. coroutine.resume(coroutine.create(function()
  1430. printbye(instance.Name)
  1431. instance:ClearAllChildren()
  1432. Debris:AddItem(instance,0.0005)
  1433. end))
  1434. end
  1435. end
  1436. end
  1437. end)
  1438.  
  1439. local Char = Character
  1440. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  1441. MakeForm(Eye,"Ball")
  1442. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1443. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.6,0.1,1)/2,false)
  1444. MakeForm(Eye,"Ball")
  1445. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1446. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false)
  1447. MakeForm(Eye,"Ball")
  1448. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1449. local Eye = CreatePart(3, Char, "Neon", 0, 0, "Really blue", "Eye", VT(0.1,1,1)/2,false)
  1450. MakeForm(Eye,"Ball")
  1451. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1452.  
  1453. local top = Instance.new("Shirt")
  1454. top.ShirtTemplate = "rbxassetid://45695443"
  1455. top.Parent = Character
  1456. top.Name = "Cloth"
  1457. local bottom = Instance.new("Pants")
  1458. bottom.PantsTemplate = "rbxassetid://45696190"
  1459. bottom.Parent = Character
  1460. bottom.Name = "Cloth"
  1461. for _, c in pairs(Character:GetChildren()) do
  1462. if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  1463. c.Material = "Neon"
  1464. if c:FindFirstChildOfClass("ParticleEmitter") then
  1465. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1466. end
  1467. c.Color = C3(1,1,1)
  1468. if c == Head then
  1469. if c:FindFirstChild("face") then
  1470. c.face:remove()
  1471. end
  1472. end
  1473. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1474. c:remove()
  1475. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1476. c:remove()
  1477. end
  1478. end
  1479. local BODY = {}
  1480. for _, c in pairs(Character:GetDescendants()) do
  1481. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1482. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1483. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1484. end
  1485. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1486. elseif c:IsA("JointInstance") then
  1487. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1488. end
  1489. end
  1490. for e = 1, #BODY do
  1491. if BODY[e] ~= nil then
  1492. local STUFF = BODY[e]
  1493. local PART = STUFF[1]
  1494. local PARENT = STUFF[2]
  1495. local MATERIAL = STUFF[3]
  1496. local COLOR = STUFF[4]
  1497. local TRANSPARENCY = STUFF[5]
  1498. if PART.ClassName == "Part" and PART ~= RootPart then
  1499. PART.Material = MATERIAL
  1500. PART.Color = COLOR
  1501. PART.Transparency = TRANSPARENCY
  1502. end
  1503. PART.AncestryChanged:Connect(function()
  1504. PART.Parent = PARENT
  1505. end)
  1506. end
  1507. end
  1508. function refit()
  1509. Character.Parent = workspace
  1510. for e = 1, #BODY do
  1511. if BODY[e] ~= nil then
  1512. local STUFF = BODY[e]
  1513. local PART = STUFF[1]
  1514. local PARENT = STUFF[2]
  1515. local MATERIAL = STUFF[3]
  1516. local COLOR = STUFF[4]
  1517. local TRANSPARENCY = STUFF[5]
  1518. if PART.ClassName == "Part" and PART ~= RootPart then
  1519. PART.Material = MATERIAL
  1520. PART.Color = COLOR
  1521. PART.Transparency = TRANSPARENCY
  1522. end
  1523. if PART.Parent ~= PARENT then
  1524. Humanoid:remove()
  1525. PART.Parent = PARENT
  1526. Humanoid = IT("Humanoid",Character)
  1527. end
  1528. end
  1529. end
  1530. end
  1531. local SKILLTEXTCOLOR = BRICKC"".Color
  1532. local SKILLFONT = "Bodoni"
  1533. local SKILLTEXTSIZE = 7
  1534.  
  1535. Humanoid.Died:connect(function()
  1536. refit()
  1537. end)
  1538.  
  1539.  
  1540. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  1541. local p = Instance.new("Part")
  1542. p.TopSurface = 0
  1543. p.BottomSurface = 0
  1544. p.Parent = parent
  1545. p.Size = Vector3.new(0.1,0.1,0.1)
  1546. p.Transparency = transparency
  1547. p.Reflectance = reflectance
  1548. p.CanCollide = false
  1549. p.Locked = true
  1550. p.BrickColor = brickcolor
  1551. p.Material = material
  1552. return p
  1553. end
  1554.  
  1555. function sphere(bonuspeed,type,pos,scale,value,color)
  1556. local type = type
  1557. local rng = Instance.new("Part", Character)
  1558. rng.Anchored = true
  1559. if ModeOfGlitch ~= 9 then
  1560. rng.BrickColor = color
  1561. elseif ModeOfGlitch == 9 then
  1562. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1563. end
  1564. rng.CanCollide = false
  1565. rng.FormFactor = 3
  1566. rng.Name = "Ring"
  1567. rng.Material = "Neon"
  1568. rng.Size = Vector3.new(1, 1, 1)
  1569. rng.Transparency = 0
  1570. rng.TopSurface = 0
  1571. rng.BottomSurface = 0
  1572. rng.CFrame = pos
  1573. local rngm = Instance.new("SpecialMesh", rng)
  1574. rngm.MeshType = "Sphere"
  1575. rngm.Scale = scale
  1576. if rainbowmode == true then
  1577. rng.Color = Color3.new(r/255,g/255,b/255)
  1578. end
  1579. if ModeOfGlitch == 9 then
  1580. coroutine.resume(coroutine.create(function()
  1581. while true do
  1582. Swait()
  1583. if rng.Parent ~= nil then
  1584. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1585. else
  1586. break
  1587. end
  1588. end
  1589. end))
  1590. end
  1591. local scaler2 = 1
  1592. if type == "Add" then
  1593. scaler2 = 1*value
  1594. elseif type == "Divide" then
  1595. scaler2 = 1/value
  1596. end
  1597. coroutine.resume(coroutine.create(function()
  1598. for i = 0,10/bonuspeed,0.1 do
  1599. Swait()
  1600. if rainbowmode == true then
  1601. rng.Color = Color3.new(r/255,g/255,b/255)
  1602. end
  1603. if type == "Add" then
  1604. scaler2 = scaler2 - 0.01*value/bonuspeed
  1605. elseif type == "Divide" then
  1606. scaler2 = scaler2 - 0.01/value*bonuspeed
  1607. end
  1608. if chaosmode == true then
  1609. rng.BrickColor = BrickColor.random()
  1610. end
  1611. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1612. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1613. end
  1614. rng:Destroy()
  1615. end))
  1616. end
  1617.  
  1618. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  1619. local type = type
  1620. local rng = Instance.new("Part", Character)
  1621. rng.Anchored = true
  1622. if ModeOfGlitch ~= 9 then
  1623. rng.BrickColor = color
  1624. elseif ModeOfGlitch == 9 then
  1625. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1626. end
  1627. rng.CanCollide = false
  1628. rng.FormFactor = 3
  1629. rng.Name = "Ring"
  1630. rng.Material = "Neon"
  1631. rng.Size = Vector3.new(1, 1, 1)
  1632. rng.Transparency = 0
  1633. rng.TopSurface = 0
  1634. rng.BottomSurface = 0
  1635. rng.CFrame = pos
  1636. local rngm = Instance.new("SpecialMesh", rng)
  1637. rngm.MeshType = "Sphere"
  1638. rngm.Scale = scale
  1639. local scaler2 = 1
  1640. local scaler2b = 1
  1641. local scaler2c = 1
  1642. if type == "Add" then
  1643. scaler2 = 1*value
  1644. scaler2b = 1*value2
  1645. scaler2c = 1*value3
  1646. elseif type == "Divide" then
  1647. scaler2 = 1/value
  1648. scaler2b = 1/value2
  1649. scaler2c = 1/value3
  1650. end
  1651. if ModeOfGlitch == 9 then
  1652. coroutine.resume(coroutine.create(function()
  1653. while true do
  1654. Swait()
  1655. if rng.Parent ~= nil then
  1656. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1657. else
  1658. break
  1659. end
  1660. end
  1661. end))
  1662. end
  1663. coroutine.resume(coroutine.create(function()
  1664. for i = 0,10/bonuspeed,0.1 do
  1665. Swait()
  1666. if type == "Add" then
  1667. scaler2 = scaler2 - 0.01*value/bonuspeed
  1668. scaler2b = scaler2b - 0.01*value/bonuspeed
  1669. scaler2c = scaler2c - 0.01*value/bonuspeed
  1670. elseif type == "Divide" then
  1671. scaler2 = scaler2 - 0.01/value*bonuspeed
  1672. scaler2b = scaler2b - 0.01/value*bonuspeed
  1673. scaler2c = scaler2c - 0.01/value*bonuspeed
  1674. end
  1675. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1676. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  1677. end
  1678. rng:Destroy()
  1679. end))
  1680. end
  1681.  
  1682. function CreateMesh2(parent,meshtype,x1,y1,z1)
  1683. local mesh = Instance.new("SpecialMesh",parent)
  1684. mesh.MeshType = meshtype
  1685. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  1686. return mesh
  1687. end
  1688.  
  1689. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1690. local type = type
  1691. local rng = Instance.new("Part", Character)
  1692. rng.Anchored = true
  1693. if ModeOfGlitch ~= 9 then
  1694. rng.BrickColor = color
  1695. elseif ModeOfGlitch == 9 then
  1696. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1697. end
  1698. rng.CanCollide = false
  1699. rng.FormFactor = 3
  1700. rng.Name = "Ring"
  1701. rng.Material = "Neon"
  1702. rng.Size = Vector3.new(1, 1, 1)
  1703. rng.Transparency = 0
  1704. rng.TopSurface = 0
  1705. rng.BottomSurface = 0
  1706. rng.CFrame = pos
  1707. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1708. local rngm = Instance.new("SpecialMesh", rng)
  1709. rngm.MeshType = "Sphere"
  1710. rngm.Scale = VT(x1,y1,z1)
  1711. if rainbowmode == true then
  1712. rng.Color = Color3.new(r/255,g/255,b/255)
  1713. end
  1714. if ModeOfGlitch == 9 then
  1715. coroutine.resume(coroutine.create(function()
  1716. while true do
  1717. Swait()
  1718. if rng.Parent ~= nil then
  1719. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1720. else
  1721. break
  1722. end
  1723. end
  1724. end))
  1725. end
  1726. local scaler2 = 1
  1727. local speeder = FastSpeed
  1728. if type == "Add" then
  1729. scaler2 = 1*value
  1730. elseif type == "Divide" then
  1731. scaler2 = 1/value
  1732. end
  1733. coroutine.resume(coroutine.create(function()
  1734. for i = 0,10/bonuspeed,0.1 do
  1735. Swait()
  1736. if rainbowmode == true then
  1737. rng.Color = Color3.new(r/255,g/255,b/255)
  1738. end
  1739. if type == "Add" then
  1740. scaler2 = scaler2 - 0.01*value/bonuspeed
  1741. elseif type == "Divide" then
  1742. scaler2 = scaler2 - 0.01/value*bonuspeed
  1743. end
  1744. if chaosmode == true then
  1745. rng.BrickColor = BrickColor.random()
  1746. end
  1747. speeder = speeder - 0.01*FastSpeed*bonuspeed
  1748. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1749. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1750. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  1751. end
  1752. rng:Destroy()
  1753. end))
  1754. end
  1755.  
  1756. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  1757. local type = type
  1758. local rng = Instance.new("Part", char)
  1759. rng.Anchored = true
  1760. if ModeOfGlitch ~= 9 then
  1761. rng.BrickColor = color
  1762. elseif ModeOfGlitch == 9 then
  1763. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1764. end
  1765. rng.CanCollide = false
  1766. rng.FormFactor = 3
  1767. rng.Name = "Ring"
  1768. rng.Material = "Neon"
  1769. rng.Size = Vector3.new(1, 1, 1)
  1770. rng.Transparency = 1
  1771. rng.TopSurface = 0
  1772. rng.BottomSurface = 0
  1773. rng.CFrame = pos
  1774. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1775. local rngm = Instance.new("SpecialMesh", rng)
  1776. rngm.MeshType = "Sphere"
  1777. rngm.Scale = vt(x1,y1,z1)
  1778. if rainbowmode == true then
  1779. rng.Color = Color3.new(r/255,g/255,b/255)
  1780. end
  1781. if ModeOfGlitch == 9 then
  1782. coroutine.resume(coroutine.create(function()
  1783. while true do
  1784. swait()
  1785. if rng.Parent ~= nil then
  1786. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  1787. else
  1788. break
  1789. end
  1790. end
  1791. end))
  1792. end
  1793. local scaler2 = 1
  1794. local speeder = FastSpeed
  1795. if type == "Add" then
  1796. scaler2 = 1*value
  1797. elseif type == "Divide" then
  1798. scaler2 = 1/value
  1799. end
  1800. coroutine.resume(coroutine.create(function()
  1801. for i = 0,10/bonuspeed,0.1 do
  1802. swait()
  1803. if rainbowmode == true then
  1804. rng.Color = Color3.new(r/255,g/255,b/255)
  1805. end
  1806. if type == "Add" then
  1807. scaler2 = scaler2 - 0.01*value/bonuspeed
  1808. elseif type == "Divide" then
  1809. scaler2 = scaler2 - 0.01/value*bonuspeed
  1810. end
  1811. if chaosmode == true then
  1812. rng.BrickColor = BrickColor.random()
  1813. end
  1814. speeder = speeder - 0.01*FastSpeed*bonuspeed
  1815. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1816. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  1817. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  1818. end
  1819. rng:Destroy()
  1820. end))
  1821. end
  1822.  
  1823. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  1824. local type = type
  1825. local rotenable = rotatingop
  1826. local rng = Instance.new("Part", Character)
  1827. rng.Anchored = true
  1828. rng.BrickColor = color
  1829. rng.CanCollide = false
  1830. rng.FormFactor = 3
  1831. rng.Name = "Ring"
  1832. rng.Material = "Neon"
  1833. rng.Size = Vector3.new(1, 1, 1)
  1834. rng.Transparency = 0
  1835. if typeoftrans == "In" then
  1836. rng.Transparency = 1
  1837. end
  1838. rng.TopSurface = 0
  1839. rng.BottomSurface = 0
  1840. rng.CFrame = pos
  1841. local rngm = Instance.new("SpecialMesh", rng)
  1842. rngm.MeshType = "FileMesh"
  1843. if typeofshape == "Normal" then
  1844. rngm.MeshId = "rbxassetid://662586858"
  1845. elseif typeofshape == "Round" then
  1846. rngm.MeshId = "rbxassetid://662585058"
  1847. end
  1848. rngm.Scale = scale
  1849. local scaler2 = 1/10
  1850. if type == "Add" then
  1851. scaler2 = 1*value/10
  1852. elseif type == "Divide" then
  1853. scaler2 = 1/value/10
  1854. end
  1855. local randomrot = math.random(1,2)
  1856. coroutine.resume(coroutine.create(function()
  1857. for i = 0,10/bonuspeed,0.1 do
  1858. Swait()
  1859. if type == "Add" then
  1860. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  1861. elseif type == "Divide" then
  1862. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  1863. end
  1864. if rotenable == true then
  1865. if randomrot == 1 then
  1866. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  1867. elseif randomrot == 2 then
  1868. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  1869. end
  1870. end
  1871. if typeoftrans == "Out" then
  1872. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1873. elseif typeoftrans == "In" then
  1874. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  1875. end
  1876. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  1877. end
  1878. rng:Destroy()
  1879. end))
  1880. end
  1881.  
  1882.  
  1883.  
  1884. --//=================================\\
  1885. --|| DAMAGING
  1886. --\\=================================//
  1887.  
  1888. function WarnFunc(text)
  1889. local chat = coroutine.wrap(function()
  1890. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1891. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1892. end
  1893. local Bill = Instance.new("BillboardGui",Character)
  1894. Bill.Size = UDim2.new(0,100,0,40)
  1895. Bill.StudsOffset = Vector3.new(0,35,0)
  1896. Bill.Adornee = Character.Head
  1897. Bill.Name = "TalkingBillBoard"
  1898. local Hehe = Instance.new("TextLabel",Bill)
  1899. Hehe.BackgroundTransparency = 1
  1900. Hehe.BorderSizePixel = 0
  1901. Hehe.Text = ""
  1902. Hehe.Font = "Antique"
  1903. Hehe.TextSize = 120
  1904. Hehe.TextStrokeTransparency = 0
  1905. Hehe.Size = UDim2.new(1,0,0.5,0)
  1906. coroutine.resume(coroutine.create(function()
  1907. while Hehe ~= nil do
  1908. Swait()
  1909. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1910. Hehe.Rotation = math.random(-5,5)
  1911. Hehe.TextColor3 = Color3.new(255,0,0)
  1912. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1913. end
  1914. end))
  1915. for i = 1,string.len(text),1 do
  1916. Swait()
  1917. Hehe.Text = string.sub(text,1,i)
  1918. end
  1919. Swait(90)--Re[math.random(1, 93)]
  1920. for i = 0, 1, .025 do
  1921. Swait()
  1922. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1923. Hehe.TextStrokeTransparency = i
  1924. Hehe.TextTransparency = i
  1925. end
  1926. Bill:Destroy()
  1927. end)
  1928. chat()
  1929. end
  1930.  
  1931.  
  1932. function KillChildren(v)
  1933. v:BreakJoints()
  1934. for _, c in pairs(v:GetChildren()) do
  1935. if c:IsA("BasePart") then
  1936. if c.Transparency < 1 then
  1937. if c:FindFirstChildOfClass("Decal") then
  1938. c:FindFirstChildOfClass("Decal"):remove()
  1939. end
  1940. particles(c)
  1941. c.PE.Enabled = true
  1942. c.Parent = Effects
  1943. c.CanCollide = false
  1944. c.Material = "Neon"
  1945. c.Color = C3(1,0,0)
  1946. c.Transparency = 1
  1947. local grav = Instance.new("BodyPosition",c)
  1948. grav.P = 20000
  1949. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1950. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1951. grav.Name = "GravityForce"
  1952. coroutine.resume(coroutine.create(function()
  1953. for i = 1, 20 do
  1954. Swait()
  1955. c.Transparency = c.Transparency + 1/20
  1956. end
  1957. c.PE.Enabled = false
  1958. Debris:AddItem(c,2)
  1959. end))
  1960. end
  1961. end
  1962. end
  1963. end
  1964.  
  1965. local WHITELIST = {}
  1966.  
  1967. function SmiteAoE(POSITION,RANGE)
  1968. local CHILDREN = workspace:GetDescendants()
  1969. for index, CHILD in pairs(CHILDREN) do
  1970. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1971. local LISTED = false
  1972. for LIST = 1, #WHITELIST do
  1973. if WHITELIST[LIST] ~= nil then
  1974. if CHILD.Name == WHITELIST[LIST] then
  1975. LISTED = true
  1976. end
  1977. end
  1978. end
  1979. if LISTED == false then
  1980. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1981. if HUM then
  1982. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1983. if TORSO then
  1984. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  1985. KillChildren(CHILD)
  1986. end
  1987. end
  1988. end
  1989. end
  1990. end
  1991. end
  1992. end
  1993.  
  1994. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  1995. local CHILDREN = workspace:GetDescendants()
  1996. for index, CHILD in pairs(CHILDREN) do
  1997. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1998. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1999. if HUM then
  2000. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2001. if TORSO then
  2002. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  2003. CHILD:BreakJoints()
  2004. if FLING ~= 0 then
  2005. for _, c in pairs(CHILD:GetChildren()) do
  2006. if c:IsA("BasePart") and c.Transparency == 0 then
  2007. if BURN == true then
  2008. Fire(c)
  2009. end
  2010. local bv = Instance.new("BodyVelocity")
  2011. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2012. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2013. bv.Parent = c
  2014. Debris:AddItem(bv,0.05)
  2015. end
  2016. end
  2017. end
  2018. end
  2019. end
  2020. end
  2021. end
  2022. end
  2023. end
  2024.  
  2025. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  2026. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  2027. local mesh = IT("SpecialMesh", wave)
  2028. mesh.MeshType = "Sphere"
  2029. mesh.Scale = SIZE
  2030. mesh.Offset = VT(0, 0, 0)
  2031. wave.CFrame = CFRAME
  2032. coroutine.resume(coroutine.create(function(PART)
  2033. for i = 1, WAIT do
  2034. Swait()
  2035. mesh.Scale = mesh.Scale + GROW
  2036. wave.Transparency = wave.Transparency + 1 / WAIT
  2037. if wave.Transparency > 0.99 then
  2038. wave:remove()
  2039. end
  2040. end
  2041. end))
  2042. end
  2043.  
  2044. function CastWarpOutlines(TARGET)
  2045. coroutine.resume(coroutine.create(function()
  2046. local T = TARGET:GetChildren()
  2047. for i = 1, #T do
  2048. local child = T[i]
  2049. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  2050. do
  2051. local clone = child:Clone()
  2052. clone.Parent = Effects
  2053. clone.Anchored = true
  2054. clone.CanCollide = false
  2055. clone:ClearAllChildren()
  2056. clone.CFrame = child.CFrame
  2057. if clone.Name == "Head" then
  2058. clone.Size = VT(clone.Size.Y, clone.Size.Y, clone.Size.Y)
  2059. end
  2060. if clone.ClassName == "MeshPart" then
  2061. clone.TextureID = ""
  2062. end
  2063. clone.Color = C3(1, 0, 0)
  2064. clone.Material = "Neon"
  2065. coroutine.resume(coroutine.create(function()
  2066. for i = 1, 100 do
  2067. Swait()
  2068. clone.Transparency = clone.Transparency + 0.01
  2069. clone.Size = clone.Size + VT(0.001, 0.001, 0.001)
  2070. end
  2071. clone:remove()
  2072. end))
  2073. end
  2074. end
  2075. end
  2076. end))
  2077. end
  2078.  
  2079. local Delete = IT("Model", Character)
  2080. Delete.Name = "Those who must be banished."
  2081.  
  2082. function killnearest(position, range, maxstrength)
  2083. for i, v in ipairs(workspace:GetChildren()) do
  2084. local body = v:GetChildren()
  2085. for part = 1, #body do
  2086. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude and v.ClassName == "Model" then
  2087. CastWarpOutlines(v)
  2088. v:remove()
  2089. if game.Players:FindFirstChild(v.Name) then
  2090. local Value = IT("BoolValue", Delete)
  2091. Value.Name = v.Name
  2092. end
  2093. end
  2094. end
  2095. end
  2096. end
  2097.  
  2098. function Kill(Char)
  2099. local NewCharacter = IT("Model",Effects)
  2100. NewCharacter.Name = "Ow im ded ;-;"
  2101. for _, c in pairs(Char:GetDescendants()) do
  2102. if c:IsA("BasePart") and c.Transparency == 0 then
  2103. if c.Parent == Char then
  2104. getbloody(c,5)
  2105. end
  2106. c:BreakJoints()
  2107. c.Material = "Glass"
  2108. c.Color = C3(0.5,0,0)
  2109. c.CanCollide = true
  2110. c.Transparency = 0.3
  2111. if c:FindFirstChildOfClass("SpecialMesh") then
  2112. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2113. end
  2114. if c.Name == "Head" then
  2115. c:ClearAllChildren()
  2116. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  2117. end
  2118. if c.ClassName == "MeshPart" then
  2119. c.TextureID = ""
  2120. end
  2121. if c:FindFirstChildOfClass("BodyPosition") then
  2122. c:FindFirstChildOfClass("BodyPosition"):remove()
  2123. end
  2124. if c:FindFirstChildOfClass("ParticleEmitter") then
  2125. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2126. end
  2127. c.Parent = NewCharacter
  2128. c.Name = "DeadPart"
  2129. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  2130. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  2131. end
  2132. end
  2133. Char:remove()
  2134. Debris:AddItem(NewCharacter,5)
  2135. end
  2136.  
  2137. local asd = Instance.new("ParticleEmitter")
  2138. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  2139. asd.LightEmission = .1
  2140. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  2141. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  2142. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2143. asd.Transparency = bbb
  2144. asd.Size = aaa
  2145. asd.ZOffset = .9
  2146. asd.Acceleration = Vector3.new(0, -15, 0)
  2147. asd.LockedToPart = false
  2148. asd.EmissionDirection = "Back"
  2149. asd.Lifetime = NumberRange.new(1, 2)
  2150. asd.Rotation = NumberRange.new(-100, 100)
  2151. asd.RotSpeed = NumberRange.new(-100, 100)
  2152. asd.Speed = NumberRange.new(10)
  2153. asd.Enabled = false
  2154. asd.VelocitySpread = 999
  2155.  
  2156. function getbloody(victim,amount)
  2157. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  2158. PART.CFrame = victim.CFrame
  2159. local HITPLAYERSOUNDS = {"356551938","264486467"}
  2160. Debris:AddItem(PART,5)
  2161. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2162. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2163. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  2164. local prtcl = asd:Clone()
  2165. prtcl.Parent = PART
  2166. prtcl:Emit(amount*10)
  2167. end
  2168. --//=================================\\
  2169. --|| ATTACK FUNCTIONS AND STUFF
  2170. --\\=================================//
  2171. function SHATTER()
  2172. ATTACK = true
  2173. Rooted = true
  2174. Cooldown2 = true
  2175. local MAINRUINCOLOR = BrickColor.new("Really red")
  2176. for i=0, 0.6, 0.1 / Animation_Speed do
  2177. Swait()
  2178. WACKYEFFECT({Time = 10, EffectType = "Block", Size = VT(4,4,4), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = Barrel.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(25,255)/255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2179. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2180. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2181. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2182. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(17.5)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2183. 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.4 / Animation_Speed)
  2184. 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.4 / Animation_Speed)
  2185. end
  2186. WarnFunc("S H A T T E R")
  2187. CFuncs["Sound"].Create("rbxassetid://1718412034", RootPart, 15, 1)
  2188. CFuncs["EchoSound"].Create("rbxassetid://1718412034", Character, 5, 1,0,10,0.15,0.5,1)
  2189. for i=0, 3, 0.1 / Animation_Speed do
  2190. Swait()
  2191. WACKYEFFECT({Time = 10, EffectType = "Block", Size = VT(MRANDOM(2,8),MRANDOM(2,8),MRANDOM(2,8)), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = Barrel.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(25,255)/255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2192. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2193. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2194. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2195. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.9, 0) * ANGLES(RAD(165), RAD(0), RAD(17.5)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2196. 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.4 / Animation_Speed)
  2197. 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.4 / Animation_Speed)
  2198. end
  2199. for i=0, 0.25, 0.1 / Animation_Speed do
  2200. Swait()
  2201. WACKYEFFECT({Time = 10, EffectType = "Block", Size = VT(MRANDOM(2,6),MRANDOM(2,6),MRANDOM(2,6)), Size2 = VT(0,0,0), Transparency = 0.7, Transparency2 = 1, CFrame = Barrel.CFrame*CF(0,3,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(MRANDOM(25,255)/255,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2202. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2203. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2204. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2205. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(50), RAD(0), RAD(17.5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2206. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(35), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2207. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(35), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2208. end
  2209. sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color)
  2210. sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),2,2,2,BrickColor.new("Maroon"),BrickColor.new("Really red").Color)
  2211. sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),4,4,4,BrickColor.new("Really red"),BrickColor.new("Maroon").Color)
  2212. sphere2(2,"Add",RootPart.CFrame,VT(1,1,1),8,8,8,BrickColor.new("Maroon"),BrickColor.new("Really red").Color)
  2213. CFuncs["Sound"].Create("rbxassetid://1841058541", RootPart, 10,1)
  2214. CFuncs["Sound"].Create("rbxassetid://2095993595", Character, 5,0.8)
  2215. CFuncs["Sound"].Create("rbxassetid://1841058541", Character, 5,1)
  2216. Humanoid.CameraOffset = VT(0,0,0)
  2217. for i = 0, 24 do
  2218. slash(math.random(10,30)/10,5,true,"Round","Add","Out",RootPart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),VT(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.new("Maroon"))
  2219. end
  2220. local distam = 0
  2221. coroutine.resume(coroutine.create(function()
  2222. for i = 0, 99 do
  2223. wait()
  2224. distam = distam + 1.5
  2225. local xa = CreateParta(Character,1,1,"SmoothPlastic",BrickColor.new("Really red"))
  2226. xa.Anchored = true
  2227. xa.CFrame = RootPart.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  2228. game:GetService("Debris"):AddItem(xa, 5)
  2229. coroutine.resume(coroutine.create(function()
  2230. local eff = Instance.new("ParticleEmitter",xa)
  2231. eff.Texture = "rbxassetid://2092248396"
  2232. eff.LightEmission = 1
  2233. eff.Color = ColorSequence.new(BrickColor.new("Maroon").Color)
  2234. eff.Rate = 500000
  2235. eff.Lifetime = NumberRange.new(1,3)
  2236. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  2237. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  2238. eff.Speed = NumberRange.new(50,500)
  2239. eff.Drag = 5
  2240. eff.Rotation = NumberRange.new(-500,500)
  2241. eff.VelocitySpread = 9000
  2242. eff.RotSpeed = NumberRange.new(-50,50)
  2243. wait(0.25)
  2244. eff.Enabled = false
  2245. end))
  2246. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  2247. sphere2(5,"Add",xa.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("Maroon"),BrickColor.new("Really red").Color)
  2248. sphere2(5,"Add",xa.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color)
  2249. sphere2(5,"Add",xa.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("Maroon"),BrickColor.new("Really red").Color)
  2250. sphere2(5,"Add",xa.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color)
  2251. sphere2(5,"Add",xa.CFrame,VT(1,1,1),0.5,0.5,0.5,BrickColor.new("Maroon"),BrickColor.new("Really red").Color)
  2252. sphere2(5,"Add",xa.CFrame,VT(1,1,1),1,1,1,BrickColor.new("Really red"),BrickColor.new("Maroon").Color)
  2253. SmiteAoE(xa.Position, 30)
  2254. end
  2255. end))
  2256. ATTACK = false
  2257. Rooted = false
  2258. wait(3)
  2259. Cooldown2 = false
  2260. end
  2261.  
  2262. local LAUGHS = {834001699,834001752,834001797,834001828}
  2263.  
  2264. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  2265. MakeForm(RightHole,"Cyl")
  2266. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  2267. MakeForm(LeftHole,"Cyl")
  2268.  
  2269.  
  2270.  
  2271. function CyberSmash()
  2272. ATTACK = true
  2273. Rooted = false
  2274. local GYRO = IT("BodyGyro",RootPart)
  2275. GYRO.D = 100
  2276. GYRO.P = 2000
  2277. GYRO.MaxTorque = VT(0,4000000,0)
  2278. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2279. local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "Really black", "Block", VT(25,25,25))
  2280. SMASH.CanCollide = true
  2281. SMASH.Color = C3(0,0,0)
  2282. local EF = Instance.new("SelectionBox",SMASH)
  2283. EF.Adornee = SMASH
  2284. EF.Color = BrickColor.new("Really black")
  2285. EF.LineThickness = 0.2
  2286. EF.Transparency = 1
  2287. coroutine.resume(coroutine.create(function()
  2288. for i = 1, 20 do
  2289. Swait()
  2290. SMASH.Transparency = SMASH.Transparency - 0.05
  2291. EF.Transparency = SMASH.Transparency
  2292. end
  2293. end))
  2294. repeat
  2295. SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0)
  2296. Swait()
  2297. GYRO.cframe = CF(RootPart.Position,SMASH.Position)
  2298. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 30)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2299. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * SIN(SINE / 30)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2300. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  2301. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  2302. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2303. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  2304. until HOLD == true and SMASH.Transparency < 0.99
  2305. for i = 1, 25 do
  2306. Swait()
  2307. SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0)
  2308. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.3 + 0.05 * COS(SINE / 30)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2309. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 30)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2310. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1 - 0.1 * COS(SINE / 30), 0) * ANGLES(RAD(-20), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2311. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1 - 0.1 * COS(SINE / 30), 0) * ANGLES(RAD(-20), RAD(0), RAD(-40)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2312. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.025 * COS(SINE / 30), 0) * ANGLES(RAD(15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2313. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.025 * COS(SINE / 30), 0) * ANGLES(RAD(15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2314. end
  2315. local TOCH = SMASH.Touched:Connect(function(hit)
  2316. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  2317. Shatter(hit)
  2318. end
  2319. end)
  2320. local n0 = nil
  2321. local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character)
  2322. if HITFLOOR ~= nil then
  2323. if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then
  2324. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2325. if HITFLOOR.Parent.ClassName == "Model" then
  2326. HITFLOOR.Parent:BreakJoints()
  2327. elseif HITFLOOR.Parent.Parent.ClassName == "Model" then
  2328. HITFLOOR.Parent.Parent:BreakJoints()
  2329. end
  2330. end
  2331. local POS = HITPOS
  2332. n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent)
  2333. end
  2334. end
  2335. killnearest(HITPOS,SMASH.Size.X/1.3,"Shatter")
  2336. SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0))
  2337. WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(24,0,24), Size2 = VT(75,2,75), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 130972023, SoundPitch = 1, SoundVolume = 10})
  2338. for i = 1, 25 do
  2339. Swait()
  2340. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  2341. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  2342. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(30), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2343. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2344. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2345. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2346. end
  2347. coroutine.resume(coroutine.create(function()
  2348. wait(0.2)
  2349. TOCH:disconnect()
  2350. wait(1.8)
  2351. for i = 1, 100 do
  2352. Swait()
  2353. SMASH.Transparency = i/100
  2354. end
  2355. for i = 1, 10 do
  2356. Swait()
  2357. EF.Transparency = EF.Transparency + 0.1
  2358. end
  2359. SMASH:remove()
  2360. end))
  2361. GYRO:remove()
  2362. ATTACK = false
  2363. Rooted = false
  2364. end
  2365.  
  2366. function Teleport()
  2367. ATTACK = true
  2368. Rooted = false
  2369. for i=0, 0.5, 0.1 / Animation_Speed do
  2370. Swait()
  2371. 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)
  2372. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2373. end
  2374. for e = 1, #BODY do
  2375. if BODY[e] ~= nil then
  2376. local STUFF = BODY[e]
  2377. local PART = STUFF[1]
  2378. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  2379. local PRT = PART:Clone()
  2380. PRT.Anchored = true
  2381. PRT.CanCollide = false
  2382. PRT.Material = "Neon"
  2383. PRT.Color = C3(0,0,1)
  2384. PRT.Name = "WarpEffect"
  2385. PRT.Parent = Effects
  2386. PRT.CFrame = PART.CFrame
  2387. PRT:BreakJoints()
  2388. if PRT:FindFirstChildOfClass("Sound") then
  2389. PRT:FindFirstChildOfClass("Sound"):remove()
  2390. end
  2391. if PRT:FindFirstChildOfClass("Decal") then
  2392. PRT:FindFirstChildOfClass("Decal"):remove()
  2393. end
  2394. coroutine.resume(coroutine.create(function()
  2395. for i = 1, 100 do
  2396. Swait()
  2397. PRT.Transparency = PRT.Transparency + 1/100
  2398. end
  2399. PRT:remove()
  2400. end))
  2401. end
  2402. end
  2403. end
  2404. CreateSound(217767125, Torso, 10, 1)
  2405. local POS = RootPart.Orientation
  2406. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  2407. RootPart.Orientation = POS
  2408. RootJoint.Parent = RootPart
  2409. for i=0, 0.5, 0.1 / Animation_Speed do
  2410. Swait()
  2411. 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)
  2412. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2413. end
  2414. for i=0, 0.1, 0.1 / Animation_Speed do
  2415. Swait()
  2416. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  2417. end
  2418. ATTACK = false
  2419. Rooted = false
  2420. end
  2421.  
  2422. function turnto(position)
  2423. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  2424. end
  2425.  
  2426. function Banish(Foe)
  2427. if Foe then
  2428. coroutine.resume(coroutine.create(function()
  2429. --if game.Players:FindFirstChild(Foe.Name) then
  2430. table.insert(TOBANISH,Foe.Name)
  2431. printbye(Foe.Name)
  2432. --end
  2433. Foe.Archivable = true
  2434. local CLONE = Foe:Clone()
  2435. Foe:Destroy()
  2436. CLONE.Parent = Effects
  2437. CLONE:BreakJoints()
  2438. local MATERIALS = {"Glass","Neon"}
  2439. for _, c in pairs(CLONE:GetDescendants()) do
  2440. if c:IsA("BasePart") then
  2441. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  2442. CreateSound(340722848, c, 10, 1, false)
  2443. end
  2444. c.Anchored = true
  2445. c.Transparency = c.Transparency + 0.2
  2446. c.Material = MATERIALS[MRANDOM(1,2)]
  2447. c.Color = C3(0,0,255)
  2448. if c.ClassName == "MeshPart" then
  2449. c.TextureID = ""
  2450. end
  2451. if c:FindFirstChildOfClass("SpecialMesh") then
  2452. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2453. end
  2454. if c:FindFirstChildOfClass("Decal") then
  2455. c:FindFirstChildOfClass("Decal"):remove()
  2456. end
  2457. c.Name = "Banished"
  2458. c.CanCollide = false
  2459. else
  2460. c:remove()
  2461. end
  2462. end
  2463. local A = false
  2464. for i = 1, 35 do
  2465. if A == false then
  2466. A = true
  2467. elseif A == true then
  2468. A = false
  2469. end
  2470. for _, c in pairs(CLONE:GetDescendants()) do
  2471. if c:IsA("BasePart") then
  2472. c.Anchored = true
  2473. c.Material = MATERIALS[MRANDOM(1,2)]
  2474. c.Transparency = c.Transparency + 0.8/35
  2475. if A == false then
  2476. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2477. elseif A == true then
  2478. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2479. end
  2480. end
  2481. end
  2482. Swait()
  2483. end
  2484. CLONE:remove()
  2485. end))
  2486. end
  2487. end
  2488.  
  2489. function ApplyAoE(POSITION,RANGE,ISBANISH)
  2490. local CHILDREN = workspace:GetDescendants()
  2491. for index, CHILD in pairs(CHILDREN) do
  2492. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2493. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2494. if HUM then
  2495. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2496. if TORSO then
  2497. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2498. if ISBANISH == true then
  2499. Banish(CHILD)
  2500. else
  2501. if ISBANISH == "Gravity" then
  2502. HUM.PlatformStand = true
  2503. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2504. local grav = Instance.new("BodyPosition",TORSO)
  2505. grav.D = 15
  2506. grav.P = 20000
  2507. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2508. grav.position = TORSO.Position
  2509. grav.Name = "V3BanishForce"..Player.Name
  2510. else
  2511. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2512. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2513. end
  2514. else
  2515. HUM.PlatformStand = false
  2516. end
  2517. end
  2518. elseif ISBANISH == "Gravity" then
  2519. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2520. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2521. HUM.PlatformStand = false
  2522. end
  2523. end
  2524. end
  2525. end
  2526. end
  2527. end
  2528. end
  2529.  
  2530. function SpawnTrail(FROM,TO,BIG)
  2531. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Cyan", "Trail", VT(0,0,0))
  2532. MakeForm(TRAIL,"Cyl")
  2533. local DIST = (FROM - TO).Magnitude
  2534. if BIG == true then
  2535. TRAIL.Size = VT(0.5,DIST,0.5)
  2536. else
  2537. TRAIL.Size = VT(0.25,DIST,0.25)
  2538. end
  2539. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2540. coroutine.resume(coroutine.create(function()
  2541. for i = 1, 5 do
  2542. Swait()
  2543. TRAIL.Transparency = TRAIL.Transparency + 0.1
  2544. end
  2545. TRAIL:remove()
  2546. end))
  2547. end
  2548.  
  2549. function Banisher_Bullet()
  2550. ATTACK = true
  2551. Rooted = false
  2552. for i=0, 0.4, 0.1 / Animation_Speed do
  2553. Swait()
  2554. turnto(Mouse.Hit.p)
  2555. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2556. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2557. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2558. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2559. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2560. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2561. end
  2562. repeat
  2563. for i=0, 0.2, 0.1 / Animation_Speed do
  2564. Swait()
  2565. turnto(Mouse.Hit.p)
  2566. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2567. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2568. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2569. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2570. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2571. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2572. end
  2573. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2574. SpawnTrail(Hole.Position,POS)
  2575. if HIT ~= nil then
  2576. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2577. Banish(HIT.Parent)
  2578. end
  2579. end
  2580. 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,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2581. 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,1), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2582. 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,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2583. 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,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2584. for i=0, 0.3, 0.1 / Animation_Speed do
  2585. Swait()
  2586. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2587. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2588. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2589. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2590. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2591. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2592. end
  2593. until KEYHOLD == false
  2594. ATTACK = false
  2595. Rooted = false
  2596. end
  2597.  
  2598. function Hat()
  2599. ATTACK = true
  2600. Rooted = false
  2601. Pose("Taunt",0.4,1.2,false)
  2602. ATTACK = false
  2603. Rooted = false
  2604. end
  2605.  
  2606. --//=================================\\
  2607. --|| ASSIGN THINGS TO KEYS
  2608. --\\=================================//
  2609.  
  2610. function MouseDown(Mouse)
  2611. HOLD = true
  2612. if ATTACK == false then
  2613. end
  2614. end
  2615.  
  2616. function MouseUp(Mouse)
  2617. HOLD = false
  2618. end
  2619.  
  2620. function KeyDown(Key)
  2621. KEYHOLD = true
  2622. if Key == "z" and ATTACK == false then
  2623. Banisher_Bullet()
  2624. end
  2625. if Key == "q" and ATTACK == false then
  2626. Teleport()
  2627. end
  2628. if Key == "x" and ATTACK == false then
  2629. CyberSmash()
  2630. end
  2631. if Key == "c" and ATTACK == false then
  2632. SHATTER()
  2633. end
  2634. if Key == "t" and ATTACK == false then
  2635. Hat()
  2636. end
  2637. end
  2638.  
  2639. function KeyUp(Key)
  2640. KEYHOLD = false
  2641. end
  2642.  
  2643. Mouse.Button1Down:connect(function(NEWKEY)
  2644. MouseDown(NEWKEY)
  2645. end)
  2646. Mouse.Button1Up:connect(function(NEWKEY)
  2647. MouseUp(NEWKEY)
  2648. end)
  2649. Mouse.KeyDown:connect(function(NEWKEY)
  2650. KeyDown(NEWKEY)
  2651. end)
  2652. Mouse.KeyUp:connect(function(NEWKEY)
  2653. KeyUp(NEWKEY)
  2654. end)
  2655.  
  2656. --//=================================\\
  2657. --\\=================================//
  2658.  
  2659.  
  2660.  
  2661. function unanchor()
  2662. if UNANCHOR == true then
  2663. g = Character:GetChildren()
  2664. for i = 1, #g do
  2665. if g[i].ClassName == "Part" then
  2666. g[i].Anchored = false
  2667. end
  2668. end
  2669. end
  2670. end
  2671.  
  2672.  
  2673. --//=================================\\
  2674. --|| WRAP THE WHOLE SCRIPT UP
  2675. --\\=================================//
  2676.  
  2677. Humanoid.Changed:connect(function(Jump)
  2678. if Jump == "Jump" and (Disable_Jump == true) then
  2679. Humanoid.Jump = false
  2680. end
  2681. end)
  2682.  
  2683. while true do
  2684. Swait()
  2685. ANIMATE.Parent = nil
  2686. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2687. Humanoid = IT("Humanoid",Character)
  2688. end
  2689. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2690. v:Stop();
  2691. end
  2692. SINE = SINE + CHANGE
  2693. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2694. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2695. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2696. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2697. --[[if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2698. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2699. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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)
  2700. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2701. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2702. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2703. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2704. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2705. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2706. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2707. end--]]
  2708. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2709. ANIM = "Jump"
  2710. if ATTACK == false then
  2711. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2712. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2713. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2714. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2715. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2716. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2717. end
  2718. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2719. ANIM = "Fall"
  2720. if ATTACK == false then
  2721. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2722. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2723. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2724. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2725. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2726. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2727. end
  2728. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2729. ANIM = "Idle"
  2730. if ATTACK == false then
  2731. --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / Animation_Speed)
  2732. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2733. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(35), RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(-85 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2734. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2735. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2736. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)--]]
  2737. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.2 + 0.1 * COS(SINE / 20)) * ANGLES(RAD(-25 + 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2738. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 5.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2739. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(45 - 5.5 * SIN(SINE / 20)), RAD(0), RAD(-13)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2740. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.1 * COS(SINE / 20), 0) * ANGLES(RAD(-32 - 5.5 * SIN(SINE / 20)), RAD(0), RAD(-13)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2741. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 + 5.5 * SIN(SINE / 20)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2742. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.7) * ANGLES(RAD(-25 + 5.5 * SIN(SINE / 20)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 20)), RAD(0), RAD(13)), 0.2 / Animation_Speed)
  2743.  
  2744. end
  2745. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2746. ANIM = "Walk"
  2747. if ATTACK == false then
  2748. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.5 - 0.15 * COS(SINE / 7)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2749. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2750. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2751. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2752. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0 - 25 * SIN(SINE / 15))), 0.2 / Animation_Speed)
  2753. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0 - 25 * SIN(SINE / 15))), 0.2 / Animation_Speed)
  2754. end
  2755. end
  2756. unanchor()
  2757. Humanoid.MaxHealth = "inf"
  2758. Humanoid.Health = "inf"
  2759. if Rooted == false then
  2760. Disable_Jump = false
  2761. Humanoid.WalkSpeed = Speed
  2762. elseif Rooted == true then
  2763. Disable_Jump = true
  2764. Humanoid.WalkSpeed = 0
  2765. end
  2766. for _, c in pairs(Character:GetChildren()) do
  2767. if c.ClassName == "Part" and c.Name ~= "Eye" then
  2768. c.Material = "Neon"
  2769. if c:FindFirstChildOfClass("ParticleEmitter") then
  2770. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2771. end
  2772. c.Color = C3(1,1,1)
  2773. if c == Head then
  2774. if c:FindFirstChild("face") then
  2775. c.face:remove()
  2776. end
  2777. end
  2778. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  2779. c:remove()
  2780. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2781. c:remove()
  2782. end
  2783. end
  2784. sick.SoundId = "rbxassetid://1567323605"
  2785. sick.Looped = true
  2786. sick.Pitch = 1
  2787. sick.Volume = 3
  2788. sick:Resume()
  2789. sick.Parent = Torso
  2790. refit()
  2791. if Head:FindFirstChildOfClass("Sound") then
  2792. Head:FindFirstChildOfClass("Sound"):remove()
  2793. end
  2794. end
  2795. game.Lighting.TimeOfDay = "00:00:00"
  2796. game.Lighting.FogEnd = 50
  2797. game.Lighting.FogColor = Color3.fromRGB(0,0,0)
  2798.  
  2799. --//=================================\\
  2800.  
  2801. --\\=================================//
  2802.  
  2803.  
  2804.  
  2805.  
  2806.  
  2807. --//====================================================\\--
  2808. --|| END OF SCRIPT
  2809. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement