Advertisement
Bendy928443534

Untitled

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