Advertisement
refrop

newsans2021.v1

Jun 3rd, 2021 (edited)
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 62.00 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| EDITED BY REFROP {2021}
  3. --\\====================================================//--
  4. --eraser
  5. lplr = game.Players.LocalPlayer
  6. lchar = lplr.Character
  7. lhum = lchar:FindFirstChild("Humanoid")
  8. lrootpart = lhum:FindFirstChild("HumanoidRootPart")
  9. torso = lchar:FindFirstChild("Torso")
  10. animator = lhum.Animator
  11. backpack = lplr.Backpack
  12. ls = torso:FindFirstChild("Left Shoulder")
  13. ra = lchar:FindFirstChild("Right Arm")
  14. lh = torso:FindFirstChild("Left Hip")
  15. la = lchar:FindFirstChild("Left Arm")
  16. rs = torso:FindFirstChild("Right Shoulder")
  17. rh = torso:FindFirstChild("Right Hip")
  18. rl = lchar:FindFirstChild("Right Leg")
  19. ll = lchar:FindFirstChild("Left Leg")
  20. neck = torso:FindFirstChild("Neck")
  21. v3 = Vector3.new
  22. cf = CFrame
  23. create = Instance.new
  24. pgui = lplr.PlayerGui --game.CoreGui
  25. --[[To do:
  26. 1. Make a working FE kill gui
  27. a) Position to bottom right [./]
  28. b) Finish it :)
  29. 2. Add tp into it (tp to other player)
  30.  
  31. --]]
  32. local gui = Instance.new("ScreenGui")
  33. gui.Parent = pgui
  34. local generalframe = Instance.new("Frame")
  35. generalframe.Size = UDim2.new(0, 350, 0, 140)
  36. generalframe.Position = UDim2.new(0.75, 0, 0.75, 0)
  37. generalframe.BackgroundColor3 = BrickColor.new("Fossil").Color
  38. generalframe.BorderSizePixel = 5
  39. generalframe.BorderColor3 = BrickColor.new("Dark stone grey").Color
  40. generalframe.Transparency = 0.25
  41. generalframe.Active = true
  42. generalframe.Draggable = true
  43. generalframe.Parent = gui
  44. local plrBox = Instance.new("TextBox")
  45. plrBox.Parent = generalframe
  46. plrBox.Size = UDim2.new(0, 300, 0, 42.5)
  47. plrBox.Position = UDim2.new(0.075, 0, 0.2, 0)
  48. plrBox.BackgroundColor3 = BrickColor.new("Fossil").Color
  49. plrBox.BorderSizePixel = 5
  50. plrBox.BorderColor3 = BrickColor.new("Dark stone grey").Color
  51. plrBox.FontSize = Enum.FontSize.Size28
  52. plrBox.Font = "SciFi"
  53. plrBox.TextColor3 = Color3.new(17, 17, 17)
  54. plrBox.Transparency = 0.175
  55. plrBox.Text = "Who u want to erase?"
  56. local execbutton = Instance.new("TextButton")
  57. execbutton.Size = UDim2.new(0, 300, 0, 27.5)
  58. execbutton.Position = plrBox.Position + UDim2.new(0, 0, 0, 54)
  59. execbutton.BackgroundColor3 = BrickColor.new("Fossil").Color
  60. execbutton.BorderSizePixel = 5
  61. execbutton.BorderColor3 = BrickColor.new("Dark stone grey").Color
  62. execbutton.Font = "SciFi"
  63. execbutton.FontSize = Enum.FontSize.Size18
  64. execbutton.TextColor3 = Color3.new(17, 17, 17)
  65. execbutton.Transparency = 0.175
  66. execbutton.Text = "Erase..."
  67. execbutton.Parent = generalframe
  68. --[[Function/s being made!]]
  69.  
  70. local function getPlayerByString(name)
  71. for _, Player in pairs(game:service'Players':GetPlayers()) do
  72. if Player.Name:sub(1, #name):lower() == name:lower() then
  73. return Player
  74. end
  75. end
  76. end
  77.  
  78. function FeKill(Target)
  79. if plrBox.Text:lower() == "all" or "others" then
  80. local lpChar = game.Players.LocalPlayer.Character.Torso
  81.  
  82.  
  83. for i,plr in pairs (game.Players:GetChildren()) do
  84. if plr.Name ~= game.Players.LocalPlayer.Name then
  85. for i,v in pairs (game.Players.LocalPlayer.Character:GetChildren()) do
  86. if v.ClassName == 'Part' then
  87. if v.Name ~= 'Head' then
  88. v.Anchored = true
  89. end
  90. end
  91. end
  92. local w = Instance.new("Weld", lpChar)
  93. w.Part0 = lpChar
  94. w.Part1 = plr.Character.Torso
  95. w.C0 = lpChar.CFrame
  96. w.C1 = lpChar.CFrame * CFrame.new(0, -10000, 0)
  97. wait(0.1)
  98. w:Destroy()
  99. for i,v in pairs (game.Players.LocalPlayer.Character:GetChildren()) do
  100. if v.ClassName == 'Part' then
  101. if v.Name ~= 'Head' then
  102. v.Anchored = false
  103. end
  104. end
  105. end
  106. end
  107. end
  108. else
  109. local chosen = getPlayerByString(Target)
  110. local plr = chosen
  111. local lpChar = game.Players.LocalPlayer.Character.Torso
  112.  
  113. for i,v in pairs (game.Players.LocalPlayer.Character:GetChildren()) do
  114. if v.ClassName == 'Part' then
  115. if v.Name ~= 'Head' then
  116. v.Anchored = true
  117. end
  118. end
  119. end
  120. local w = Instance.new("Weld", lpChar)
  121. w.Part0 = lpChar
  122. w.Part1 = plr.Character.Torso
  123. w.C0 = lpChar.CFrame
  124. w.C1 = lpChar.CFrame * CFrame.new(0, -10000, 0)
  125. wait(0.1)
  126. w:Destroy()
  127. for i,v in pairs (game.Players.LocalPlayer.Character:GetChildren()) do
  128. if v.ClassName == 'Part' then
  129. if v.Name ~= 'Head' then
  130. v.Anchored = false
  131. end
  132. end
  133. end
  134. end
  135.  
  136. end
  137.  
  138. function rekt(Target)
  139. if plrBox.Text:lower() == "all" then
  140. for i, v in pairs (game.Players:GetChildren()) do
  141. local char = v.Character
  142. if char then
  143. char:BreakJoints()
  144. end
  145. end
  146. elseif plrBox.Text:lower() == "others" then
  147. for i, v in pairs (game.Players:GetChildren()) do
  148. if v.Name ~= lplr.Name then
  149. local char = v.Character
  150. if char then
  151. char:BreakJoints()
  152. end
  153. end
  154. end
  155. else
  156. local prehum = getPlayerByString(Target)
  157. local hum = prehum.Character
  158. if hum then
  159. hum:BreakJoints()
  160. end
  161. end
  162.  
  163.  
  164. end
  165. --[[Connecting functions!]]
  166. execbutton.MouseButton1Down:connect(function()
  167. if game.Workspace.FilteringEnabled == true then
  168. FeKill(plrBox.Text)
  169. elseif game.Workspace.FilteringEnabled ~= true then
  170. rekt(plrBox.Text)
  171. end
  172. end)
  173.  
  174. p = game.Players.LocalPlayer
  175. char = p.Character
  176. des = false
  177. fling = true
  178. dot = false
  179. falling = false
  180. jump = true
  181. --char.Shirt:Remove()
  182. --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  183. for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
  184. wait()--shirt = Instance.new("Shirt", char)
  185. --shirt.Name = "Shirt"
  186. --pants = Instance.new("Pants", char)
  187. --pants.Name = "Pants"
  188.  
  189. --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=536970291"
  190. --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=511439784"
  191. tp = true
  192. shoot = true
  193. hum = char.Humanoid
  194. punch = true
  195. neckp = char.Torso.Neck.C0
  196. neck = char.Torso.Neck
  197. hum.MaxHealth = math.huge
  198. wait()
  199. hum.Health =hum.MaxHealth
  200. des = false
  201. root=char.HumanoidRootPart
  202. torso = char.Torso
  203. char.Head.face.Texture = "rbxassetid://26449032"
  204. local ChatService = game:GetService("Chat")
  205. local player = game.Players.LocalPlayer
  206. lig = Instance.new("PointLight",player.Character.Torso)
  207. lig.Color=Color3.new(0, 255, 255)
  208. lig.Brightness = 17.34
  209. m=player:GetMouse()
  210. bb = Instance.new("BillboardGui",player.Character.Head)
  211. bb.Enabled = true
  212. function newRay(start,face,range,wat)
  213. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  214. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  215. return rey,hit,pos
  216. end
  217.  
  218. wait(0.2)
  219.  
  220. Player = game:GetService("Players").LocalPlayer
  221. PlayerGui = Player.PlayerGui
  222. Cam = workspace.CurrentCamera
  223. Backpack = Player.Backpack
  224. Character = Player.Character
  225. Humanoid = Character.Humanoid
  226. Mouse = Player:GetMouse()
  227. RootPart = Character["HumanoidRootPart"]
  228. Torso = Character["Torso"]
  229. Head = Character["Head"]
  230. RightArm = Character["Right Arm"]
  231. LeftArm = Character["Left Arm"]
  232. RightLeg = Character["Right Leg"]
  233. LeftLeg = Character["Left Leg"]
  234. RootJoint = RootPart["RootJoint"]
  235. Neck = Torso["Neck"]
  236. RightShoulder = Torso["Right Shoulder"]
  237. LeftShoulder = Torso["Left Shoulder"]
  238. RightHip = Torso["Right Hip"]
  239. LeftHip = Torso["Left Hip"]
  240. local sick = Instance.new("Sound",Character)
  241. sick.SoundId = "rbxassetid://937160216"
  242. sick.Looped = true
  243. sick.Pitch = 1
  244. sick.Volume = 41
  245. sick:Play()
  246.  
  247. IT = Instance.new
  248. CF = CFrame.new
  249. VT = Vector3.new
  250. RAD = math.rad
  251. C3 = Color3.new
  252. UD2 = UDim2.new
  253. BRICKC = BrickColor.new
  254. ANGLES = CFrame.Angles
  255. EULER = CFrame.fromEulerAnglesXYZ
  256. COS = math.cos
  257. ACOS = math.acos
  258. SIN = math.sin
  259. ASIN = math.asin
  260. ABS = math.abs
  261. MRANDOM = math.random
  262. FLOOR = math.floor
  263.  
  264. --//=================================\\
  265. --|| USEFUL VALUES
  266. --\\=================================//
  267.  
  268. Animation_Speed = 3
  269. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  270. local Speed = 25
  271. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  272. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  273. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  274. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  275. local DAMAGEMULTIPLIER = 2
  276. local ANIM = "Idle"
  277. local ATTACK = false
  278. local EQUIPPED = false
  279. local HOLD = false
  280. local COMBO = 1
  281. local Rooted = false
  282. local SINE = 0
  283. local KEYHOLD = false
  284. local CHANGE = 2 / Animation_Speed
  285. local WALKINGANIM = false
  286. local VALUE1 = false
  287. local VALUE2 = false
  288. local ROBLOXIDLEANIMATION = IT("Animation")
  289. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  290. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=6904640868"
  291. --ROBLOXIDLEANIMATION.Parent = Humanoid
  292. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  293. WEAPONGUI.Name = "Weapon GUI"
  294. local Effects = IT("Folder", Character)
  295. Effects.Name = "Effects"
  296. local ANIMATOR = Humanoid.Animator
  297. local ANIMATE = Character.Animate
  298. local UNANCHOR = true
  299. local PLAYMAINANIM = true
  300. local BOLTSOUNDS = {168586621,168586586,178452241}
  301.  
  302. --//=================================\\
  303. --\\=================================//
  304.  
  305.  
  306. --//=================================\\
  307. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  308. --\\=================================//
  309.  
  310. ArtificialHB = Instance.new("BindableEvent", script)
  311. ArtificialHB.Name = "ArtificialHB"
  312.  
  313. script:WaitForChild("ArtificialHB")
  314.  
  315. frame = Frame_Speed
  316. tf = 0
  317. allowframeloss = false
  318. tossremainder = false
  319. lastframe = tick()
  320. script.ArtificialHB:Fire()
  321.  
  322. game:GetService("RunService").Heartbeat:connect(function(s, p)
  323. tf = tf + s
  324. if tf >= frame then
  325. if allowframeloss then
  326. script.ArtificialHB:Fire()
  327. lastframe = tick()
  328. else
  329. for i = 1, math.floor(tf / frame) do
  330. script.ArtificialHB:Fire()
  331. end
  332. lastframe = tick()
  333. end
  334. if tossremainder then
  335. tf = 0
  336. else
  337. tf = tf - frame * math.floor(tf / frame)
  338. end
  339. end
  340. end)
  341.  
  342. --//=================================\\
  343. --\\=================================//
  344.  
  345. --//=================================\\
  346. --|| SOME FUNCTIONS
  347. --\\=================================//
  348.  
  349. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  350. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  351. end
  352.  
  353. function PositiveAngle(NUMBER)
  354. if NUMBER >= 0 then
  355. NUMBER = 0
  356. end
  357. return NUMBER
  358. end
  359.  
  360. function NegativeAngle(NUMBER)
  361. if NUMBER <= 0 then
  362. NUMBER = 0
  363. end
  364. return NUMBER
  365. end
  366.  
  367. function Swait(NUMBER)
  368. if NUMBER == 0 or NUMBER == nil then
  369. ArtificialHB.Event:wait()
  370. else
  371. for i = 1, NUMBER do
  372. ArtificialHB.Event:wait()
  373. end
  374. end
  375. end
  376.  
  377. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  378. local NEWMESH = IT(MESH)
  379. if MESH == "SpecialMesh" then
  380. NEWMESH.MeshType = MESHTYPE
  381. if MESHID ~= "nil" and MESHID ~= "" then
  382. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  383. end
  384. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  385. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  386. end
  387. end
  388. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  389. NEWMESH.Scale = SCALE
  390. NEWMESH.Parent = PARENT
  391. return NEWMESH
  392. end
  393.  
  394. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  395. local NEWPART = IT("Part")
  396. NEWPART.formFactor = FORMFACTOR
  397. NEWPART.Reflectance = REFLECTANCE
  398. NEWPART.Transparency = TRANSPARENCY
  399. NEWPART.CanCollide = false
  400. NEWPART.Locked = true
  401. NEWPART.Anchored = true
  402. if ANCHOR == false then
  403. NEWPART.Anchored = false
  404. end
  405. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  406. NEWPART.Name = NAME
  407. NEWPART.Size = SIZE
  408. NEWPART.Position = Torso.Position
  409. NEWPART.Material = MATERIAL
  410. NEWPART:BreakJoints()
  411. NEWPART.Parent = PARENT
  412. return NEWPART
  413. end
  414.  
  415. local function weldBetween(a, b)
  416. local weldd = Instance.new("ManualWeld")
  417. weldd.Part0 = a
  418. weldd.Part1 = b
  419. weldd.C0 = CFrame.new()
  420. weldd.C1 = b.CFrame:inverse() * a.CFrame
  421. weldd.Parent = a
  422. return weldd
  423. end
  424.  
  425.  
  426. function QuaternionFromCFrame(cf)
  427. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  428. local trace = m00 + m11 + m22
  429. if trace > 0 then
  430. local s = math.sqrt(1 + trace)
  431. local recip = 0.5 / s
  432. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  433. else
  434. local i = 0
  435. if m11 > m00 then
  436. i = 1
  437. end
  438. if m22 > (i == 0 and m00 or m11) then
  439. i = 2
  440. end
  441. if i == 0 then
  442. local s = math.sqrt(m00 - m11 - m22 + 1)
  443. local recip = 0.5 / s
  444. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  445. elseif i == 1 then
  446. local s = math.sqrt(m11 - m22 - m00 + 1)
  447. local recip = 0.5 / s
  448. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  449. elseif i == 2 then
  450. local s = math.sqrt(m22 - m00 - m11 + 1)
  451. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  452. end
  453. end
  454. end
  455.  
  456. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  457. local xs, ys, zs = x + x, y + y, z + z
  458. local wx, wy, wz = w * xs, w * ys, w * zs
  459. local xx = x * xs
  460. local xy = x * ys
  461. local xz = x * zs
  462. local yy = y * ys
  463. local yz = y * zs
  464. local zz = z * zs
  465. 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))
  466. end
  467.  
  468. function QuaternionSlerp(a, b, t)
  469. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  470. local startInterp, finishInterp;
  471. if cosTheta >= 0.0001 then
  472. if (1 - cosTheta) > 0.0001 then
  473. local theta = ACOS(cosTheta)
  474. local invSinTheta = 1 / SIN(theta)
  475. startInterp = SIN((1 - t) * theta) * invSinTheta
  476. finishInterp = SIN(t * theta) * invSinTheta
  477. else
  478. startInterp = 1 - t
  479. finishInterp = t
  480. end
  481. else
  482. if (1 + cosTheta) > 0.0001 then
  483. local theta = ACOS(-cosTheta)
  484. local invSinTheta = 1 / SIN(theta)
  485. startInterp = SIN((t - 1) * theta) * invSinTheta
  486. finishInterp = SIN(t * theta) * invSinTheta
  487. else
  488. startInterp = t - 1
  489. finishInterp = t
  490. end
  491. end
  492. 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
  493. end
  494.  
  495. function Clerp(a, b, t)
  496. local qa = {QuaternionFromCFrame(a)}
  497. local qb = {QuaternionFromCFrame(b)}
  498. local ax, ay, az = a.x, a.y, a.z
  499. local bx, by, bz = b.x, b.y, b.z
  500. local _t = 1 - t
  501. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  502. end
  503.  
  504. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  505. local frame = IT("Frame")
  506. frame.BackgroundTransparency = TRANSPARENCY
  507. frame.BorderSizePixel = BORDERSIZEPIXEL
  508. frame.Position = POSITION
  509. frame.Size = SIZE
  510. frame.BackgroundColor3 = COLOR
  511. frame.BorderColor3 = BORDERCOLOR
  512. frame.Name = NAME
  513. frame.Parent = PARENT
  514. return frame
  515. end
  516.  
  517. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  518. local label = IT("TextLabel")
  519. label.BackgroundTransparency = 1
  520. label.Size = UD2(1, 0, 1, 0)
  521. label.Position = UD2(0, 0, 0, 0)
  522. label.TextColor3 = TEXTCOLOR
  523. label.TextStrokeTransparency = STROKETRANSPARENCY
  524. label.TextTransparency = TRANSPARENCY
  525. label.FontSize = TEXTFONTSIZE
  526. label.Font = TEXTFONT
  527. label.BorderSizePixel = BORDERSIZEPIXEL
  528. label.TextScaled = false
  529. label.Text = TEXT
  530. label.Name = NAME
  531. label.Parent = PARENT
  532. return label
  533. end
  534.  
  535. function NoOutlines(PART)
  536. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  537. end
  538.  
  539. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  540. local NEWWELD = IT(TYPE)
  541. NEWWELD.Part0 = PART0
  542. NEWWELD.Part1 = PART1
  543. NEWWELD.C0 = C0
  544. NEWWELD.C1 = C1
  545. NEWWELD.Parent = PARENT
  546. return NEWWELD
  547. end
  548.  
  549. local S = IT("Sound")
  550. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  551. local NEWSOUND = nil
  552. coroutine.resume(coroutine.create(function()
  553. NEWSOUND = S:Clone()
  554. NEWSOUND.Parent = PARENT
  555. NEWSOUND.Volume = VOLUME
  556. NEWSOUND.Pitch = PITCH
  557. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  558. NEWSOUND:play()
  559. if DOESLOOP == true then
  560. NEWSOUND.Looped = true
  561. else
  562. repeat wait(1) until NEWSOUND.Playing == false
  563. NEWSOUND:remove()
  564. end
  565. end))
  566. return NEWSOUND
  567. end
  568.  
  569. local EyeSizes={
  570. NumberSequenceKeypoint.new(0,2,0),
  571. NumberSequenceKeypoint.new(1,0,0)
  572. }
  573. local EyeTrans={
  574. NumberSequenceKeypoint.new(0,0.5,0),
  575. NumberSequenceKeypoint.new(1,1,0)
  576. }
  577. local PE=Instance.new("ParticleEmitter",nil)
  578. PE.LightEmission=.8
  579. PE.Color = ColorSequence.new(BRICKC("Earth green").Color,BRICKC("Really black").Color)
  580. PE.Size=NumberSequence.new(EyeSizes)
  581. PE.Transparency=NumberSequence.new(EyeTrans)
  582. PE.Lifetime=NumberRange.new(0.55,1)
  583. PE.Rotation=NumberRange.new(0,560)
  584. PE.Rate=150
  585. PE.VelocitySpread = 10000
  586. PE.Acceleration = Vector3.new(0,25,0)
  587. PE.Drag = 5
  588. PE.Speed = NumberRange.new(0.1,5)
  589. PE.Texture="http://www.roblox.com/asset/?id=744949545"
  590. PE.ZOffset = 0.5
  591. PE.Name = "PE"
  592. PE.Enabled = false
  593.  
  594. function Fire(art)
  595. local PARTICLES = PE:Clone()
  596. PARTICLES.Parent = art
  597. PARTICLES.Enabled = true
  598. return PARTICLES
  599. end
  600.  
  601. function CFrameFromTopBack(at, top, back)
  602. local right = top:Cross(back)
  603. 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)
  604. end
  605.  
  606. --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})
  607. function WACKYEFFECT(Table)
  608. local TYPE = (Table.EffectType or "Sphere")
  609. local SIZE = (Table.Size or VT(1,1,1))
  610. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  611. local TRANSPARENCY = (Table.Transparency or 0)
  612. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  613. local CFRAME = (Table.CFrame or Torso.CFrame)
  614. local MOVEDIRECTION = (Table.MoveToPos or nil)
  615. local ROTATION1 = (Table.RotationX or 0)
  616. local ROTATION2 = (Table.RotationY or 0)
  617. local ROTATION3 = (Table.RotationZ or 0)
  618. local MATERIAL = (Table.Material or "Neon")
  619. local COLOR = (Table.Color or C3(1,1,1))
  620. local TIME = (Table.Time or 45)
  621. local SOUNDID = (Table.SoundID or nil)
  622. local SOUNDPITCH = (Table.SoundPitch or nil)
  623. local SOUNDVOLUME = (Table.SoundVolume or nil)
  624. coroutine.resume(coroutine.create(function()
  625. local PLAYSSOUND = false
  626. local SOUND = nil
  627. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  628. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  629. PLAYSSOUND = true
  630. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  631. end
  632. EFFECT.Color = COLOR
  633. local MSH = nil
  634. if TYPE == "Sphere" then
  635. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  636. elseif TYPE == "Block" or TYPE == "Box" then
  637. MSH = IT("BlockMesh",EFFECT)
  638. MSH.Scale = SIZE
  639. elseif TYPE == "Wave" then
  640. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  641. elseif TYPE == "Ring" then
  642. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  643. elseif TYPE == "Slash" then
  644. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  645. elseif TYPE == "Round Slash" then
  646. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  647. elseif TYPE == "Swirl" then
  648. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  649. elseif TYPE == "Skull" then
  650. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  651. elseif TYPE == "Crystal" then
  652. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  653. end
  654. if MSH ~= nil then
  655. local MOVESPEED = nil
  656. if MOVEDIRECTION ~= nil then
  657. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  658. end
  659. local GROWTH = SIZE - ENDSIZE
  660. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  661. if TYPE == "Block" then
  662. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  663. else
  664. EFFECT.CFrame = CFRAME
  665. end
  666. for LOOP = 1, TIME+1 do
  667. Swait()
  668. MSH.Scale = MSH.Scale - GROWTH/TIME
  669. if TYPE == "Wave" then
  670. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  671. end
  672. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  673. if TYPE == "Block" then
  674. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  675. else
  676. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  677. end
  678. if MOVEDIRECTION ~= nil then
  679. local ORI = EFFECT.Orientation
  680. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  681. EFFECT.Orientation = ORI
  682. end
  683. end
  684. if PLAYSSOUND == false then
  685. EFFECT:remove()
  686. else
  687. repeat wait(1) until SOUND.Playing == false
  688. EFFECT:remove()
  689. end
  690. else
  691. if PLAYSSOUND == false then
  692. EFFECT:remove()
  693. else
  694. repeat Swait() until SOUND.Playing == false
  695. EFFECT:remove()
  696. end
  697. end
  698. end))
  699. end
  700.  
  701. function MakeForm(PART,TYPE)
  702. if TYPE == "Cyl" then
  703. local MSH = IT("CylinderMesh",PART)
  704. elseif TYPE == "Ball" then
  705. local MSH = IT("SpecialMesh",PART)
  706. MSH.MeshType = "Sphere"
  707. elseif TYPE == "Wedge" then
  708. local MSH = IT("SpecialMesh",PART)
  709. MSH.MeshType = "Wedge"
  710. end
  711. end
  712.  
  713. Debris = game:GetService("Debris")
  714.  
  715. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  716. local DIRECTION = CF(StartPos,EndPos).lookVector
  717. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  718. end
  719.  
  720. local HATWELD = nil
  721. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  722. PLAYMAINANIM = false
  723. if WhichPose == "Cast1" then
  724. for i=0, Time, 0.1 / Animation_Speed do
  725. Swait()
  726. if Magic == true then
  727. 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"Lime green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  728. end
  729. if Gyro ~= nil and Gyro ~= false then
  730. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  731. end
  732. 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)
  733. 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)
  734. 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)
  735. 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)
  736. 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)
  737. 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)
  738. end
  739. elseif WhichPose == "Cast2" then
  740. for i=0, Time, 0.1 / Animation_Speed do
  741. Swait()
  742. if Magic == true then
  743. 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})
  744. 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})
  745. end
  746. if Gyro ~= nil and Gyro ~= false then
  747. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  748. end
  749. 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)
  750. 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)
  751. 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)
  752. 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)
  753. 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)
  754. 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)
  755. end
  756. elseif WhichPose == "RightArmUp" then
  757. for i=0, Time, 0.1 / Animation_Speed do
  758. Swait()
  759. if Magic == true then
  760. 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})
  761. end
  762. if Gyro ~= nil and Gyro ~= false then
  763. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  764. end
  765. 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)
  766. 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)
  767. 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)
  768. 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)
  769. 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)
  770. 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)
  771. end
  772. elseif WhichPose == "Taunt" then
  773. for i=0, Time, 0.1 / Animation_Speed do
  774. Swait()
  775. 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)
  776. 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)
  777. 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)
  778. 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)
  779. 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)
  780. 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)
  781. end
  782. HATWELD.Part0 = RightArm
  783. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  784. CreateSound(221057812,Torso,10,1,false)
  785. for i=0, Time*2, 0.1 / Animation_Speed do
  786. Swait()
  787. 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)
  788. 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)
  789. 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)
  790. 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)
  791. 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)
  792. 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)
  793. end
  794. for i=0, Time, 0.1 / Animation_Speed do
  795. Swait()
  796. 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)
  797. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  798. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  799. 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)
  800. 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)
  801. 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)
  802. 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)
  803. end
  804. HATWELD.Part0 = Head
  805. HATWELD.C0 = CF(0,0.35,0)
  806. elseif WhichPose == "Prepare key" then
  807. for i=0, Time, 0.1 / Animation_Speed do
  808. Swait()
  809. if Gyro ~= nil and Gyro ~= false then
  810. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  811. end
  812. 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)
  813. 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)
  814. 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)
  815. 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)
  816. 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)
  817. 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)
  818. end
  819. elseif WhichPose == "Turn key" then
  820. for i=0, Time, 0.1 / Animation_Speed do
  821. Swait()
  822. if Gyro ~= nil and Gyro ~= false then
  823. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  824. end
  825. 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)
  826. 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)
  827. 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)
  828. 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)
  829. 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)
  830. 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)
  831. end
  832. end
  833. PLAYMAINANIM = true
  834. end
  835.  
  836. --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})
  837. function Lightning(Table)
  838. local Color = Table.Color or C3(1,1,1)
  839. local StartPos = Table.Start or Torso.Position
  840. local EndPos = Table.End or Mouse.Hit.p
  841. local SegmentLength = Table.SegmentL or 2
  842. local Thickness = Table.Thickness or 0.1
  843. local Dissapear = Table.DoesFade or false
  844. local Parent = Table.Ignore or Character
  845. local MaxDist = Table.MaxDist or 400
  846. local Branches = Table.Branches or false
  847. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  848. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  849. local LIGHTNINGMODEL = IT("Model",Effects)
  850. LIGHTNINGMODEL.Name = "Lightning"
  851. local LastBolt = nil
  852. for E = 1, DISTANCE do
  853. local ExtraSize = (DISTANCE-E)/15
  854. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Earth green"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  855. PART.Color = Color
  856. MakeForm(PART,"Cyl")
  857. if LastBolt == nil then
  858. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  859. else
  860. 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)
  861. end
  862. LastBolt = PART
  863. if Branches == true then
  864. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  865. if CHOICE == 1 then
  866. local LASTBRANCH = nil
  867. for i = 1, MRANDOM(2,5) do
  868. local ExtraSize2 = ((DISTANCE-E)/25)/i
  869. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Earth green"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  870. PART.Color = Color
  871. MakeForm(PART,"Cyl")
  872. if LASTBRANCH == nil then
  873. 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)
  874. else
  875. 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)
  876. end
  877. LASTBRANCH = PART
  878. end
  879. end
  880. end
  881. end
  882. if Dissapear == true then
  883. coroutine.resume(coroutine.create(function()
  884. for i = 1, 10 do
  885. Swait()
  886. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  887. if c.ClassName == "Part" then
  888. c.Transparency = i/10
  889. end
  890. end
  891. end
  892. LIGHTNINGMODEL:remove()
  893. end))
  894. elseif Dissapear == false then
  895. Debris:AddItem(LIGHTNINGMODEL,0.1)
  896. end
  897. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  898. end
  899.  
  900. --//=================================\\
  901. --|| WEAPON CREATION
  902. --\\=================================//
  903.  
  904. for i = 1, 15 do
  905. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/15.2, "Fossil", "FaceGradient", VT(1.01,0.58,1.01),false)
  906. FACE.Color = C3(0,0,0)
  907. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  908. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/35,0), CF(0, 0, 0))
  909. end
  910. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Fossil", "Hat", VT(2,0.2,2),false)
  911. MakeForm(HAT1,"Cyl")
  912. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  913. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Earth green", "Hat", VT(2.01,0.15,2.01),false)
  914. BELT.Color = C3(15/255,15/255,15/255)
  915. MakeForm(BELT,"Cyl")
  916. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  917. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Earth green", "Hat", VT(1.3,2.2,1.3),false)
  918. MakeForm(HAT2,"Cyl")
  919. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  920. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Earth green", "Hat", VT(1.31,0.2,1.31),false)
  921. BELT.Color = C3(15/255,15/255,15/255)
  922. MakeForm(BELT,"Cyl")
  923. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  924. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Earth green", "Gem", VT(0.25,0.25,0.1),false)
  925. MakeForm(GEM,"Ball")
  926. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  927. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Earth green", "Gem", VT(0.25,0.25,0.1),false)
  928. MakeForm(GEM,"Ball")
  929. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  930. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Earth green", "Gem", VT(0.1,0.25,0.25),false)
  931. MakeForm(GEM,"Ball")
  932. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  933. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Earth green", "Gem", VT(0.1,0.25,0.25),false)
  934. MakeForm(GEM,"Ball")
  935. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  936. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Fossil", "Hat", VT(1.31,0.1,1.31),false)
  937. BELT.Color = C3(15/255,15/255,15/255)
  938. MakeForm(BELT,"Cyl")
  939. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  940. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Fossil", "Hat", VT(1.31,0.1,1.31),false)
  941. BELT.Color = C3(15/255,15/255,15/255)
  942. MakeForm(BELT,"Cyl")
  943. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  944. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Earth green", "Hat", VT(1.31,0.1,1.31),false)
  945. BELT.Color = C3(15/255,15/255,15/255)
  946. MakeForm(BELT,"Cyl")
  947. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  948. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Earth green", "Hat", VT(1.31,0.1,1.31),false)
  949. BELT.Color = C3(15/255,15/255,15/255)
  950. MakeForm(BELT,"Cyl")
  951. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  952. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Earth green", "Hat", VT(1.3,0.5,1.3),false)
  953. MakeForm(BELT,"Ball")
  954. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  955. Humanoid.DisplayDistanceType = "None"
  956. local naeeym2 = IT("BillboardGui",Character)
  957. naeeym2.AlwaysOnTop = true
  958. naeeym2.Size = UDim2.new(5,35,2,15)
  959. naeeym2.StudsOffset = Vector3.new(0,3,0)
  960. naeeym2.MaxDistance = 75
  961. naeeym2.Adornee = Character.Head
  962. naeeym2.Name = "Name"
  963. naeeym2.PlayerToHideFrom = Player
  964. local tecks2 = IT("TextLabel",naeeym2)
  965. tecks2.BackgroundTransparency = 0
  966. tecks2.TextScaled = true
  967. tecks2.BorderSizePixel = 0
  968. tecks2.Text = "Sans"
  969. tecks2.Font = "Bodoni"
  970. tecks2.TextSize = 30
  971. tecks2.TextStrokeTransparency = 0.5
  972. tecks2.TextColor3 = C3(0,0,0)
  973. tecks2.TextStrokeColor3 = BRICKC"Institutional white".Color
  974. tecks2.Size = UDim2.new(1,0,0.5,0)
  975. tecks2.Parent = naeeym2
  976. ------------------------------
  977. --------------------------eye
  978. ------------------------------
  979. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really black", "FaceGradient", VT(0.6,0.1,1)/2,false)
  980. MakeForm(EYE,"Ball")
  981. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  982. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really black", "FaceGradient", VT(0.6,0.1,1)/2,false)
  983. MakeForm(EYE,"Ball")
  984. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  985. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really black", "FaceGradient", VT(0.1,1,1)/2,false)
  986. MakeForm(EYE,"Ball")
  987. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  988. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really black", "FaceGradient", VT(0.1,1,1)/2,false)
  989. MakeForm(EYE,"Ball")
  990. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  991.  
  992. local top = Instance.new("Shirt")
  993. top.ShirtTemplate = "rbxassetid://536970291"
  994. top.Parent = Character
  995. top.Name = "Cloth"
  996. local bottom = Instance.new("Pants")
  997. bottom.PantsTemplate = "rbxassetid://511439784"
  998. bottom.Parent = Character
  999. bottom.Name = "Cloth"
  1000. for _, c in pairs(Character:GetChildren()) do
  1001. if c.ClassName == "Part" and c.Name ~= "FaceGradient" and c.Name ~= "Hat" and c.Name ~= "Gem" then
  1002. c.Material = "Neon"
  1003. if c:FindFirstChildOfClass("ParticleEmitter") then
  1004. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1005. end
  1006. c.Color = C3(1,1,1)
  1007. if c == Head then
  1008. if c:FindFirstChild("face") then
  1009. c.face:remove()
  1010. end
  1011. end
  1012. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1013. c:remove()
  1014. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1015. c:remove()
  1016. end
  1017. end
  1018. local BODY = {}
  1019. for _, c in pairs(Character:GetDescendants()) do
  1020. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1021. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1022. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1023. end
  1024. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1025. elseif c:IsA("JointInstance") then
  1026. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1027. end
  1028. end
  1029. for e = 1, #BODY do
  1030. if BODY[e] ~= nil then
  1031. local STUFF = BODY[e]
  1032. local PART = STUFF[1]
  1033. local PARENT = STUFF[2]
  1034. local MATERIAL = STUFF[3]
  1035. local COLOR = STUFF[4]
  1036. local TRANSPARENCY = STUFF[5]
  1037. if PART.ClassName == "Part" and PART ~= RootPart then
  1038. PART.Material = MATERIAL
  1039. PART.Color = COLOR
  1040. PART.Transparency = TRANSPARENCY
  1041. end
  1042. PART.AncestryChanged:Connect(function()
  1043. PART.Parent = PARENT
  1044. end)
  1045. end
  1046. end
  1047. function refit()
  1048. Character.Parent = workspace
  1049. for e = 1, #BODY do
  1050. if BODY[e] ~= nil then
  1051. local STUFF = BODY[e]
  1052. local PART = STUFF[1]
  1053. local PARENT = STUFF[2]
  1054. local MATERIAL = STUFF[3]
  1055. local COLOR = STUFF[4]
  1056. local TRANSPARENCY = STUFF[5]
  1057. if PART.ClassName == "Part" and PART ~= RootPart then
  1058. PART.Material = MATERIAL
  1059. PART.Color = COLOR
  1060. PART.Transparency = TRANSPARENCY
  1061. end
  1062. if PART.Parent ~= PARENT then
  1063. Humanoid:remove()
  1064. PART.Parent = PARENT
  1065. Humanoid = IT("Humanoid",Character)
  1066. end
  1067. end
  1068. end
  1069. end
  1070. local SKILLTEXTCOLOR = BRICKC"Really red".Color
  1071. local SKILLFONT = "Bodoni"
  1072. local SKILLTEXTSIZE = 7
  1073.  
  1074. Humanoid.Died:connect(function()
  1075. refit()
  1076. end)
  1077.  
  1078. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1079. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1080. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1081. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1082. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.70, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1083.  
  1084. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Warden Zap", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  1085. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Warden Thunder", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  1086. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Inferno Ring", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1087. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warden Wall", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1088. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Prison Key", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  1089.  
  1090. --//=================================\\
  1091. --|| DAMAGING
  1092. --\\=================================//
  1093.  
  1094. function ApplyAoE(POSITION,RANGE,FLING,BURN)
  1095. local CHILDREN = workspace:GetDescendants()
  1096. for index, CHILD in pairs(CHILDREN) do
  1097. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1098. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1099. if HUM then
  1100. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1101. if TORSO then
  1102. if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then
  1103. CHILD:BreakJoints()
  1104. if FLING ~= 0 then
  1105. for _, c in pairs(CHILD:GetChildren()) do
  1106. if c:IsA("BasePart") and c.Transparency == 0 then
  1107. if BURN == true then
  1108. Fire(c)
  1109. end
  1110. local bv = Instance.new("BodyVelocity")
  1111. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1112. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1113. bv.Parent = c
  1114. Debris:AddItem(bv,0.05)
  1115. end
  1116. end
  1117. end
  1118. end
  1119. end
  1120. end
  1121. end
  1122. end
  1123. end
  1124.  
  1125. --//=================================\\
  1126. --|| ATTACK FUNCTIONS AND STUFF
  1127. --\\=================================//
  1128.  
  1129. function Warden_Zap()
  1130. ATTACK = true
  1131. Rooted = false
  1132. local GYRO = IT("BodyGyro",RootPart)
  1133. GYRO.D = 750
  1134. GYRO.P = 20000
  1135. GYRO.MaxTorque = VT(0,40000000,0)
  1136. CreateSound(348663022,RightArm,1.5,2,false)
  1137. Pose("Cast1",0.8,1,true,GYRO)
  1138. local LightningTable = Lightning({Color = SKILLTEXTCOLOR, Start = RightArm.CFrame*CF(0,-1,0).p, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.2, DoesFade = true, Ignore = Character, MaxDist = 100, Branches = false})
  1139. local Hitpos = LightningTable.End
  1140. ApplyAoE(Hitpos,10,35)
  1141. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lime green".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1142. for i = 1, 4 do
  1143. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,45,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lime green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1144. end
  1145. Pose("Cast1",0.8,1,true)
  1146. GYRO:remove()
  1147. ATTACK = false
  1148. Rooted = false
  1149. end
  1150.  
  1151. function Warden_Thunder()
  1152. ATTACK = true
  1153. Rooted = false
  1154. local GYRO = IT("BodyGyro",RootPart)
  1155. GYRO.D = 750
  1156. GYRO.P = 20000
  1157. GYRO.MaxTorque = VT(0,40000000,0)
  1158. CreateSound(469345336,Torso,3,2,false)
  1159. Pose("Cast2",1.5,2,true,GYRO)
  1160. coroutine.resume(coroutine.create(function()
  1161. local FRAME = RootPart.CFrame
  1162. for i = 1, 25 do
  1163. local POS = FRAME*CF(MRANDOM(-17,17),0,-i*15)
  1164. local LightningTable = Lightning({Color = SKILLTEXTCOLOR, Start = POS*CF(0,85,0).p, End = POS*CF(0,-15,0).p, SegmentL = 3, Thickness = 0.4, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = true})
  1165. local Hitpos = LightningTable.End
  1166. ApplyAoE(Hitpos,20,15)
  1167. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(1,1,1)*15, Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lime green".Color, SoundID = BOLTSOUNDS[MRANDOM(1,#BOLTSOUNDS)], SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1168. for i = 1, 4 do
  1169. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,75,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hitpos)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lime green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1170. end
  1171. wait(0.05)
  1172. end
  1173. end))
  1174. Pose("Cast2",1.5,0.7,true)
  1175. GYRO:remove()
  1176. ATTACK = false
  1177. Rooted = false
  1178. end
  1179.  
  1180. function Inferno_Ring()
  1181. ATTACK = true
  1182. Rooted = false
  1183. local GYRO = IT("BodyGyro",RootPart)
  1184. GYRO.D = 750
  1185. GYRO.P = 20000
  1186. GYRO.MaxTorque = VT(0,40000000,0)
  1187. local FIRE = IT("Model",Effects)
  1188. FIRE.Name = "Fire"
  1189. local MAIN = CreatePart(3, FIRE, "Neon", 0, 1, "Deep orange", "Center", VT(0,0,0))
  1190. FIRE.PrimaryPart = MAIN
  1191. local FIRES = {}
  1192. for i = 1, 45 do
  1193. local PRT = CreatePart(3, FIRE, "Neon", 0, 1, "Deep orange", "RingPart", VT(3,3,3))
  1194. PRT.CFrame = MAIN.CFrame*ANGLES(RAD(0),RAD((360/45)*i),RAD(0))*CF(0,0,20)
  1195. local F = Fire(PRT)
  1196. table.insert(FIRES,F)
  1197. end
  1198. repeat
  1199. FIRE:SetPrimaryPartCFrame(CF(Mouse.Hit.p))
  1200. Pose("Cast1",1.5,0.01,false,GYRO)
  1201. until HOLD == true
  1202. coroutine.resume(coroutine.create(function()
  1203. for i = 1, 4 do
  1204. ApplyAoE(MAIN.Position,21,-15,true)
  1205. CreateSound(463598785,MAIN,3,1,false)
  1206. for E = 1, #FIRES do
  1207. if FIRES[E] ~= nil then
  1208. FIRES[E].Acceleration = VT(0,300,0)
  1209. FIRES[E].Lifetime=NumberRange.new(0.35,1.5)
  1210. end
  1211. end
  1212. wait(0.3)
  1213. end
  1214. for E = 1, #FIRES do
  1215. if FIRES[E] ~= nil then
  1216. FIRES[E].Enabled = false
  1217. end
  1218. end
  1219. Debris:AddItem(FIRE,5)
  1220. end))
  1221. CreateSound(215395388,RightArm,3,2,false)
  1222. Pose("RightArmUp",1.5,0.5,true)
  1223. GYRO:remove()
  1224. ATTACK = false
  1225. Rooted = false
  1226. end
  1227.  
  1228. function Warden_Wall()
  1229. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
  1230. if HITFLOOR ~= nil then
  1231. if HITFLOOR.Anchored == true then
  1232. local WALL = HITFLOOR:Clone()
  1233. WALL.Size = VT(97, 118, 5)
  1234. WALL.Parent = Effects
  1235. WALL.Name = "Wall"
  1236. WALL.CFrame = RootPart.CFrame*CF(0,-65/2.1,-5)*ANGLES(RAD(-15),RAD(0),RAD(0))
  1237. CreateSound(181888224,WALL,5,0.8,false)
  1238. ATTACK = true
  1239. Rooted = true
  1240. local HIT = WALL.Touched:Connect(function(hit)
  1241. if hit.Parent ~= Character then
  1242. hit:BreakJoints()
  1243. end
  1244. end)
  1245. coroutine.resume(coroutine.create(function()
  1246. WACKYEFFECT({Time = 35, EffectType = "Box", Size = WALL.Size, Size2 = WALL.Size*2, Transparency = 0, Transparency2 = 1, CFrame = WALL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Earth green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1247. for i = 1, 90 do
  1248. Swait()
  1249. WALL.CFrame = WALL.CFrame*CF(0,0.5,0)
  1250. end
  1251. HIT:disconnect()
  1252. wait(5)
  1253. for i = 1, 46 do
  1254. Swait()
  1255. WALL.CFrame = WALL.CFrame*CF(0,-1,0)
  1256. end
  1257. WALL:remove()
  1258. end))
  1259. Pose("RightArmUp",1.5,1.2,true)
  1260. ATTACK = false
  1261. Rooted = false
  1262. end
  1263. end
  1264. end
  1265.  
  1266. function Prison_Key()
  1267. if Mouse.Target ~= nil then
  1268. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1269. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1270. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1271. local GYRO = IT("BodyGyro",RootPart)
  1272. GYRO.D = 750
  1273. GYRO.P = 20000
  1274. GYRO.MaxTorque = VT(0,40000000,0)
  1275. local grav = Instance.new("BodyPosition",TORSO)
  1276. grav.D = 15
  1277. grav.P = 20000
  1278. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1279. grav.position = TORSO.Position
  1280. local GYRO2 = IT("BodyGyro",TORSO)
  1281. GYRO2.D = 750
  1282. GYRO2.P = 20000
  1283. GYRO2.MaxTorque = VT(0,40000000,0)
  1284. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1285. grav.Name = "Jail"
  1286. local LOCKPARTS = {}
  1287. ATTACK = true
  1288. Rooted = false
  1289. local LOCK = IT("Model",Effects)
  1290. LOCK.Name = "Lock"
  1291. local LOCK2 = IT("Model",LOCK)
  1292. LOCK2.Name = "Metal"
  1293. --CREATE LOCK--
  1294. local BASE = CreatePart(3, LOCK, "Neon", 0, 0, "Toothpaste", "Keylock", VT(3, 2.5, 1))
  1295. LOCK.PrimaryPart = BASE
  1296. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  1297. local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Toothpaste", "Keylock", VT(3, 1, 3))
  1298. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  1299. MakeForm(PRT,"Cyl")
  1300. local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Really black", "Hole", VT(1, 1, 1))
  1301. PRT.Color = C3(0,0,0)
  1302. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  1303. MakeForm(PRT,"Cyl")
  1304. local PRT = CreatePart(3, LOCK, "Neon", 0, 0, "Really black", "Hole", VT(0.5, 1, 1))
  1305. PRT.Color = C3(0,0,0)
  1306. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  1307. for i = 1, 45 do
  1308. local PRT = CreatePart(3, LOCK2, "Neon", 0, 0, "Institutional white", "Keylock", VT(0.5, 0.5, 0.5))
  1309. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  1310. end
  1311. local PRT = CreatePart(3, LOCK2, "Neon", 0, 0, "Institutional white", "Keylock", VT(0.5, 0.5, 0.5))
  1312. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  1313. LOCK2.PrimaryPart = PRT
  1314. ---------------
  1315. local CHILDREN = LOCK:GetDescendants()
  1316. for index, CHILD in pairs(CHILDREN) do
  1317. if CHILD:IsA("BasePart") then
  1318. CHILD.Transparency = 1
  1319. end
  1320. end
  1321. for i = 1, 75 do
  1322. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  1323. Swait()
  1324. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1325. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1326. local CHILDREN = LOCK:GetDescendants()
  1327. for index, CHILD in pairs(CHILDREN) do
  1328. if CHILD:IsA("BasePart") then
  1329. CHILD.Transparency = CHILD.Transparency - 1/75
  1330. end
  1331. end
  1332. end
  1333. HUM.DisplayDistanceType = "None"
  1334. local KEY = IT("Model",Effects)
  1335. KEY.Name = "Key"
  1336. --CREATE KEY--
  1337. local KBASE = CreatePart(3, KEY, "Metal", 0, 0, "Earth green", "KeyBase", VT(0.1, 1, 0.1),false)
  1338. KEY.PrimaryPart = KBASE
  1339. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  1340. local WLD = weldBetween(RightArm,KBASE)
  1341. for i = 1, 45 do
  1342. local PRT = CreatePart(3, KEY, "Metal", 0, 0, "Earth green", "Key", VT(0.1, 0.1, 0.1),false)
  1343. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  1344. weldBetween(KBASE,PRT)
  1345. end
  1346. local PRT = CreatePart(3, KEY, "Metal", 0, 0, "Earth green", "Key", VT(0.3, 0.1, 0.1),false)
  1347. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  1348. weldBetween(KBASE,PRT)
  1349. local PRT = CreatePart(3, KEY, "Metal", 0, 0, "Earth green", "Key", VT(0.3, 0.1, 0.1),false)
  1350. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  1351. weldBetween(KBASE,PRT)
  1352. --------------
  1353. Rooted = true
  1354. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  1355. coroutine.resume(coroutine.create(function()
  1356. for i = 1, 10 do
  1357. Swait()
  1358. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  1359. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  1360. end
  1361. CreateSound(1149318312,BASE,5,1,false)
  1362. CreateSound(381395812,BASE,3,1,false)
  1363. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  1364. for i = 1, 4 do
  1365. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Earth green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1366. end
  1367. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Earth green".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  1368. wait(1)
  1369. TORSO.Parent.Parent = LOCK
  1370. for i = 1, 75 do
  1371. Swait()
  1372. local CHILDREN = KEY:GetDescendants()
  1373. for index, CHILD in pairs(CHILDREN) do
  1374. if CHILD:IsA("BasePart") then
  1375. CHILD.Transparency = i/25
  1376. end
  1377. end
  1378. local CHILDREN = LOCK:GetDescendants()
  1379. for index, CHILD in pairs(CHILDREN) do
  1380. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  1381. CHILD.Transparency = CHILD.Transparency + 1/75
  1382. elseif CHILD.ClassName == "Decal" then
  1383. CHILD.Transparency = CHILD.Transparency + 1/75
  1384. end
  1385. end
  1386. end
  1387. TORSO.Parent:ClearAllChildren()
  1388. KEY:remove()
  1389. LOCK:remove()
  1390. end))
  1391. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  1392. GYRO:remove()
  1393. ATTACK = false
  1394. Rooted = false
  1395. end
  1396. end
  1397. end
  1398.  
  1399. function Hat()
  1400. ATTACK = true
  1401. Rooted = false
  1402. Pose("Taunt",0.4,1.2,false)
  1403. ATTACK = false
  1404. Rooted = false
  1405. end
  1406.  
  1407. --//=================================\\
  1408. --|| ASSIGN THINGS TO KEYS
  1409. --\\=================================//
  1410.  
  1411. function MouseDown(Mouse)
  1412. HOLD = true
  1413. if ATTACK == false then
  1414. end
  1415. end
  1416.  
  1417. function MouseUp(Mouse)
  1418. HOLD = false
  1419. end
  1420.  
  1421. function KeyDown(Key)
  1422. KEYHOLD = true
  1423. if Key == "z" and ATTACK == false then
  1424. Warden_Zap()
  1425. end
  1426.  
  1427. if Key == "b" and ATTACK == false then
  1428. Warden_Thunder()
  1429. end
  1430.  
  1431. if Key == "c" and ATTACK == false then
  1432. Inferno_Ring()
  1433. end
  1434.  
  1435. if Key == "v" and ATTACK == false then
  1436. Warden_Wall()
  1437. end
  1438.  
  1439. if Key == "x" and ATTACK == false then
  1440. Prison_Key()
  1441. end
  1442.  
  1443. if Key == "t" and ATTACK == false then
  1444. Hat()
  1445. end
  1446. end
  1447.  
  1448. function KeyUp(Key)
  1449. KEYHOLD = false
  1450. end
  1451.  
  1452. Mouse.Button1Down:connect(function(NEWKEY)
  1453. MouseDown(NEWKEY)
  1454. end)
  1455. Mouse.Button1Up:connect(function(NEWKEY)
  1456. MouseUp(NEWKEY)
  1457. end)
  1458. Mouse.KeyDown:connect(function(NEWKEY)
  1459. KeyDown(NEWKEY)
  1460. end)
  1461. Mouse.KeyUp:connect(function(NEWKEY)
  1462. KeyUp(NEWKEY)
  1463. end)
  1464.  
  1465. --//=================================\\
  1466. --\\=================================//
  1467.  
  1468.  
  1469. function unanchor()
  1470. if UNANCHOR == true then
  1471. g = Character:GetChildren()
  1472. for i = 1, #g do
  1473. if g[i].ClassName == "Part" then
  1474. g[i].Anchored = false
  1475. end
  1476. end
  1477. end
  1478. end
  1479.  
  1480.  
  1481. --//=================================\\
  1482. --|| WRAP THE WHOLE SCRIPT UP
  1483. --\\=================================//
  1484.  
  1485. Humanoid.Changed:connect(function(Jump)
  1486. if Jump == "Jump" and (Disable_Jump == true) then
  1487. Humanoid.Jump = false
  1488. end
  1489. end)
  1490.  
  1491. while true do
  1492. Swait()
  1493. script.Parent = WEAPONGUI
  1494. Humanoid.Parent = Character
  1495. if Humanoid then
  1496. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1497. IDLEANIMATION:Play()
  1498. end
  1499. if ANIMATE.Parent == Character then
  1500. ANIMATE:Destroy()
  1501. end
  1502. SINE = SINE + CHANGE
  1503. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1504. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1505. Humanoid.HipHeight = 1
  1506. Humanoid.Name = "Server Security"
  1507. Humanoid.PlatformStand = false
  1508. if PLAYMAINANIM == true then
  1509. if TORSOVELOCITY < 1 then
  1510. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1511. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1512. RightShoulder.C0 = Clerp(RightShoulder.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)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1513. 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, 0.15 / Animation_Speed)
  1514. 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)), 0.15 / Animation_Speed)
  1515. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1516. elseif TORSOVELOCITY > 1 then
  1517. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1518. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1519. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1520. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-35), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1521. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  1522. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(10)), 0.15 / Animation_Speed)
  1523. end
  1524. end
  1525. unanchor()
  1526. Humanoid.MaxHealth = "inf"
  1527. Humanoid.Health = "inf"
  1528. if Rooted == false then
  1529. Disable_Jump = false
  1530. Humanoid.WalkSpeed = Speed
  1531. elseif Rooted == true then
  1532. Disable_Jump = true
  1533. Humanoid.WalkSpeed = 0
  1534. end
  1535. for _, c in pairs(Character:GetChildren()) do
  1536. if c.ClassName == "Part" and c.Name ~= "Eye" then
  1537. c.Material = "Neon"
  1538. if c:FindFirstChildOfClass("ParticleEmitter") then
  1539. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1540. end
  1541. c.Color = C3(1,1,1)
  1542. if c == Head then
  1543. if c:FindFirstChild("face") then
  1544. c.face:remove()
  1545. end
  1546. end
  1547. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.ClassName == "Hat" or c.Name == "Body Colors" then
  1548. c:remove()
  1549. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1550. c:remove()
  1551. end
  1552. end
  1553. sick.SoundId = "rbxassetid://156721873"
  1554. sick.Looped = true
  1555. sick.Pitch = 1
  1556. sick.Volume = 50
  1557. sick:Resume()
  1558. sick.Parent = Torso
  1559. refit()
  1560. if Head:FindFirstChildOfClass("Sound") then
  1561. Head:FindFirstChildOfClass("Sound"):remove()
  1562. end
  1563. end
  1564.  
  1565. --//=================================\\
  1566. --\\=================================//
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572. --//====================================================\\--
  1573. --|| END OF SCRIPT
  1574. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement