Advertisement
Zach_script_stealer2

Pain V3

Apr 12th, 2019
2,197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 124.42 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| Templates BY Aom[WCR]
  3. --\\====================================================//--
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("FE Compatibility code by Mokiros")
  9. print("This EDIT was made by Zach the script stealer / aka zach so please stop pretending that you made it")
  10. local rp = RealPlayer
  11. script.Parent = rp.Character
  12.  
  13. --RemoteEvent for communicating
  14. local Event = Instance.new("RemoteEvent")
  15. Event.Name = "UserInput_Event"
  16.  
  17. --Fake event to make stuff like Mouse.KeyDown work
  18. local function fakeEvent()
  19. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  20. t.connect = t.Connect
  21. return t
  22. end
  23.  
  24. --Creating fake input objects with fake variables
  25. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  26. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  27. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  28. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  29. end}
  30. --Merged 2 functions into one by checking amount of arguments
  31. CAS.UnbindAction = CAS.BindAction
  32.  
  33. --This function will trigger the events that have been :Connect()'ed
  34. local function te(self,ev,...)
  35. local t = m[ev]
  36. if t and t._fakeEvent then
  37. for _,f in pairs(t.Functions) do
  38. f(...)
  39. end
  40. end
  41. end
  42. m.TrigEvent = te
  43. UIS.TrigEvent = te
  44.  
  45. Event.OnServerEvent:Connect(function(plr,io)
  46. if plr~=rp then return end
  47. m.Target = io.Target
  48. m.Hit = io.Hit
  49. if not io.isMouse then
  50. local b = io.UserInputState == Enum.UserInputState.Begin
  51. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  52. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  53. end
  54. for _,t in pairs(CAS.Actions) do
  55. for _,k in pairs(t.Keys) do
  56. if k==io.KeyCode then
  57. t.Function(t.Name,io.UserInputState,io)
  58. end
  59. end
  60. end
  61. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  62. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  63. end
  64. end)
  65. Event.Parent = NLS([==[
  66. local Player = game:GetService("Players").LocalPlayer
  67. local Event = script:WaitForChild("UserInput_Event")
  68.  
  69. local Mouse = Player:GetMouse()
  70. local UIS = game:GetService("UserInputService")
  71. local input = function(io,a)
  72. if a then return end
  73. --Since InputObject is a client-side instance, we create and pass table instead
  74. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  75. end
  76. UIS.InputBegan:Connect(input)
  77. UIS.InputEnded:Connect(input)
  78.  
  79. local h,t
  80. --Give the server mouse data 30 times every second, but only if the values changed
  81. --If player is not moving their mouse, client won't fire events
  82. while wait(1/30) do
  83. if h~=Mouse.Hit or t~=Mouse.Target then
  84. h,t=Mouse.Hit,Mouse.Target
  85. Event:FireServer({isMouse=true,Target=t,Hit=h})
  86. end
  87. end]==],Player.Character)
  88.  
  89. ----Sandboxed game object that allows the usage of client-side methods and services
  90. --Real game object
  91. local _rg = game
  92.  
  93. --Metatable for fake service
  94. local fsmt = {
  95. __index = function(self,k)
  96. local s = rawget(self,"_RealService")
  97. if s then return s[k] end
  98. end,
  99. __newindex = function(self,k,v)
  100. local s = rawget(self,"_RealService")
  101. if s then s[k]=v end
  102. end,
  103. __call = function(self,...)
  104. local s = rawget(self,"_RealService")
  105. if s then return s(...) end
  106. end
  107. }
  108. local function FakeService(t,RealService)
  109. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  110. return setmetatable(t,fsmt)
  111. end
  112.  
  113. --Fake game object
  114. local g = {
  115. GetService = function(self,s)
  116. return self[s]
  117. end,
  118. Players = FakeService({
  119. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  120. },"Players"),
  121. UserInputService = FakeService(UIS,"UserInputService"),
  122. ContextActionService = FakeService(CAS,"ContextActionService"),
  123. }
  124. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  125. g.service = g.GetService
  126.  
  127. g.RunService = FakeService({
  128. RenderStepped = _rg:GetService("RunService").Heartbeat,
  129. BindToRenderStep = function(self,name,_,fun)
  130.  
  131. end,
  132. UnbindFromRenderStep = function(self,name)
  133. self._btrs[name]:Disconnect()
  134. end,
  135. },"RunService")
  136.  
  137. setmetatable(g,{
  138. __index=function(self,s)
  139. return _rg:GetService(s) or typeof(_rg[s])=="function"
  140. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  141. end,
  142. __newindex = fsmt.__newindex,
  143. __call = fsmt.__call
  144. })
  145. --Changing owner to fake player object to support owner:GetMouse()
  146. game,owner = g,g.Players.LocalPlayer
  147. end
  148.  
  149.  
  150.  
  151.  
  152. Player = game:GetService("Players").LocalPlayer
  153. PlayerGui = Player.PlayerGui
  154. Cam = workspace.CurrentCamera
  155. Backpack = Player.Backpack
  156. Character = Player.Character
  157. Humanoid = Character.Humanoid
  158. Mouse = Player:GetMouse()
  159. RootPart = Character["HumanoidRootPart"]
  160. Torso = Character["Torso"]
  161. Head = Character["Head"]
  162. RightArm = Character["Right Arm"]
  163. LeftArm = Character["Left Arm"]
  164. RightLeg = Character["Right Leg"]
  165. LeftLeg = Character["Left Leg"]
  166. RootJoint = RootPart["RootJoint"]
  167. Neck = Torso["Neck"]
  168. RightShoulder = Torso["Right Shoulder"]
  169. LeftShoulder = Torso["Left Shoulder"]
  170. RightHip = Torso["Right Hip"]
  171. LeftHip = Torso["Left Hip"]
  172. local sick = Instance.new("Sound",Torso)
  173. sick.SoundId = "rbxassetid://1117396305"
  174. sick.Looped = true
  175. sick.Pitch = 1
  176. sick.Volume = 3
  177. sick.TimePosition = 0
  178. Character.Archivable = true
  179. Humanoid.DisplayDistanceType = "None"
  180.  
  181. local naeeym2 = Instance.new("BillboardGui",Character)
  182. naeeym2.AlwaysOnTop = true
  183. naeeym2.Size = UDim2.new(5,35,2,35)
  184. naeeym2.StudsOffset = Vector3.new(0,3,0)
  185. naeeym2.Adornee = Character.Head
  186. naeeym2.Name = "Name"
  187. local tecks2 = Instance.new("TextLabel",naeeym2)
  188. tecks2.BackgroundTransparency = 1
  189. tecks2.TextScaled = true
  190. tecks2.BorderSizePixel = 0
  191. tecks2.Text = "Hmm"
  192. tecks2.Font = "Arcade"
  193. tecks2.TextSize = 30
  194. tecks2.TextTransparency = 1
  195. tecks2.TextStrokeTransparency = 1
  196. tecks2.TextColor3 = Color3.new(255/0/0)
  197. tecks2.Size = UDim2.new(1,0,0.5,0)
  198. tecks2.Parent = naeeym2
  199.  
  200. IT = Instance.new
  201. CF = CFrame.new
  202. VT = Vector3.new
  203. RAD = math.rad
  204. C3 = Color3.new
  205. UD2 = UDim2.new
  206. BRICKC = BrickColor.new
  207. ANGLES = CFrame.Angles
  208. EULER = CFrame.fromEulerAnglesXYZ
  209. COS = math.cos
  210. ACOS = math.acos
  211. SIN = math.sin
  212. ASIN = math.asin
  213. ABS = math.abs
  214. MRANDOM = math.random
  215. FLOOR = math.floor
  216. -------------------- Some other stuff ----------------
  217. local hood = Instance.new("Part")
  218. local mesh_4 = Instance.new("FileMesh")
  219. local pillar = Instance.new("Part")
  220. local rock = Instance.new("Part")
  221. local core = Instance.new("Attachment")
  222. local emit = Instance.new("ParticleEmitter")
  223. local mesh_5 = Instance.new("FileMesh")
  224. local rockspike = Instance.new("Part")
  225. local mesh_6 = Instance.new("SpecialMesh")
  226. local shield = Instance.new("Part")
  227. local core_2 = Instance.new("Attachment")
  228. local spinepart = Instance.new("Part")
  229. local mesh_7 = Instance.new("FileMesh")
  230. local pants = Instance.new("Pants")
  231. local shirt = Instance.new("Shirt")
  232. local emit_2 = Instance.new("ParticleEmitter")
  233. local vortex = Instance.new("ParticleEmitter")
  234. local wave = Instance.new("ParticleEmitter")
  235.  
  236. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  237. local NEWMESH = IT(MESH)
  238. if MESH == "SpecialMesh" then
  239. NEWMESH.MeshType = MESHTYPE
  240. if MESHID ~= "nil" and MESHID ~= "" then
  241. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  242. end
  243. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  244. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  245. end
  246. end
  247. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  248. NEWMESH.Scale = SCALE
  249. NEWMESH.Parent = PARENT
  250. return NEWMESH
  251. end
  252.  
  253. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  254. local NEWPART = IT("Part")
  255. NEWPART.formFactor = FORMFACTOR
  256. NEWPART.Reflectance = REFLECTANCE
  257. NEWPART.Transparency = TRANSPARENCY
  258. NEWPART.CanCollide = false
  259. NEWPART.Locked = true
  260. NEWPART.Anchored = true
  261. if ANCHOR == false then
  262. NEWPART.Anchored = false
  263. end
  264. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  265. NEWPART.Name = NAME
  266. NEWPART.Size = SIZE
  267. NEWPART.Position = Torso.Position
  268. NEWPART.Material = MATERIAL
  269. NEWPART:BreakJoints()
  270. NEWPART.Parent = PARENT
  271. return NEWPART
  272. end
  273.  
  274. --//=================================\\
  275. --|| CUSTOMIZATION
  276. --\\=================================//
  277.  
  278. Player_Size = 3 --Size of the player.
  279. Animation_Speed = 3
  280. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  281.  
  282. local Speed = 30
  283. local Effects2 = {}
  284.  
  285. --//=================================\\
  286. --|| END OF CUSTOMIZATION
  287. --\\=================================//
  288.  
  289. local function weldBetween(a, b)
  290. local weldd = Instance.new("ManualWeld")
  291. weldd.Part0 = a
  292. weldd.Part1 = b
  293. weldd.C0 = CFrame.new()
  294. weldd.C1 = b.CFrame:inverse() * a.CFrame
  295. weldd.Parent = a
  296. return weldd
  297. end
  298.  
  299. --//=================================\\
  300. --|| USEFUL VALUES
  301. --\\=================================//
  302.  
  303. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  304. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  305. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  306. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  307. local CHANGEDEFENSE = 0
  308. local CHANGEDAMAGE = 0
  309. local CHANGEMOVEMENT = 0
  310. local ANIM = "Idle"
  311. local ATTACK = false
  312. local EQUIPPED = false
  313. local HOLD = false
  314. local COMBO = 1
  315. local Rooted = false
  316. local SINE = 0
  317. local KEYHOLD = false
  318. local CHANGE = 2 / Animation_Speed
  319. local WALKINGANIM = false
  320. local WALK = 0
  321. local VALUE1 = false
  322. local VALUE2 = false
  323. local ROBLOXIDLEANIMATION = IT("Animation")
  324. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  325. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  326. --ROBLOXIDLEANIMATION.Parent = Humanoid
  327. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  328. WEAPONGUI.Name = "Weapon GUI"
  329. local Weapon = IT("Folder", Character)
  330. Weapon.Name = "Weapon"
  331. local Effects = IT("Folder", Character)
  332. Effects.Name = "Effects"
  333. local Weapon2 = IT("Folder",Character)
  334. Weapon2.Name = "Weapon2"
  335. local ANIMATOR = Humanoid.Animator
  336. local ANIMATE = Character.Animate
  337. local UNANCHOR = true
  338. local LAUGHS = {834001699,834001752,834001797,834001828}
  339. local SONGS = {534861083,530959353,1534958855,0}
  340. local CHOICE = MRANDOM(1,4)
  341. local PLAYMAINANIM = true
  342. local INTRO = false
  343. local TRANSFORMED = false
  344. local INSTANT = false
  345. local MODE = "GoodCop"
  346.  
  347. --//=================================\\
  348. --\\=================================//
  349.  
  350.  
  351. --//=================================\\
  352. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  353. --\\=================================//
  354.  
  355. ArtificialHB = Instance.new("BindableEvent", script)
  356. ArtificialHB.Name = "ArtificialHB"
  357.  
  358. script:WaitForChild("ArtificialHB")
  359.  
  360. frame = Frame_Speed
  361. tf = 0
  362. allowframeloss = false
  363. tossremainder = false
  364. lastframe = tick()
  365. script.ArtificialHB:Fire()
  366.  
  367. game:GetService("RunService").Heartbeat:connect(function(s, p)
  368. tf = tf + s
  369. if tf >= frame then
  370. if allowframeloss then
  371. script.ArtificialHB:Fire()
  372. lastframe = tick()
  373. else
  374. for i = 1, math.floor(tf / frame) do
  375. script.ArtificialHB:Fire()
  376. end
  377. lastframe = tick()
  378. end
  379. if tossremainder then
  380. tf = 0
  381. else
  382. tf = tf - frame * math.floor(tf / frame)
  383. end
  384. end
  385. end)
  386.  
  387. --//=================================\\
  388. --\\=================================//
  389.  
  390.  
  391.  
  392.  
  393.  
  394. --//=================================\\
  395. --|| SOME FUNCTIONS
  396. --\\=================================//
  397.  
  398. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  399. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  400. end
  401.  
  402. function PositiveAngle(NUMBER)
  403. if NUMBER >= 0 then
  404. NUMBER = 0
  405. end
  406. return NUMBER
  407. end
  408.  
  409. function NegativeAngle(NUMBER)
  410. if NUMBER <= 0 then
  411. NUMBER = 0
  412. end
  413. return NUMBER
  414. end
  415.  
  416. function Swait(NUMBER)
  417. if NUMBER == 0 or NUMBER == nil then
  418. ArtificialHB.Event:wait()
  419. else
  420. for i = 1, NUMBER do
  421. ArtificialHB.Event:wait()
  422. end
  423. end
  424. end
  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.  
  540. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  541. local NEWWELD = IT(TYPE)
  542. NEWWELD.Part0 = PART0
  543. NEWWELD.Part1 = PART1
  544. NEWWELD.C0 = C0
  545. NEWWELD.C1 = C1
  546. NEWWELD.Parent = PARENT
  547. return NEWWELD
  548. end
  549.  
  550. function CreateSound(ID, PARENT, VOLUME, PITCH)
  551. local NEWSOUND = nil
  552. coroutine.resume(coroutine.create(function()
  553. NEWSOUND = IT("Sound", PARENT)
  554. NEWSOUND.Volume = VOLUME
  555. NEWSOUND.Pitch = PITCH
  556. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  557. Swait()
  558. NEWSOUND:play()
  559. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  560. end))
  561. return NEWSOUND
  562. end
  563.  
  564. function CFrameFromTopBack(at, top, back)
  565. local right = top:Cross(back)
  566. 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)
  567. end
  568.  
  569. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  570. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  571. local mesh = IT("SpecialMesh",wave)
  572. mesh.MeshType = "FileMesh"
  573. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  574. mesh.Scale = SIZE
  575. mesh.Offset = VT(0,0,0)
  576. wave.CFrame = CFRAME
  577. coroutine.resume(coroutine.create(function(PART)
  578. for i = 1, WAIT do
  579. Swait()
  580. mesh.Scale = mesh.Scale + GROW
  581. if DOESROT == true then
  582. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  583. end
  584. wave.Transparency = wave.Transparency + (0.5/WAIT)
  585. if wave.Transparency > 0.99 then
  586. wave:remove()
  587. end
  588. end
  589. end))
  590. end
  591.  
  592. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  593. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  594. local mesh = IT("SpecialMesh",wave)
  595. mesh.MeshType = "Sphere"
  596. mesh.Scale = SIZE
  597. mesh.Offset = VT(0,0,0)
  598. wave.CFrame = CFRAME
  599. coroutine.resume(coroutine.create(function(PART)
  600. for i = 1, WAIT do
  601. Swait()
  602. mesh.Scale = mesh.Scale + GROW
  603. wave.Transparency = wave.Transparency + (1/WAIT)
  604. if wave.Transparency > 0.99 then
  605. wave:remove()
  606. end
  607. end
  608. end))
  609. end
  610.  
  611. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  612. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  613. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  614. wave.CFrame = CFRAME
  615. coroutine.resume(coroutine.create(function(PART)
  616. for i = 1, WAIT do
  617. Swait()
  618. mesh.Scale = mesh.Scale * GROW
  619. wave.Transparency = wave.Transparency + (0.5/WAIT)
  620. if wave.Transparency > 0.99 then
  621. wave:remove()
  622. end
  623. end
  624. end))
  625. end
  626.  
  627. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  628. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  629. local mesh = IT("BlockMesh",wave)
  630. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  631. coroutine.resume(coroutine.create(function(PART)
  632. for i = 1, WAIT do
  633. Swait()
  634. mesh.Scale = mesh.Scale + GROW
  635. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  636. wave.Transparency = wave.Transparency + (1/WAIT)
  637. if wave.Transparency > 0.99 then
  638. wave:remove()
  639. end
  640. end
  641. end))
  642. end
  643.  
  644. function MakeForm(PART,TYPE)
  645. if TYPE == "Cyl" then
  646. local MSH = IT("CylinderMesh",PART)
  647. elseif TYPE == "Ball" then
  648. local MSH = IT("SpecialMesh",PART)
  649. MSH.MeshType = "Sphere"
  650. elseif TYPE == "Wedge" then
  651. local MSH = IT("SpecialMesh",PART)
  652. MSH.MeshType = "Wedge"
  653. end
  654. end
  655.  
  656. function CheckTableForString(Table, String)
  657. for i, v in pairs(Table) do
  658. if string.find(string.lower(String), string.lower(v)) then
  659. return true
  660. end
  661. end
  662. return false
  663. end
  664.  
  665.  
  666.  
  667. Debris = game:GetService("Debris")
  668.  
  669. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  670. local Direction = CFrame.new(StartPos, Vec).lookVector
  671. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  672. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  673. if RayHit and CheckIntangible(RayHit) then
  674. if DelayIfHit then
  675. wait()
  676. end
  677. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  678. end
  679. return RayHit, RayPos, RayNormal
  680. end
  681.  
  682. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  683. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  684. end
  685.  
  686. function turnto(position)
  687. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  688. end
  689.  
  690. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  691. PLAYMAINANIM = false
  692. if WhichPose == "Cast1" then
  693. for i=0, Time, 0.1 / Animation_Speed do
  694. Swait()
  695. if Magic == true then
  696. 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"White".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  697. end
  698. if Gyro ~= nil and Gyro ~= false then
  699. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  700. end
  701. 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)
  702. 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)
  703. 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)
  704. 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)
  705. 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)
  706. 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)
  707. end
  708. elseif WhichPose == "Cast2" then
  709. for i=0, Time, 0.1 / Animation_Speed do
  710. Swait()
  711. if Magic == true then
  712. 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"White".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  713. 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"Whtie".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  714. end
  715. if Gyro ~= nil and Gyro ~= false then
  716. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  717. end
  718. 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)
  719. 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)
  720. 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)
  721. 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)
  722. 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)
  723. 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)
  724. end
  725. elseif WhichPose == "RightArmUp" then
  726. for i=0, Time, 0.1 / Animation_Speed do
  727. Swait()
  728. if Magic == true then
  729. 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"White".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  730. end
  731. if Gyro ~= nil and Gyro ~= false then
  732. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  733. end
  734. 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)
  735. 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)
  736. 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)
  737. 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)
  738. 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)
  739. 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)
  740. end
  741. elseif WhichPose == "Taunt" then
  742. for i=0, Time, 0.1 / Animation_Speed do
  743. Swait()
  744. 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)
  745. 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)
  746. 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)
  747. 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)
  748. 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)
  749. 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)
  750. end
  751. CreateSound(221057812,Torso,10,1,false)
  752. for i=0, Time*2, 0.1 / Animation_Speed do
  753. Swait()
  754. 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)
  755. 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)
  756. 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)
  757. 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)
  758. 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)
  759. 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)
  760. end
  761. for i=0, Time, 0.1 / Animation_Speed do
  762. Swait()
  763. 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)
  764. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  765. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  766. 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)
  767. 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)
  768. 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)
  769. end
  770. elseif WhichPose == "Prepare key" then
  771. for i=0, Time, 0.1 / Animation_Speed do
  772. Swait()
  773. if Gyro ~= nil and Gyro ~= false then
  774. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  775. end
  776. 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)
  777. 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)
  778. 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)
  779. 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)
  780. 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)
  781. 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)
  782. end
  783. elseif WhichPose == "Turn key" then
  784. for i=0, Time, 0.1 / Animation_Speed do
  785. Swait()
  786. if Gyro ~= nil and Gyro ~= false then
  787. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  788. end
  789. 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)
  790. 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)
  791. 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)
  792. 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)
  793. 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)
  794. 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)
  795. end
  796. end
  797. PLAYMAINANIM = true
  798. end
  799.  
  800. --//=================================\\
  801. --|| SPEECH
  802. --\\=================================//
  803.  
  804. function Chatter(Text,Timer)
  805. local chat = coroutine.wrap(function()
  806. if Character:FindFirstChild("SpeechBoard")~= nil then
  807. Character:FindFirstChild("SpeechBoard"):destroy()
  808. end
  809. local naeeym2 = IT("BillboardGui",Character)
  810. naeeym2.Size = UD2(0,100,0,40)
  811. naeeym2.StudsOffset = Vector3.new(0,2,0)
  812. naeeym2.Adornee = Character.Head
  813. naeeym2.Name = "SpeechBoard"
  814. naeeym2.AlwaysOnTop = true
  815. local tecks2 = IT("TextLabel",naeeym2)
  816. tecks2.BackgroundTransparency = 1
  817. tecks2.BorderSizePixel = 0
  818. tecks2.Text = ""
  819. tecks2.Font = "Legacy"
  820. tecks2.TextSize = 15
  821. tecks2.TextStrokeTransparency = 1
  822. tecks2.TextColor3 = Color3.new(255,0,0)
  823. tecks2.TextStrokeColor3 = Color3.new(255,0,0)
  824. tecks2.Size = UDim2.new(1,0,0.5,0)
  825. for i = 1,string.len(Text),1 do
  826. CreateSound(418252437, Head, 3, MRANDOM(8,12)/15, false)
  827. tecks2.Text = string.sub(Text,1,i)
  828. wait(Timer)
  829. end
  830. wait(1)
  831. naeeym2:Destroy()
  832. end)
  833. chat()
  834. end
  835.  
  836. function chatfunc(text,waitt)
  837. local chat = coroutine.wrap(function()
  838. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  839. Character:FindFirstChild("TalkingBillBoard"):destroy()
  840. end
  841. local naeeym2 = Instance.new("BillboardGui",Character)
  842. naeeym2.Size = UDim2.new(0,100,0,40)
  843. naeeym2.StudsOffset = Vector3.new(0,5,0)
  844. naeeym2.Adornee = Character.Head
  845. naeeym2.Name = "TalkingBillBoard"
  846. naeeym2.AlwaysOnTop = true
  847. local tecks2 = Instance.new("TextLabel",naeeym2)
  848. tecks2.BackgroundTransparency = 1
  849. tecks2.BorderSizePixel = 0
  850. tecks2.Text = ""
  851. tecks2.Font = "SciFi"
  852. tecks2.TextSize = 30
  853. tecks2.TextStrokeTransparency = 1
  854. tecks2.TextColor3 = SKILLTEXTCOLOR
  855. tecks2.TextStrokeColor3 = Color3.new(255/255,0/255,0/255)
  856. tecks2.Size = UDim2.new(1,0,0.5,0)
  857. for i = 1,string.len(text),1 do
  858. tecks2.Text = string.sub(text,1,i)
  859. Swait()
  860. end
  861. wait(waitt)
  862. coroutine.resume(coroutine.create(function()
  863. for i = 1, 10 do
  864. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  865. Swait()
  866. end
  867. naeeym2:Destroy()
  868. end))
  869. end)
  870. chat()
  871. end
  872.  
  873. --// Start Stuff for Banishing \\--
  874.  
  875. local TOBANISH = {}
  876.  
  877. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  878. local DIRECTION = CF(StartPos,EndPos).lookVector
  879. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  880. end
  881.  
  882. function printbye(Name)
  883. 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 life 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, "}
  884. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  885. end
  886.  
  887. function Banish(Foe)
  888. if Foe then
  889. coroutine.resume(coroutine.create(function()
  890. --if game.Players:FindFirstChild(Foe.Name) then
  891. table.insert(TOBANISH,Foe.Name)
  892. printbye(Foe.Name)
  893. --end
  894. Foe.Archivable = true
  895. local CLONE = Foe:Clone()
  896. Foe:Destroy()
  897. CLONE.Parent = Effects
  898. CLONE:BreakJoints()
  899. local MATERIALS = {"Glass","Neon"}
  900. for _, c in pairs(CLONE:GetDescendants()) do
  901. if c:IsA("BasePart") then
  902. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  903. CreateSound(340722848, c, 10, 1, false)
  904. end
  905. c.Anchored = true
  906. c.Transparency = c.Transparency + 0.2
  907. c.Material = MATERIALS[MRANDOM(1,2)]
  908. c.Color = C3(0,255,0)
  909. if c.ClassName == "MeshPart" then
  910. c.TextureID = ""
  911. end
  912. if c:FindFirstChildOfClass("SpecialMesh") then
  913. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  914. end
  915. if c:FindFirstChildOfClass("Decal") then
  916. c:FindFirstChildOfClass("Decal"):remove()
  917. end
  918. c.Name = "Banished"
  919. c.CanCollide = false
  920. else
  921. c:remove()
  922. end
  923. end
  924. local A = false
  925. for i = 1, 35 do
  926. if A == false then
  927. A = true
  928. elseif A == true then
  929. A = false
  930. end
  931. for _, c in pairs(CLONE:GetDescendants()) do
  932. if c:IsA("BasePart") then
  933. c.Anchored = true
  934. c.Material = MATERIALS[MRANDOM(1,2)]
  935. c.Transparency = c.Transparency + 0.8/35
  936. if A == false then
  937. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  938. elseif A == true then
  939. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  940. end
  941. end
  942. end
  943. Swait()
  944. end
  945. CLONE:remove()
  946. end))
  947. end
  948. end
  949.  
  950. function BANNEAREST(POS,RANGE)
  951. for i,v in ipairs(workspace:GetChildren()) do
  952. local body = v:GetChildren()
  953. for part = 1, #body do
  954. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  955. if(body[part].Position - POS).Magnitude < RANGE then
  956. if v:FindFirstChildOfClass("Humanoid") then
  957. Banish(v)
  958. if game.Players:FindFirstChild(v.Name) then
  959. local Value = IT("BoolValue",Delete)
  960. Value.Name = v.Name
  961. end
  962. end
  963. end
  964. end
  965. end
  966. end
  967. end
  968.  
  969. workspace.ChildAdded:connect(function(instance)
  970. for BANISH = 1, #TOBANISH do
  971. if TOBANISH[BANISH] ~= nil then
  972. if instance.Name == TOBANISH[BANISH] then
  973. coroutine.resume(coroutine.create(function()
  974. printbye(instance.Name)
  975. instance:ClearAllChildren()
  976. Debris:AddItem(instance,0.0005)
  977. end))
  978. end
  979. end
  980. end
  981. end)
  982.  
  983. function SpawnTrail(FROM,TO,BIG)
  984. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
  985. MakeForm(TRAIL,"Cyl")
  986. local DIST = (FROM - TO).Magnitude
  987. if BIG == true then
  988. TRAIL.Size = VT(10,DIST,10)
  989. else
  990. TRAIL.Size = VT(0.25,DIST,0.25)
  991. end
  992. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  993. coroutine.resume(coroutine.create(function()
  994. for i = 1, 5 do
  995. Swait()
  996. TRAIL.Transparency = TRAIL.Transparency + 0.1
  997. end
  998. TRAIL:remove()
  999. end))
  1000. end
  1001.  
  1002. function WACKYEFFECT(Table)
  1003. local TYPE = (Table.EffectType or "Sphere")
  1004. local SIZE = (Table.Size or VT(1,1,1))
  1005. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1006. local TRANSPARENCY = (Table.Transparency or 0)
  1007. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1008. local CFRAME = (Table.CFrame or Torso.CFrame)
  1009. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1010. local ROTATION1 = (Table.RotationX or 0)
  1011. local ROTATION2 = (Table.RotationY or 0)
  1012. local ROTATION3 = (Table.RotationZ or 0)
  1013. local MATERIAL = (Table.Material or "Neon")
  1014. local COLOR = (Table.Color or C3(0,255,0))
  1015. local TIME = (Table.Time or 45)
  1016. local SOUNDID = (Table.SoundID or nil)
  1017. local SOUNDPITCH = (Table.SoundPitch or nil)
  1018. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1019. coroutine.resume(coroutine.create(function()
  1020. local PLAYSSOUND = false
  1021. local SOUND = nil
  1022. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1023. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1024. PLAYSSOUND = true
  1025. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1026. end
  1027. EFFECT.Color = COLOR
  1028. local MSH = nil
  1029. if TYPE == "Sphere" then
  1030. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1031. elseif TYPE == "Block" then
  1032. MSH = IT("BlockMesh",EFFECT)
  1033. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1034. elseif TYPE == "Wave" then
  1035. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1036. elseif TYPE == "Ring" then
  1037. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1038. elseif TYPE == "Slash" then
  1039. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1040. elseif TYPE == "Round Slash" then
  1041. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1042. elseif TYPE == "Swirl" then
  1043. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1044. elseif TYPE == "Skull" then
  1045. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1046. elseif TYPE == "Crystal" then
  1047. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1048. end
  1049. if MSH ~= nil then
  1050. local MOVESPEED = nil
  1051. if MOVEDIRECTION ~= nil then
  1052. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1053. end
  1054. local GROWTH = SIZE - ENDSIZE
  1055. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1056. if TYPE == "Block" then
  1057. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1058. else
  1059. EFFECT.CFrame = CFRAME
  1060. end
  1061. for LOOP = 1, TIME+1 do
  1062. Swait()
  1063. MSH.Scale = MSH.Scale - GROWTH/TIME
  1064. if TYPE == "Wave" then
  1065. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1066. end
  1067. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1068. if TYPE == "Block" then
  1069. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1070. else
  1071. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1072. end
  1073. if MOVEDIRECTION ~= nil then
  1074. local ORI = EFFECT.Orientation
  1075. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1076. EFFECT.Orientation = ORI
  1077. end
  1078. end
  1079. if PLAYSSOUND == false then
  1080. EFFECT:remove()
  1081. else
  1082. SOUND.Stopped:Connect(function()
  1083. EFFECT:remove()
  1084. end)
  1085. end
  1086. else
  1087. if PLAYSSOUND == false then
  1088. EFFECT:remove()
  1089. else
  1090. repeat Swait() until SOUND.Playing == false
  1091. EFFECT:remove()
  1092. end
  1093. end
  1094. end))
  1095. end
  1096.  
  1097. -- \\ End Stuff for Banishing //--
  1098.  
  1099. --//=================================\\
  1100. --|| WEAPON CREATION
  1101. --\\=================================//
  1102. local Particle = IT("ParticleEmitter",nil)
  1103. Particle.Enabled = false
  1104. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1105. Particle.LightEmission = 0.5
  1106. Particle.Rate = 150
  1107. Particle.ZOffset = 0.2
  1108. Particle.Rotation = NumberRange.new(-180, 180)
  1109. Particle.RotSpeed = NumberRange.new(-180, 180)
  1110. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1111. Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191))
  1112.  
  1113. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1114. function ParticleEmitter(Table)
  1115. local PRTCL = Particle:Clone()
  1116. local Speed = Table.Speed or 5
  1117. local Drag = Table.Drag or 0
  1118. local Size1 = Table.Size1 or 1
  1119. local Size2 = Table.Size2 or 5
  1120. local Lifetime1 = Table.Lifetime1 or 1
  1121. local Lifetime2 = Table.Lifetime2 or 1.5
  1122. local Parent = Table.Parent or Torso
  1123. local Emit = Table.Emit or 100
  1124. local Offset = Table.Offset or 360
  1125. local Acel = Table.Acel or VT(0,0,0)
  1126. local Enabled = Table.Enabled or false
  1127. PRTCL.Parent = Parent
  1128. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1129. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1130. PRTCL.Speed = NumberRange.new(Speed)
  1131. PRTCL.VelocitySpread = Offset
  1132. PRTCL.Drag = Drag
  1133. PRTCL.Acceleration = Acel
  1134. if Enabled == false then
  1135. PRTCL:Emit(Emit)
  1136. Debris:AddItem(PRTCL,Lifetime2)
  1137. else
  1138. PRTCL.Enabled = true
  1139. end
  1140. return PRTCL
  1141. end
  1142.  
  1143.  
  1144. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1145. MakeForm(Part,"Wedge")
  1146. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1147. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1148. MakeForm(Part,"Wedge")
  1149. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1150. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1151. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1152. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1153. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1154. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1155. MakeForm(Part,"Cyl")
  1156. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1157. for i = 1, 8 do
  1158. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1159. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1160. end
  1161.  
  1162. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1163. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1164. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1165. MakeForm(Part,"Wedge")
  1166. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1167. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1168. MakeForm(Part,"Wedge")
  1169. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1170. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1171. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1172. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1173. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1174. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1175. MakeForm(Part,"Cyl")
  1176. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1177. for i = 1, 8 do
  1178. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1179. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1180. end
  1181.  
  1182. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1183. MakeForm(Part,"Cyl")
  1184. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1185. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1186. MakeForm(Part,"Ball")
  1187. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1188. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1189. MakeForm(Part,"Wedge")
  1190. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1191. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1192. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1193. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1194. MakeForm(Part,"Cyl")
  1195. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1196. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1197. MakeForm(Part,"Cyl")
  1198. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1199. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1200. MakeForm(Part,"Cyl")
  1201. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1202. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1203. MakeForm(Part,"Wedge")
  1204. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1205. local LASTPART = Handle
  1206. for i = 1, 10 do
  1207. if LASTPART == Handle then
  1208. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1209. LASTPART = Part
  1210. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1211. else
  1212. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1213. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1214. LASTPART = Part
  1215. end
  1216. end
  1217.  
  1218. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1219. MakeForm(Barrel,"Cyl")
  1220. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1221. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1222. MakeForm(Part,"Cyl")
  1223. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1224. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1225. MakeForm(Part,"Wedge")
  1226. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1227. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1228. MakeForm(Hole,"Cyl")
  1229. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1230. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1231. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1232. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1233. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1234. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1235. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1236. coroutine.resume(coroutine.create(function()
  1237. while wait() do
  1238. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1239. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1240. end
  1241. end))
  1242.  
  1243. --W2--
  1244.  
  1245. local Handle = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1246. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1247. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1248. MakeForm(Part,"Wedge")
  1249. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1250. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1251. MakeForm(Part,"Wedge")
  1252. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1253. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1254. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1255. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1256. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1257. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1258. MakeForm(Part,"Cyl")
  1259. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1260. for i = 1, 8 do
  1261. local Piece = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1262. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1263. end
  1264. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1265. MakeForm(Part,"Cyl")
  1266. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1267. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1268. MakeForm(Part,"Ball")
  1269. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1270. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1271. MakeForm(Part,"Wedge")
  1272. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1273. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1274. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1275. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1276. MakeForm(Part,"Cyl")
  1277. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1278. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1279. MakeForm(Part,"Cyl")
  1280. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1281. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1282. MakeForm(Part,"Cyl")
  1283. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1284. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1285. MakeForm(Part,"Wedge")
  1286. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(135), RAD(180), RAD(180)), CF(0, -0.3, 0))
  1287. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1288. MakeForm(Part,"Cyl")
  1289. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1290. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1291. MakeForm(Part,"Wedge")
  1292. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1293. local LASTPART = Handle
  1294. for i = 1, 10 do
  1295. if LASTPART == Handle then
  1296. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1297. LASTPART = Part
  1298. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1299. else
  1300. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1301. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1302. LASTPART = Part
  1303. end
  1304. end
  1305. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe", VT(0.2,0.5,0.2),false)
  1306. MakeForm(Part,"Wedge")
  1307. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-125), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1308. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe2", VT(0.2,0.5,0.2),false)
  1309. MakeForm(Part,"Wedge")
  1310. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(125), RAD(180), RAD(180)), CF(0, -0.3, 0))
  1311. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe3", VT(0.2,0.5,0.2),false)
  1312. MakeForm(Part,"Wedge")
  1313. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-145), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1314. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe4", VT(0.2,0.5,0.2),false)
  1315. MakeForm(Part,"Wedge")
  1316. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(145), RAD(180), RAD(180)), CF(0, -0.3, 0))
  1317.  
  1318. local Barrel = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,5,0.15),false)
  1319. MakeForm(Barrel,"Cyl")
  1320. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1321. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1322. MakeForm(Part,"Cyl")
  1323. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1324. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1325. MakeForm(Part,"Wedge")
  1326. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 2.4, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1327. local RHole = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1328. MakeForm(RHole,"Cyl")
  1329. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, RHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1330. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1331. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1332. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1333. local Part = CreatePart(3, Weapon2, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1334. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1335. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1336. coroutine.resume(coroutine.create(function()
  1337. while wait() do
  1338. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1339. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1340. end
  1341. end))
  1342.  
  1343. local BODY = {}
  1344.  
  1345. for _, c in pairs(Character:GetDescendants()) do
  1346. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1347. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1348. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1349. end
  1350. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1351. elseif c:IsA("JointInstance") then
  1352. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1353. end
  1354. end
  1355.  
  1356. for e = 1, #BODY do
  1357. if BODY[e] ~= nil then
  1358. local STUFF = BODY[e]
  1359. local PART = STUFF[1]
  1360. local PARENT = STUFF[2]
  1361. local MATERIAL = STUFF[3]
  1362. local COLOR = STUFF[4]
  1363. local TRANSPARENCY = STUFF[5]
  1364. if PART.ClassName == "Part" and PART ~= RootPart then
  1365. PART.Material = MATERIAL
  1366. PART.Color = COLOR
  1367. PART.Transparency = TRANSPARENCY
  1368. end
  1369. PART.AncestryChanged:Connect(function()
  1370. PART.Parent = PARENT
  1371. end)
  1372. end
  1373. end
  1374.  
  1375. function refit()
  1376. Character.Parent = workspace
  1377. for e = 1, #BODY do
  1378. if BODY[e] ~= nil then
  1379. local STUFF = BODY[e]
  1380. local PART = STUFF[1]
  1381. local PARENT = STUFF[2]
  1382. local MATERIAL = STUFF[3]
  1383. local COLOR = STUFF[4]
  1384. local TRANSPARENCY = STUFF[5]
  1385. if PART.ClassName == "Part" and PART ~= RootPart then
  1386. PART.Material = MATERIAL
  1387. PART.Color = COLOR
  1388. PART.Transparency = TRANSPARENCY
  1389. end
  1390. if PART.Parent ~= PARENT then
  1391. Humanoid:remove()
  1392. PART.Parent = PARENT
  1393. Humanoid = IT("Humanoid",Character)
  1394. end
  1395. end
  1396. end
  1397. end
  1398.  
  1399. for _, c in pairs(Weapon:GetDescendants()) do
  1400. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1401. c.Material = "Glass"
  1402. c.Color = C3(0,0,0)
  1403. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1404. c.Color = C3(0,0,0)
  1405. c.Material = "Neon"
  1406. end
  1407. end
  1408.  
  1409. for _, c in pairs(Weapon2:GetDescendants()) do
  1410. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1411. c.Material = "Glass"
  1412. c.Color = C3(0,0,0)
  1413. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1414. c.Color = C3(1,0,0)
  1415. c.Material = "Neon"
  1416. end
  1417. end
  1418.  
  1419. Weapon.Parent = Character
  1420. Weapon2.Parent = nil
  1421. for _, c in pairs(Weapon:GetChildren()) do
  1422. if c.ClassName == "Part" then
  1423. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1424. end
  1425. end
  1426.  
  1427. local SKILLTEXTCOLOR = C3(1,0,0)
  1428. local SKILLFONT = "Arcade"
  1429. local SKILLTEXTSIZE = 7
  1430.  
  1431. Humanoid.Died:connect(function()
  1432. ATTACK = true
  1433. end)
  1434.  
  1435. 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")
  1436.  
  1437. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Banish [T] Taunt [F] transform", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1438.  
  1439.  
  1440.  
  1441. function printbye(Name)
  1442. 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, "}
  1443. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1444. end
  1445.  
  1446. workspace.ChildAdded:connect(function(instance)
  1447. for BANISH = 1, #TOBANISH do
  1448. if TOBANISH[BANISH] ~= nil then
  1449. if instance.Name == TOBANISH[BANISH] then
  1450. coroutine.resume(coroutine.create(function()
  1451. printbye(instance.Name)
  1452. instance:ClearAllChildren()
  1453. Debris:AddItem(instance,0.0005)
  1454. end))
  1455. end
  1456. end
  1457. end
  1458. end)
  1459. ------------------------------Editing Stuffs-------------------------------------
  1460.  
  1461.  
  1462. --//=================================\\
  1463. --|| WEAPON CREATION 2
  1464. --\\=================================//
  1465. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "New yeller", "Scarf", VT(1,1,1),false)
  1466. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  1467. PRT.Color = C3(1,1,1)
  1468. for i = 1, 35 do
  1469. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  1470. FACE.Color = C3(0,0,0)
  1471. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1472. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1473. end
  1474. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1475. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  1476. MakeForm(Eye,"Ball")
  1477. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1478.  
  1479. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1480. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  1481. MakeForm(Eye,"Ball")
  1482. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "New yeller", "Hat", VT(2,0.2,2),false)
  1489. MakeForm(HAT1,"Cyl")
  1490. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  1491. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "New yeller", "Hat", VT(2.01,0.15,2.01),false)
  1492. BELT.Color = C3(15/255,15/255,15/255)
  1493. MakeForm(BELT,"Cyl")
  1494. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0,0), CF(0, 0, 0))
  1495. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "New yeller", "Hat", VT(1.3,2.2,1.3),false)
  1496. MakeForm(HAT2,"Cyl")
  1497. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  1498. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "New yeller", "Hat", VT(1.31,0.2,1.31),false)
  1499. BELT.Color = C3(15/255,15/255,15/255)
  1500. MakeForm(BELT,"Cyl")
  1501. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0,0), CF(0, 0, 0))
  1502. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Royal purple", "Gem", VT(0.25,0.25,0.1),false)
  1503. MakeForm(GEM,"Ball")
  1504. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,-BELT.Size.X/2), CF(0, 0, 0))
  1505. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Gem", VT(0.25,0.25,0.1),false)
  1506. MakeForm(GEM,"Ball")
  1507. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(0,0,BELT.Size.X/2), CF(0, 0, 0))
  1508. local GEM = CreatePart(3, Character, "Neon", 0, 0, "New yeller", "Gem", VT(0.1,0.25,0.25),false)
  1509. MakeForm(GEM,"Ball")
  1510. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(-BELT.Size.X/2,0,0), CF(0, 0, 0))
  1511. local GEM = CreatePart(3, Character, "Neon", 0, 0, "Deep orange", "Gem", VT(0.1,0.25,0.25),false)
  1512. MakeForm(GEM,"Ball")
  1513. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, GEM, CF(BELT.Size.X/2,0,0), CF(0, 0, 0))
  1514. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1515. BELT.Color = C3(15/255,15/255,15/255)
  1516. MakeForm(BELT,"Cyl")
  1517. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.7,0), CF(0, 0, 0))
  1518. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1519. BELT.Color = C3(15/255,15/255,15/255)
  1520. MakeForm(BELT,"Cyl")
  1521. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.7,0), CF(0, 0, 0))
  1522. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1523. BELT.Color = C3(15/255,15/255,15/255)
  1524. MakeForm(BELT,"Cyl")
  1525. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,0.35,0), CF(0, 0, 0))
  1526. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.31,0.1,1.31),false)
  1527. BELT.Color = C3(15/255,15/255,15/255)
  1528. MakeForm(BELT,"Cyl")
  1529. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,-0.35,0), CF(0, 0, 0))
  1530. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Hat", VT(1.3,0.5,1.3),false)
  1531. MakeForm(BELT,"Ball")
  1532. CreateWeldOrSnapOrMotor("Weld", HAT2, HAT2, BELT, CF(0,HAT2.Size.Y/2,0), CF(0, 0, 0))
  1533.  
  1534. local top = Instance.new("Shirt")
  1535. top.ShirtTemplate = "rbxassetid://676428254"
  1536. top.Parent = Character
  1537. top.Name = "Cloth"
  1538. local bottom = Instance.new("Pants")
  1539. bottom.PantsTemplate = "rbxassetid://676428351"
  1540. bottom.Parent = Character
  1541. bottom.Name = "Cloth"
  1542.  
  1543.  
  1544. --//=================================\\
  1545. --|| DAMAGING
  1546. --\\=================================//
  1547.  
  1548. function ApplyDamage(Humanoid,Damage,OneShot)
  1549. Damage = Damage * DAMAGEMULTIPLIER
  1550. local DEAD = false
  1551. if Humanoid.Health < 2000 and OneShot == false then
  1552. if Humanoid.Health - Damage > 0 then
  1553. Humanoid.Health = Humanoid.Health - Damage
  1554. else
  1555. Humanoid.Parent:BreakJoints()
  1556. DEAD = true
  1557. end
  1558. else
  1559. DEAD = true
  1560. Humanoid.Parent:BreakJoints()
  1561. end
  1562. if DEAD == true then
  1563. local PARTS = {}
  1564. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  1565. if CHILD:IsA("BasePart") then
  1566. table.insert(PARTS,CHILD)
  1567. end
  1568. end
  1569. coroutine.resume(coroutine.create(function()
  1570. wait(2)
  1571. repeat
  1572. Swait()
  1573. local PIECE = nil
  1574. if MRANDOM(1,5) == 1 then
  1575. for E = 1, #PARTS do
  1576. if MRANDOM(1,5) == 1 then
  1577. PIECE = PARTS[E]
  1578. table.remove(PARTS,E)
  1579. break
  1580. end
  1581. end
  1582. end
  1583. if PIECE ~= nil then
  1584. if PIECE.Name == "Head" then
  1585. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1586. else
  1587. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1588. end
  1589. PIECE:remove()
  1590. end
  1591. until #PARTS == 0
  1592. end))
  1593. end
  1594. end
  1595.  
  1596.  
  1597. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1598. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1599. defence.Name = ("HitBy"..Player.Name)
  1600. game:GetService("Debris"):AddItem(defence, 0.001)
  1601. Damage = Damage * DAMAGEMULTIPLIER
  1602. if Humanoid.Health ~= 0 then
  1603. local CritChance = MRANDOM(1,100)
  1604. if Damage > Humanoid.Health then
  1605. Damage = math.ceil(Humanoid.Health)
  1606. if Damage == 0 then
  1607. Damage = 0.1
  1608. end
  1609. end
  1610. Humanoid.Health = Humanoid.Health - Damage
  1611. end
  1612. end
  1613.  
  1614. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1615. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1616. defence.Name = ("HitBy"..Player.Name)
  1617. game:GetService("Debris"):AddItem(defence, 0.001)
  1618. Damage = Damage * DAMAGEMULTIPLIER
  1619. if Humanoid.Health ~= 0 then
  1620. local CritChance = MRANDOM(1,100)
  1621. if Damage > Humanoid.Health then
  1622. Damage = math.ceil(Humanoid.Health)
  1623. if Damage == 0 then
  1624. Damage = 0.1
  1625. end
  1626. end
  1627. Humanoid.Health = Humanoid.Health - Damage
  1628. end
  1629. end
  1630.  
  1631. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1632. local CHILDREN = workspace:GetDescendants()
  1633. for index, CHILD in pairs(CHILDREN) do
  1634. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1635. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1636. if HUM then
  1637. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1638. if TORSO then
  1639. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1640. if INSTAKILL == true then
  1641. CHILD:BreakJoints()
  1642. else
  1643. local DMG = MRANDOM(MINDMG,MAXDMG)
  1644. ApplyDamage(HUM,DMG,TORSO)
  1645. end
  1646. if FLING > 0 then
  1647. for _, c in pairs(CHILD:GetChildren()) do
  1648. if c:IsA("BasePart") then
  1649. local bv = Instance.new("BodyVelocity")
  1650. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1651. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1652. bv.Parent = c
  1653. Debris:AddItem(bv,0.05)
  1654. end
  1655. end
  1656. end
  1657. end
  1658. end
  1659. end
  1660. end
  1661. end
  1662. end
  1663.  
  1664. function CameraEnshaking(Length, Intensity)
  1665. coroutine.resume(coroutine.create(function()
  1666. local intensity = 1 * Intensity
  1667. local rotM = 0.01 * Intensity
  1668. for i = 0, Length, 0.1 do
  1669. Swait()
  1670. intensity = intensity - 0.05 * Intensity / Length
  1671. rotM = rotM - 5.0E-4 * Intensity / Length
  1672. Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
  1673. Cam.CFrame = Cam.CFrame * CF(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity))) * EULER(RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM, RAD(MRANDOM(-intensity, intensity)) * rotM)
  1674. end
  1675. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  1676. end))
  1677. end
  1678.  
  1679. function KillChildren(v)
  1680. v:BreakJoints()
  1681. for _, c in pairs(v:GetChildren()) do
  1682. if c:IsA("BasePart") then
  1683. if c.Transparency < 1 then
  1684. if c:FindFirstChildOfClass("Decal") then
  1685. c:FindFirstChildOfClass("Decal"):remove()
  1686. end
  1687. particles(c)
  1688. c.PE.Enabled = true
  1689. c.Parent = Effects
  1690. c.CanCollide = false
  1691. c.Material = "Neon"
  1692. c.Color = C3(1,0,0)
  1693. c.Transparency = 1
  1694. local grav = Instance.new("BodyPosition",c)
  1695. grav.P = 20000
  1696. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1697. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1698. grav.Name = "GravityForce"
  1699. coroutine.resume(coroutine.create(function()
  1700. for i = 1, 20 do
  1701. Swait()
  1702. c.Transparency = c.Transparency + 1/20
  1703. end
  1704. c.PE.Enabled = false
  1705. Debris:AddItem(c,2)
  1706. end))
  1707. end
  1708. end
  1709. end
  1710. end
  1711.  
  1712. function ApplyAoE(POSITION,RANGE)
  1713. local CHILDREN = workspace:GetDescendants()
  1714. for index, CHILD in pairs(CHILDREN) do
  1715. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1716. local LISTED = false
  1717. for LIST = 1, #WHITELIST do
  1718. if WHITELIST[LIST] ~= nil then
  1719. if CHILD.Name == WHITELIST[LIST] then
  1720. LISTED = true
  1721. end
  1722. end
  1723. end
  1724. if LISTED == false then
  1725. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1726. if HUM then
  1727. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1728. if TORSO then
  1729. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  1730. KillChildren(CHILD)
  1731. end
  1732. end
  1733. end
  1734. end
  1735. end
  1736. end
  1737. end
  1738.  
  1739. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1740. coroutine.resume(coroutine.create(function()
  1741. local METEOR = IT("Model",Effects)
  1742. METEOR.Name = "Meteorite"
  1743. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Deep orange", "MeteorCenter", VT(5,5,5)*SIZE)
  1744. METEOR.PrimaryPart = CENTER
  1745. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Lime green", "MeteorCenter", VT(5,5,5)*SIZE)
  1746. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1747. for i = 1, 15 do
  1748. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "White", "Fire", VT(5.1,1,5.1)*SIZE)
  1749. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1750. end
  1751. if ISDEBREE ~= true then
  1752. METEOR:SetPrimaryPartCFrame(CF(POS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15)))*CF(0,500,0) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1753. else
  1754. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1755. end
  1756. local IMPACT = false
  1757. CreateSound(463593339, CENTER, 10, 0.6)
  1758. if SIZE >= 3.5 then
  1759. for i = 1, MRANDOM(3,7) do
  1760. SpawnMeteor(CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,SIZE*12).p,SIZE/MRANDOM(4,5),true,CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SIZE*15).p)
  1761. end
  1762. end
  1763. for i = 1, 200 do
  1764. Swait()
  1765. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1766. if HITFLOOR == nil then
  1767. local ORI = CENTER.Orientation
  1768. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1769. else
  1770. if HITFLOOR.Anchored == true then
  1771. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1772. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1773. end
  1774. IMPACT = true
  1775. break
  1776. end
  1777. end
  1778. if IMPACT == true then
  1779. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*4*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1780. WACKYEFFECT({EffectType = "Block", Size = CENTER.Size, Size2 = VT(10,10,10)*3*SIZE, Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 201858144, SoundPitch = 1, SoundVolume = 5})
  1781. WACKYEFFECT({EffectType = "Sphere", Size = VT(SIZE*20,0,SIZE*20), Size2 = VT(0,SIZE*750,0), Transparency = 0, Transparency2 = 1, CFrame = CF(CENTER.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 130972023, SoundPitch = 1, SoundVolume = 5})
  1782. ApplyAoE(CENTER.Position,30*SIZE)
  1783. end
  1784. METEOR:remove()
  1785. end))
  1786. end
  1787.  
  1788. function ApplyAoE4(POSITION,RANGE,BRUTAL)
  1789. local CHILDREN = workspace:GetDescendants()
  1790. for index, CHILD in pairs(CHILDREN) do
  1791. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1792. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1793. if HUM then
  1794. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1795. if TORSO then
  1796. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1797. if BRUTAL == true then
  1798. Kill(CHILD)
  1799. else
  1800. CHILD:BreakJoints()
  1801. end
  1802. end
  1803. end
  1804. end
  1805. end
  1806. end
  1807. end
  1808.  
  1809. function Kill(Char)
  1810. local NewCharacter = IT("Model",Effects)
  1811. NewCharacter.Name = "Ow im ded ;-;"
  1812. for _, c in pairs(Char:GetDescendants()) do
  1813. if c:IsA("BasePart") and c.Transparency == 0 then
  1814. c:BreakJoints()
  1815. c.Material = "Glass"
  1816. c.Color = C3(1,0,0)
  1817. c.CanCollide = true
  1818. c.Transparency = 0.3
  1819. if c:FindFirstChildOfClass("SpecialMesh") then
  1820. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1821. end
  1822. if c.Name == "Head" then
  1823. c:ClearAllChildren()
  1824. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1825. end
  1826. if c.ClassName == "MeshPart" then
  1827. c.TextureID = ""
  1828. end
  1829. if c:FindFirstChildOfClass("BodyPosition") then
  1830. c:FindFirstChildOfClass("BodyPosition"):remove()
  1831. end
  1832. if c:FindFirstChildOfClass("ParticleEmitter") then
  1833. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1834. end
  1835. c.Parent = NewCharacter
  1836. c.Name = "DeadPart"
  1837. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1838. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1839. end
  1840. end
  1841. Char:remove()
  1842. Debris:AddItem(NewCharacter,5)
  1843. end
  1844.  
  1845. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1846. local CHILDREN = workspace:GetDescendants()
  1847. for index, CHILD in pairs(CHILDREN) do
  1848. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1849. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1850. if HUM then
  1851. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1852. if TORSO then
  1853. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1854. if BRUTAL == true then
  1855. Kill(CHILD)
  1856. else
  1857. CHILD:BreakJoints()
  1858. end
  1859. end
  1860. end
  1861. end
  1862. end
  1863. end
  1864. end
  1865.  
  1866. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1867. local CHILDREN = workspace:GetDescendants()
  1868. for index, CHILD in pairs(CHILDREN) do
  1869. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1870. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1871. if HUM then
  1872. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1873. if TORSO then
  1874. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1875. if BRUTAL == true then
  1876. Kill(CHILD)
  1877. else
  1878. CHILD:BreakJoints()
  1879. end
  1880. end
  1881. end
  1882. end
  1883. end
  1884. end
  1885. end
  1886.  
  1887. function Banish(Foe)
  1888. if Foe then
  1889. coroutine.resume(coroutine.create(function()
  1890. --if game.Players:FindFirstChild(Foe.Name) then
  1891. table.insert(TOBANISH,Foe.Name)
  1892. printbye(Foe.Name)
  1893. --end
  1894. Foe.Archivable = true
  1895. local CLONE = Foe:Clone()
  1896. Foe:Destroy()
  1897. CLONE.Parent = Effects
  1898. CLONE:BreakJoints()
  1899. local MATERIALS = {"Glass","Neon"}
  1900. for _, c in pairs(CLONE:GetDescendants()) do
  1901. if c:IsA("BasePart") then
  1902. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1903. CreateSound(138271815, c, 10, 1, false)
  1904. end
  1905. c.Anchored = true
  1906. c.Transparency = c.Transparency + 0.2
  1907. c.Material = MATERIALS[MRANDOM(1,2)]
  1908. c.Color = C3(1,0,0)
  1909. if c.ClassName == "MeshPart" then
  1910. c.TextureID = ""
  1911. end
  1912. if c:FindFirstChildOfClass("SpecialMesh") then
  1913. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1914. end
  1915. if c:FindFirstChildOfClass("Decal") then
  1916. c:FindFirstChildOfClass("Decal"):remove()
  1917. end
  1918. c.Name = "Banished"
  1919. c.CanCollide = false
  1920. else
  1921. c:remove()
  1922. end
  1923. end
  1924. local A = false
  1925. for i = 1, 35 do
  1926. if A == false then
  1927. A = true
  1928. elseif A == true then
  1929. A = false
  1930. end
  1931. for _, c in pairs(CLONE:GetDescendants()) do
  1932. if c:IsA("BasePart") then
  1933. c.Anchored = true
  1934. c.Material = MATERIALS[MRANDOM(1,2)]
  1935. c.Transparency = c.Transparency + 0.8/35
  1936. if A == false then
  1937. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1938. elseif A == true then
  1939. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1940. end
  1941. end
  1942. end
  1943. Swait()
  1944. end
  1945. CLONE:remove()
  1946. end))
  1947. end
  1948. end
  1949.  
  1950.  
  1951. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1952. local CHILDREN = workspace:GetDescendants()
  1953. for index, CHILD in pairs(CHILDREN) do
  1954. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1955. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1956. if HUM then
  1957. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1958. if TORSO then
  1959. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1960. if ISBANISH == true then
  1961. Banish(CHILD)
  1962. else
  1963. if ISBANISH == "Gravity" then
  1964. HUM.PlatformStand = true
  1965. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1966. local grav = Instance.new("BodyPosition",TORSO)
  1967. grav.D = 15
  1968. grav.P = 20000
  1969. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1970. grav.position = TORSO.Position
  1971. grav.Name = "V3BanishForce"..Player.Name
  1972. else
  1973. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1974. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1975. end
  1976. else
  1977. HUM.PlatformStand = false
  1978. end
  1979. end
  1980. elseif ISBANISH == "Gravity" then
  1981. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1982. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1983. HUM.PlatformStand = false
  1984. end
  1985. end
  1986. end
  1987. end
  1988. end
  1989. end
  1990. end
  1991.  
  1992. function SpawnSmite(POS)
  1993. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  1994. local EMITPOS = HITPOS
  1995. if HITFLOOR ~= nil then
  1996. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1997. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1998. EMITPOS = HITPOS
  1999. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2000. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  2001. EMITPOS = HITPOS
  2002. end
  2003. end
  2004. if HITFLOOR ~= nil then
  2005. ApplyAoE(EMITPOS,10)
  2006. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,100000,0), Size2 = VT(10,100000,10), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS) * ANGLES(RAD(MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2007. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2008. WACKYEFFECT({EffectType = "Block", Size = VT(0,0,0), Size2 = VT(10,10,10)*1.5, Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2009. for i = 1, 5 do
  2010. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  2011. WACKYEFFECT({EffectType = "Slash", Size = VT(0,0,0), Size2 = VT(0.2,0,0.2), Transparency = 0, Transparency2 = 1, CFrame = CF(EMITPOS,TOPOS.p) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = TOPOS.p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 419011114, SoundPitch = 1, SoundVolume = 5})
  2012. end
  2013. end
  2014. end
  2015.  
  2016. --//=================================\\
  2017. --|| TRANSFORMATIONS
  2018. --\\=================================//
  2019.  
  2020. function Switch()
  2021. ATTACK = true
  2022. Rooted = true
  2023. if MODE == "GoodCop" then
  2024. CreateSound("649634100", Head, 10, 0.5)
  2025. for i = 0, 3, 0.1 / Animation_Speed do
  2026. Swait()
  2027. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2028. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2029. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2030. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2031. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2032. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2033. end
  2034. CreateSound("289842971", RightArm, 10, 1)
  2035. for i = 0, 6, 0.1 / Animation_Speed do
  2036. Swait()
  2037. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 0.5 / Animation_Speed)
  2038. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2039. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2040. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2041. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2042. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2043. end
  2044. Weapon.Parent = nil
  2045. Weapon2.Parent = Character
  2046. for i = 0, 1, 0.1 / Animation_Speed do
  2047. Swait()
  2048. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.5 / Animation_Speed)
  2049. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2050. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1.25, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2051. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2052. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2053. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2054. end
  2055. for i=0, 0.6, 0.1 / Animation_Speed do
  2056. Swait()
  2057. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  2058. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  2059. if MRANDOM(1,7) == 1 then
  2060. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2061. end
  2062. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2063. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(95), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2064. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * COS(SINE / 24), -1 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2065. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2066. end
  2067. MODE = "BadCop"
  2068. tecks2.Text = "End of the line"
  2069. sick.SoundId = "rbxassetid://1146711643"
  2070. sick.TimePosition = 0
  2071. elseif MODE == "BadCop" then
  2072. CreateSound(147722227, Torso, 4, 1.3, false)
  2073. for i=0, 0.3, 0.1 / Animation_Speed do
  2074. Swait()
  2075. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2076. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2077. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.4, 0.75, -0.3) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  2078. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2079. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2080. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2081. end
  2082. MODE = "GoodCop"
  2083. Weapon.Parent = Character
  2084. Weapon2.Parent = nil
  2085. tecks2.Text = "Hmm"
  2086. sick.SoundId = "rbxassetid://1117396305"
  2087. sick.TimePosition = 22
  2088. end
  2089. ATTACK = false
  2090. Rooted = false
  2091. end
  2092.  
  2093.  
  2094. --//=================================\\
  2095. --|| ATTACK FUNCTIONS AND STUFF
  2096. --\\=================================//
  2097.  
  2098. function Intro()
  2099. ATTACK = true
  2100. Rooted = true
  2101. repeat
  2102. Swait()
  2103. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2104. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(-3.5 * COS(SINE / 12)), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2105. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  2106. LeftShoulder.C0 = Clerp(LeftShoulder.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)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2107. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  2108. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-8), RAD(5), RAD(15-2.5 * COS(SINE / 12))), 0.8 / Animation_Speed)
  2109. until sick.TimePosition > 1
  2110. repeat
  2111. Swait()
  2112. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2113. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2114. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2115. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2116. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2117. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2118. until sick.TimePosition > 1
  2119. repeat
  2120. Swait()
  2121. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2122. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2123. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2124. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2125. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2126. 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)
  2127. until sick.TimePosition > 1
  2128. tecks2.TextTransparency = 0
  2129. for i = 1, 100 do
  2130. Swait()
  2131.  
  2132.  
  2133. end
  2134. TRANSFORMED = true
  2135. ATTACK = false
  2136. Rooted = false
  2137. end
  2138.  
  2139. function Shot1()
  2140. ATTACK = true
  2141. Rooted = false
  2142. for i=0, 0.4, 0.05 / Animation_Speed do
  2143. Swait()
  2144. turnto(Mouse.Hit.p)
  2145. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  2146. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2147. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2148. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2149. 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)
  2150. 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)
  2151. end
  2152. repeat
  2153. for i=0, 0.2, 0.05 / Animation_Speed do
  2154. Swait()
  2155. turnto(Mouse.Hit.p)
  2156. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  2157. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.5 / Animation_Speed)
  2158. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2159. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.6, -0.4) * ANGLES(RAD(170), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2160. 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)
  2161. 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)
  2162. end
  2163. local HIT,POS = CastProperRay(RHole.Position, Mouse.Hit.p, 1000, Character)
  2164. SpawnTrail(RHole.Position,POS)
  2165. if HIT ~= nil then
  2166. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2167. Banish(HIT.Parent)
  2168. end
  2169. end
  2170. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = RHole.CFrame, MoveToPos = RHole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2171. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = RHole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 1463566014, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2172. 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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2173. 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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2174. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2175. for i=0, 0.3, 0.05 / Animation_Speed do
  2176. Swait()
  2177. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  2178. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.25 / Animation_Speed)
  2179. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2180. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.6, -0.4) * ANGLES(RAD(172), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2181. 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)
  2182. 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)
  2183. end
  2184. until KEYHOLD == false
  2185. ATTACK = false
  2186. Rooted = false
  2187. end
  2188.  
  2189. function Shot2()
  2190. ATTACK = true
  2191. Rooted = false
  2192. for i=0, 0.2, 0.05 / Animation_Speed do
  2193. Swait()
  2194. turnto(Mouse.Hit.p)
  2195. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2196. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2197. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2198. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2199. 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)
  2200. 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)
  2201. end
  2202. repeat
  2203. for i=0, 0.2, 0.05 / Animation_Speed do
  2204. Swait()
  2205. turnto(Mouse.Hit.p)
  2206. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2207. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2208. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2209. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2210. 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)
  2211. 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)
  2212. end
  2213. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2214. SpawnTrail(Hole.Position,POS)
  2215. if HIT ~= nil then
  2216. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2217. Kill(HIT.Parent)
  2218. end
  2219. end
  2220. 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(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2221. 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(1,0,0), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2222. 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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2223. 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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2224. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2225. for i=0, 0.2, 0.05 / Animation_Speed do
  2226. Swait()
  2227. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2228. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2229. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2230. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2231. 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)
  2232. 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)
  2233. end
  2234. until KEYHOLD == false
  2235. ATTACK = false
  2236. Rooted = false
  2237. end
  2238.  
  2239. function ScrewThis()
  2240. ATTACK = true
  2241. Rooted = true
  2242. Weapon.Parent = nil
  2243. sick.Volume = 0
  2244. CreateSound("137473066", Effects, 10, 0.9)
  2245. CreateSound(137473066, Effects, 10, 1, false)
  2246. for i=0, 0.6, 0.1 / Animation_Speed do
  2247. Swait()
  2248. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2249. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2250. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2251. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2252. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2253. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2254. end
  2255. CreateSound(363808674, Effects, 10, 1, false)
  2256. for i=0, 0.6, 0.1 / Animation_Speed do
  2257. Swait()
  2258. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2259. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2260. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2261. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2262. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2263. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2264. end
  2265. CreateSound(363808674, Effects, 10, 1, false)
  2266. for i=0, 0.6, 0.1 / Animation_Speed do
  2267. Swait()
  2268. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2269. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2270. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2271. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2272. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2273. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2274. end
  2275. CreateSound(363808674, Effects, 10, 1, false)
  2276. for i=0, 0.6, 0.1 / Animation_Speed do
  2277. Swait()
  2278. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2279. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2280. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2281. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2282. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2283. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2284. end
  2285. CreateSound(363808674, Effects, 10, 1, false)
  2286. for i=0, 0.6, 0.1 / Animation_Speed do
  2287. Swait()
  2288. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2289. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2290. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2291. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2292. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2293. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2294. end
  2295. CreateSound(363808674, Effects, 10, 1, false)
  2296. for i=0, 0.6, 0.1 / Animation_Speed do
  2297. Swait()
  2298. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2299. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2300. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2301. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2302. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2303. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2304. end
  2305. Weapon.Parent = Character
  2306. sick.Volume = 2
  2307. ATTACK = false
  2308. Rooted = false
  2309. end
  2310.  
  2311. function Taunt()
  2312. ATTACK = true
  2313. Rooted = true
  2314. local L = CreateSound(2162230624,Head,8,1.1,false)
  2315. L.EmitterSize = 25
  2316. for i = 1, 20 do
  2317. Swait()
  2318. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2319. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2320. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2321. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2322. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2323. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2324. end
  2325. for i = 1, 40 do
  2326. Swait()
  2327. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2328. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  2329. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2330. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2331. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2332. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2333. end
  2334. for i = 1, 60 do
  2335. Swait()
  2336. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2337. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2338. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2339. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2340. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2341. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2342. end
  2343. for i = 1, 60 do
  2344. Swait()
  2345. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2346. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  2347. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2348. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2349. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2350. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2351. end
  2352. for i = 1, 90 do
  2353. Swait()
  2354. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2355. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2356. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2357. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2358. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2359. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2360. end
  2361. for i = 1, 72 do
  2362. Swait()
  2363. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2364. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  2365. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2366. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2367. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2368. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2369. end
  2370. for i = 1, 96 do
  2371. Swait()
  2372. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2373. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2374. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2375. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2376. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2377. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2378. end
  2379. for i = 1, 98 do
  2380. Swait()
  2381. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2382. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  2383. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2384. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2385. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2386. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2387. end
  2388. ATTACK = false
  2389. Rooted = false
  2390. end
  2391. --//=================================\\
  2392. --|| ASSIGN THINGS TO KEYS
  2393. --\\=================================//
  2394.  
  2395. function MouseDown(Mouse)
  2396. if ATTACK == false then
  2397.  
  2398. end
  2399. end
  2400.  
  2401. function MouseUp(Mouse)
  2402. HOLD = false
  2403. end
  2404.  
  2405. function KeyDown(Key)
  2406. KEYHOLD = true
  2407. if TRANSFORMED == true and Rooted == false then
  2408. if Key == "f" and ATTACK == false then
  2409. Switch()
  2410. end
  2411.  
  2412.  
  2413. if Key == "e" and ATTACK == false then
  2414. if MODE == "GoodCop" then
  2415. Shot2()
  2416. elseif MODE == "BadCop" then
  2417. Shot1()
  2418. end
  2419. end
  2420.  
  2421. if Key == "t" and ATTACK == false then
  2422. if MODE == "GoodCop" then
  2423. ScrewThis()
  2424. elseif MODE == "BadCop" then
  2425. Taunt()
  2426. end
  2427. end
  2428.  
  2429. end
  2430.  
  2431. if Key == "9" and ATTACK == false then
  2432. CreateSound("135017578", Effects, 5, 1)
  2433. end
  2434. end
  2435.  
  2436. function KeyUp(Key)
  2437. KEYHOLD = false
  2438. end
  2439.  
  2440. Mouse.Button1Down:connect(function(NEWKEY)
  2441. MouseDown(NEWKEY)
  2442. end)
  2443. Mouse.Button1Up:connect(function(NEWKEY)
  2444. MouseUp(NEWKEY)
  2445. end)
  2446. Mouse.KeyDown:connect(function(NEWKEY)
  2447. KeyDown(NEWKEY)
  2448. end)
  2449. Mouse.KeyUp:connect(function(NEWKEY)
  2450. KeyUp(NEWKEY)
  2451. end)
  2452.  
  2453. --//=================================\\
  2454. --\\=================================//
  2455.  
  2456.  
  2457. function unanchor()
  2458. if UNANCHOR == true then
  2459. RootPart.Anchored = false
  2460. end
  2461. for _, c in pairs(Weapon:GetChildren()) do
  2462. if c.ClassName == "Part" then
  2463. c.Anchored = false
  2464. end
  2465. end
  2466. end
  2467.  
  2468.  
  2469. --//=================================\\
  2470. --|| WRAP THE WHOLE SCRIPT UP
  2471. --\\=================================//
  2472.  
  2473. Humanoid.Changed:connect(function(Jump)
  2474. if Jump == "Jump" and (Disable_Jump == true) then
  2475. Humanoid.Jump = false
  2476. end
  2477. end)
  2478.  
  2479. while true do
  2480. Swait()
  2481. script.Parent = WEAPONGUI
  2482. ANIMATE.Parent = nil
  2483. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2484. v:Stop();
  2485. end
  2486. SINE = SINE + CHANGE
  2487. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2488. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2489. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2490. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2491. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2492. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.05 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2493. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2494. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  2495. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  2496. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2497. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2498. 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)
  2499. 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.7 / Animation_Speed)
  2500. 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.7 / Animation_Speed)
  2501. end
  2502. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2503. ANIM = "Jump"
  2504. if ATTACK == false then
  2505. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2506. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2507. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2508. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2509. 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)
  2510. 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)
  2511. end
  2512. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2513. ANIM = "Fall"
  2514. if ATTACK == false then
  2515. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2516. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2517. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2518. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2519. 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)
  2520. 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)
  2521. end
  2522. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2523. ANIM = "Idle"
  2524. if ATTACK == false then
  2525. if MODE == "GoodCop" then
  2526. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.05 * COS(SINE / 12), 0, 0 + 0.05 * SIN(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2527. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2528. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2529. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2530. RightHip.C0 = Clerp(RightHip.C0, CF(1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2531. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 + 0.05 * COS(SINE / 12), -1 - 0.05 * SIN(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2532. elseif MODE == "BadCop" then
  2533. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1 + 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.2 / Animation_Speed*3)
  2534. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  2535. if MRANDOM(1,7) == 1 then
  2536. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  2537. end
  2538. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2539. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(95), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2540. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.1 * COS(SINE / 24), -1 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2541. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.2, 0.2 - 0.1 * COS(SINE / 24), -0.4 - 0.1 * COS(SINE / 24)) * ANGLES(RAD(45), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2542. end
  2543. end
  2544. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2545. ANIM = "Walk"
  2546. if ATTACK == false then
  2547. if MODE == "GoodCop" then
  2548. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2549. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.05 * SIN(SINE / (WALKSPEEDVALUE/2)), 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2550. elseif MODE == "BadCop" then
  2551. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2552. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2553. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65, -0.15) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2554. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  2555. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  2556. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  2557. end
  2558. end
  2559. end
  2560. Humanoid.DisplayDistanceType = "None"
  2561. unanchor()
  2562. tecks2.TextColor3 = BrickColor.Random().Color
  2563. tecks2.TextStrokeColor3 = BrickColor.Random().Color
  2564. Humanoid.MaxHealth = "inf"
  2565. Humanoid.Health = "inf"
  2566. if Rooted == false then
  2567. Disable_Jump = false
  2568. Humanoid.WalkSpeed = Speed
  2569. elseif Rooted == true then
  2570. Disable_Jump = true
  2571. Humanoid.WalkSpeed = 0
  2572. end
  2573. Humanoid.PlatformStand = false
  2574. if INTRO == false and INSTANT == false then
  2575. INTRO = true
  2576. coroutine.resume(coroutine.create(function()
  2577. sick:Play()
  2578. Intro()
  2579. end))
  2580. end
  2581. if INSTANT == true then
  2582. if TRANSFORMED == false then
  2583. sick.TimePosition = 60
  2584. sick:Play()
  2585. end
  2586. TRANSFORMED = true
  2587. end
  2588. script.Parent = PlayerGui
  2589. Character.Parent = workspace
  2590. Humanoid.Parent = Character
  2591. end
  2592. --//=================================\\
  2593. --\\=================================//
  2594.  
  2595.  
  2596.  
  2597.  
  2598.  
  2599. --//====================================================\\--
  2600. --|| END OF SCRIPT
  2601. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement