Advertisement
Bendy928443534

Karma lets see if it works

Sep 5th, 2019
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 120.08 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. if(script["Mode"].Value ~= "Insane") then
  1147. LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle2, RightArm, Handle2, CF(0, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1148. elseif(script["Mode"].Value == "Insane") then
  1149. LeftArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle2, LeftArm, Handle2, CF(0, -1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1150. end
  1151. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  1152. MakeForm(Part,"Wedge")
  1153. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1154. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.3,0.2),false)
  1155. MakeForm(Part,"Wedge")
  1156. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1157. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.3,0.3),false)
  1158. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.5, 0.2) * 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.3,0.5,0.5),false)
  1160. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1161. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.4,0.4,0.4),false)
  1162. MakeForm(Part,"Cyl")
  1163. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1164. for i = 1, 8 do
  1165. local Piece = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
  1166. CreateWeldOrSnapOrMotor("Weld", Handle2, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1167. end
  1168. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Eye", VT(0.38,0.41,0.38),false)
  1169. MakeForm(Part,"Cyl")
  1170. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1171. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.37,0.5,0.37),false)
  1172. MakeForm(Part,"Ball")
  1173. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1174. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.7,0.4),false)
  1175. MakeForm(Part,"Wedge")
  1176. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1177. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.3,0.4,0.2),false)
  1178. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1179. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.35,0.35,0.35),false)
  1180. MakeForm(Part,"Cyl")
  1181. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1182. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.5),false)
  1183. MakeForm(Part,"Cyl")
  1184. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1185. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.5,0.1,0.45),false)
  1186. MakeForm(Part,"Cyl")
  1187. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1188. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.2,0.5,0.2),false)
  1189. MakeForm(Part,"Wedge")
  1190. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1191. local LASTPART = Handle2
  1192. for i = 1, 10 do
  1193. if LASTPART == Handle then
  1194. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "White", "Part", VT(0.1,0.2,0),false)
  1195. LASTPART = Part
  1196. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1197. else
  1198. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "White", "Part", VT(0.1,0.05,0),false)
  1199. CreateWeldOrSnapOrMotor("Weld", Handle2, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1200. LASTPART = Part
  1201. end
  1202. end
  1203.  
  1204. local Barrel2 = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.15,2,0.15),false)
  1205. MakeForm(Barrel,"Cyl")
  1206. CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Barrel2, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1207. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0.25,1,0.25),false)
  1208. MakeForm(Part,"Cyl")
  1209. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1210. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "Really black", "Part", VT(0,0.1,0.2),false)
  1211. MakeForm(Part,"Wedge")
  1212. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1213. local Hole2 = CreatePart(3, KarmaGun2, "Metal", 0, 0, "White", "Eye", VT(0.125,0,0.125),false)
  1214. MakeForm(Hole,"Cyl")
  1215. CreateWeldOrSnapOrMotor("Weld", Handle2, Barrel2, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  1216. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0, "White", "Part", VT(0,0,0),false)
  1217. local GEARWELD3 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1218. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1219. local Part = CreatePart(3, KarmaGun2, "Metal", 0, 0.5, "White", "Eye", VT(0,0,0),false)
  1220. local GEARWELD4 = CreateWeldOrSnapOrMotor("Weld", Handle2, Handle2, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1221. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1222. coroutine.resume(coroutine.create(function()
  1223. while wait() do
  1224. GEARWELD3.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1225. GEARWELD4.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1226. end
  1227. end))
  1228.  
  1229. --W2--
  1230.  
  1231. local Handle = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1232. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1233. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1234. MakeForm(Part,"Wedge")
  1235. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1236. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1237. MakeForm(Part,"Wedge")
  1238. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1239. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1240. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1241. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1242. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1243. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1244. MakeForm(Part,"Cyl")
  1245. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1246. for i = 1, 8 do
  1247. local Piece = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1248. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1249. end
  1250. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1251. MakeForm(Part,"Cyl")
  1252. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1253. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1254. MakeForm(Part,"Ball")
  1255. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1256. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1257. MakeForm(Part,"Wedge")
  1258. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1259. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1260. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1261. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1262. MakeForm(Part,"Cyl")
  1263. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1264. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1265. MakeForm(Part,"Cyl")
  1266. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1267. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1268. MakeForm(Part,"Cyl")
  1269. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1270. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1271. MakeForm(Part,"Wedge")
  1272. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(135), RAD(180), RAD(180)), CF(0, -0.3, 0))
  1273. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1274. MakeForm(Part,"Cyl")
  1275. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1276. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1277. MakeForm(Part,"Wedge")
  1278. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1279. local LASTPART = Handle
  1280. for i = 1, 10 do
  1281. if LASTPART == Handle then
  1282. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1283. LASTPART = Part
  1284. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1285. else
  1286. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1287. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1288. LASTPART = Part
  1289. end
  1290. end
  1291. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe", VT(0.2,0.5,0.2),false)
  1292. MakeForm(Part,"Wedge")
  1293. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-125), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1294. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe2", VT(0.2,0.5,0.2),false)
  1295. MakeForm(Part,"Wedge")
  1296. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(125), RAD(180), RAD(180)), CF(0, -0.3, 0))
  1297. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe3", VT(0.2,0.5,0.2),false)
  1298. MakeForm(Part,"Wedge")
  1299. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, -0.6) * ANGLES(RAD(-145), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1300. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "exe4", VT(0.2,0.5,0.2),false)
  1301. MakeForm(Part,"Wedge")
  1302. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.65, -0.6) * ANGLES(RAD(145), RAD(180), RAD(180)), CF(0, -0.3, 0))
  1303.  
  1304. local Barrel = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,5,0.15),false)
  1305. MakeForm(Barrel,"Cyl")
  1306. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1307. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1308. MakeForm(Part,"Cyl")
  1309. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1310. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1311. MakeForm(Part,"Wedge")
  1312. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 2.4, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1313. local RHole = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1314. MakeForm(RHole,"Cyl")
  1315. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, RHole, CF(0, 2.5, 0), CF(0, 0, 0))
  1316. local Part = CreatePart(3, Weapon2, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1317. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1318. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1319. local Part = CreatePart(3, Weapon2, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1320. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1321. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1322. coroutine.resume(coroutine.create(function()
  1323. while wait() do
  1324. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1325. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1326. end
  1327. end))
  1328.  
  1329. local BODY = {}
  1330.  
  1331. for _, c in pairs(Character:GetDescendants()) do
  1332. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1333. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1334. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1335. end
  1336. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1337. elseif c:IsA("JointInstance") then
  1338. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1339. end
  1340. end
  1341.  
  1342. for e = 1, #BODY do
  1343. if BODY[e] ~= nil then
  1344. local STUFF = BODY[e]
  1345. local PART = STUFF[1]
  1346. local PARENT = STUFF[2]
  1347. local MATERIAL = STUFF[3]
  1348. local COLOR = STUFF[4]
  1349. local TRANSPARENCY = STUFF[5]
  1350. if PART.ClassName == "Part" and PART ~= RootPart then
  1351. PART.Material = MATERIAL
  1352. PART.Color = COLOR
  1353. PART.Transparency = TRANSPARENCY
  1354. end
  1355. PART.AncestryChanged:Connect(function()
  1356. PART.Parent = PARENT
  1357. end)
  1358. end
  1359. end
  1360.  
  1361. function refit()
  1362. Character.Parent = workspace
  1363. for e = 1, #BODY do
  1364. if BODY[e] ~= nil then
  1365. local STUFF = BODY[e]
  1366. local PART = STUFF[1]
  1367. local PARENT = STUFF[2]
  1368. local MATERIAL = STUFF[3]
  1369. local COLOR = STUFF[4]
  1370. local TRANSPARENCY = STUFF[5]
  1371. if PART.ClassName == "Part" and PART ~= RootPart then
  1372. PART.Material = MATERIAL
  1373. PART.Color = COLOR
  1374. PART.Transparency = TRANSPARENCY
  1375. end
  1376. if PART.Parent ~= PARENT then
  1377. Humanoid:remove()
  1378. PART.Parent = PARENT
  1379. Humanoid = IT("Humanoid",Character)
  1380. end
  1381. end
  1382. end
  1383. end
  1384.  
  1385. for _, c in pairs(Weapon:GetDescendants()) do
  1386. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1387. c.Material = "Glass"
  1388. c.Color = C3(0,0,0)
  1389. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1390. c.Color = C3(0,0,0)
  1391. c.Material = "Neon"
  1392. end
  1393. end
  1394.  
  1395. for _, c in pairs(Weapon2:GetDescendants()) do
  1396. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1397. c.Material = "Glass"
  1398. c.Color = C3(0,0,0)
  1399. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1400. c.Color = C3(1,0,0)
  1401. c.Material = "Neon"
  1402. end
  1403. end
  1404.  
  1405. Weapon.Parent = Character
  1406. Weapon2.Parent = nil
  1407. for _, c in pairs(Weapon:GetChildren()) do
  1408. if c.ClassName == "Part" then
  1409. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1410. end
  1411. end
  1412.  
  1413. local SKILLTEXTCOLOR = C3(0,0,10)
  1414. local SKILLFONT = "Arcade"
  1415. local SKILLTEXTSIZE = 10
  1416.  
  1417. Humanoid.Died:connect(function()
  1418. ATTACK = true
  1419. end)
  1420.  
  1421. 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")
  1422.  
  1423. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E] Banish [T] Taunt [F] transform", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1424.  
  1425. workspace.ChildAdded:connect(function(instance)
  1426. for BANISH = 1, #TOBANISH do
  1427. if TOBANISH[BANISH] ~= nil then
  1428. if instance.Name == TOBANISH[BANISH] then
  1429. coroutine.resume(coroutine.create(function()
  1430. printbye(instance.Name)
  1431. instance:ClearAllChildren()
  1432. Debris:AddItem(instance,0.0005)
  1433. end))
  1434. end
  1435. end
  1436. end
  1437. end)
  1438. ------------------------------Editing Stuffs-------------------------------------
  1439.  
  1440.  
  1441. --//=================================\\
  1442. --|| WEAPON CREATION 2
  1443. --\\=================================//
  1444. local PRT = CreatePart(3, Character, "Neon", 0, 0, "New yeller", "Really red", VT(1,1,1),false)
  1445. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  1446. PRT.Color = C3(1,1,1)
  1447. for i = 1, 35 do
  1448. local FACE = CreatePart(3, Character, "Neon", 0, 0+(i-1)/35.2, "Really red", "FaceGradient", VT(1.01,0.5,1.01),false)
  1449. FACE.Color = C3(0,0,0)
  1450. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1451. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1452. end
  1453. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1454. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  1455. MakeForm(Eye,"Ball")
  1456. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1457.  
  1458. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1459. local Eye = CreatePart(3, Character, "Neon", 0, 0, "New yeller", "Eye", VT(0.1,1,1)/2,false)
  1460. MakeForm(Eye,"Ball")
  1461. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1462.  
  1463. local top = Instance.new("Shirt")
  1464. top.ShirtTemplate = "rbxassetid://676428254"
  1465. top.Parent = Character
  1466. top.Name = "Cloth"
  1467. local bottom = Instance.new("Pants")
  1468. bottom.PantsTemplate = "rbxassetid://676428351"
  1469. bottom.Parent = Character
  1470. bottom.Name = "Cloth"
  1471.  
  1472.  
  1473. --//=================================\\
  1474. --|| DAMAGING
  1475. --\\=================================//
  1476.  
  1477. function ApplyDamage(Humanoid,Damage,OneShot)
  1478. Damage = Damage * DAMAGEMULTIPLIER
  1479. local DEAD = false
  1480. if Humanoid.Health < 2000 and OneShot == false then
  1481. if Humanoid.Health - Damage > 0 then
  1482. Humanoid.Health = Humanoid.Health - Damage
  1483. else
  1484. Humanoid.Parent:BreakJoints()
  1485. DEAD = true
  1486. end
  1487. else
  1488. DEAD = true
  1489. Humanoid.Parent:BreakJoints()
  1490. end
  1491. if DEAD == true then
  1492. local PARTS = {}
  1493. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  1494. if CHILD:IsA("BasePart") then
  1495. table.insert(PARTS,CHILD)
  1496. end
  1497. end
  1498. coroutine.resume(coroutine.create(function()
  1499. wait(2)
  1500. repeat
  1501. Swait()
  1502. local PIECE = nil
  1503. if MRANDOM(1,5) == 1 then
  1504. for E = 1, #PARTS do
  1505. if MRANDOM(1,5) == 1 then
  1506. PIECE = PARTS[E]
  1507. table.remove(PARTS,E)
  1508. break
  1509. end
  1510. end
  1511. end
  1512. if PIECE ~= nil then
  1513. if PIECE.Name == "Head" then
  1514. 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})
  1515. else
  1516. 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})
  1517. end
  1518. PIECE:remove()
  1519. end
  1520. until #PARTS == 0
  1521. end))
  1522. end
  1523. end
  1524.  
  1525.  
  1526. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1527. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1528. defence.Name = ("HitBy"..Player.Name)
  1529. game:GetService("Debris"):AddItem(defence, 0.001)
  1530. Damage = Damage * DAMAGEMULTIPLIER
  1531. if Humanoid.Health ~= 0 then
  1532. local CritChance = MRANDOM(1,100)
  1533. if Damage > Humanoid.Health then
  1534. Damage = math.ceil(Humanoid.Health)
  1535. if Damage == 0 then
  1536. Damage = 0.1
  1537. end
  1538. end
  1539. Humanoid.Health = Humanoid.Health - Damage
  1540. end
  1541. end
  1542.  
  1543. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1544. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1545. defence.Name = ("HitBy"..Player.Name)
  1546. game:GetService("Debris"):AddItem(defence, 0.001)
  1547. Damage = Damage * DAMAGEMULTIPLIER
  1548. if Humanoid.Health ~= 0 then
  1549. local CritChance = MRANDOM(1,100)
  1550. if Damage > Humanoid.Health then
  1551. Damage = math.ceil(Humanoid.Health)
  1552. if Damage == 0 then
  1553. Damage = 0.1
  1554. end
  1555. end
  1556. Humanoid.Health = Humanoid.Health - Damage
  1557. end
  1558. end
  1559.  
  1560. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1561. local CHILDREN = workspace:GetDescendants()
  1562. for index, CHILD in pairs(CHILDREN) do
  1563. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1564. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1565. if HUM then
  1566. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1567. if TORSO then
  1568. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1569. if INSTAKILL == true then
  1570. CHILD:BreakJoints()
  1571. else
  1572. local DMG = MRANDOM(MINDMG,MAXDMG)
  1573. ApplyDamage(HUM,DMG,TORSO)
  1574. end
  1575. if FLING > 0 then
  1576. for _, c in pairs(CHILD:GetChildren()) do
  1577. if c:IsA("BasePart") then
  1578. local bv = Instance.new("BodyVelocity")
  1579. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1580. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1581. bv.Parent = c
  1582. Debris:AddItem(bv,0.05)
  1583. end
  1584. end
  1585. end
  1586. end
  1587. end
  1588. end
  1589. end
  1590. end
  1591. end
  1592.  
  1593. function CameraEnshaking(Length, Intensity)
  1594. coroutine.resume(coroutine.create(function()
  1595. local intensity = 1 * Intensity
  1596. local rotM = 0.01 * Intensity
  1597. for i = 0, Length, 0.1 do
  1598. Swait()
  1599. intensity = intensity - 0.05 * Intensity / Length
  1600. rotM = rotM - 5.0E-4 * Intensity / Length
  1601. Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
  1602. 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)
  1603. end
  1604. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  1605. end))
  1606. end
  1607.  
  1608. function KillChildren(v)
  1609. v:BreakJoints()
  1610. for _, c in pairs(v:GetChildren()) do
  1611. if c:IsA("BasePart") then
  1612. if c.Transparency < 1 then
  1613. if c:FindFirstChildOfClass("Decal") then
  1614. c:FindFirstChildOfClass("Decal"):remove()
  1615. end
  1616. particles(c)
  1617. c.PE.Enabled = true
  1618. c.Parent = Effects
  1619. c.CanCollide = false
  1620. c.Material = "Neon"
  1621. c.Color = C3(1,0,0)
  1622. c.Transparency = 1
  1623. local grav = Instance.new("BodyPosition",c)
  1624. grav.P = 20000
  1625. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1626. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1627. grav.Name = "GravityForce"
  1628. coroutine.resume(coroutine.create(function()
  1629. for i = 1, 20 do
  1630. Swait()
  1631. c.Transparency = c.Transparency + 1/20
  1632. end
  1633. c.PE.Enabled = false
  1634. Debris:AddItem(c,2)
  1635. end))
  1636. end
  1637. end
  1638. end
  1639. end
  1640.  
  1641. function ApplyAoE(POSITION,RANGE)
  1642. local CHILDREN = workspace:GetDescendants()
  1643. for index, CHILD in pairs(CHILDREN) do
  1644. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1645. local LISTED = false
  1646. for LIST = 1, #WHITELIST do
  1647. if WHITELIST[LIST] ~= nil then
  1648. if CHILD.Name == WHITELIST[LIST] then
  1649. LISTED = true
  1650. end
  1651. end
  1652. end
  1653. if LISTED == false then
  1654. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1655. if HUM then
  1656. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1657. if TORSO then
  1658. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  1659. KillChildren(CHILD)
  1660. end
  1661. end
  1662. end
  1663. end
  1664. end
  1665. end
  1666. end
  1667.  
  1668. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1669. coroutine.resume(coroutine.create(function()
  1670. local METEOR = IT("Model",Effects)
  1671. METEOR.Name = "Meteorite"
  1672. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Deep orange", "MeteorCenter", VT(5,5,5)*SIZE)
  1673. METEOR.PrimaryPart = CENTER
  1674. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Lime green", "MeteorCenter", VT(5,5,5)*SIZE)
  1675. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1676. for i = 1, 15 do
  1677. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "White", "Fire", VT(5.1,1,5.1)*SIZE)
  1678. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1679. end
  1680. if ISDEBREE ~= true then
  1681. 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))))
  1682. else
  1683. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1684. end
  1685. local IMPACT = false
  1686. CreateSound(463593339, CENTER, 10, 0.6)
  1687. if SIZE >= 3.5 then
  1688. for i = 1, MRANDOM(3,7) do
  1689. 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)
  1690. end
  1691. end
  1692. for i = 1, 200 do
  1693. Swait()
  1694. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1695. if HITFLOOR == nil then
  1696. local ORI = CENTER.Orientation
  1697. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1698. else
  1699. if HITFLOOR.Anchored == true then
  1700. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1701. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1702. end
  1703. IMPACT = true
  1704. break
  1705. end
  1706. end
  1707. if IMPACT == true then
  1708. 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})
  1709. 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})
  1710. 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})
  1711. ApplyAoE(CENTER.Position,30*SIZE)
  1712. end
  1713. METEOR:remove()
  1714. end))
  1715. end
  1716.  
  1717. function ApplyAoE4(POSITION,RANGE,BRUTAL)
  1718. local CHILDREN = workspace:GetDescendants()
  1719. for index, CHILD in pairs(CHILDREN) do
  1720. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1721. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1722. if HUM then
  1723. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1724. if TORSO then
  1725. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1726. if BRUTAL == true then
  1727. Kill(CHILD)
  1728. else
  1729. CHILD:BreakJoints()
  1730. end
  1731. end
  1732. end
  1733. end
  1734. end
  1735. end
  1736. end
  1737.  
  1738. function Kill(Char)
  1739. local NewCharacter = IT("Model",Effects)
  1740. NewCharacter.Name = "Ow im ded ;-;"
  1741. for _, c in pairs(Char:GetDescendants()) do
  1742. if c:IsA("BasePart") and c.Transparency == 0 then
  1743. c:BreakJoints()
  1744. c.Material = "Glass"
  1745. c.Color = C3(1,0,0)
  1746. c.CanCollide = true
  1747. c.Transparency = 0.3
  1748. if c:FindFirstChildOfClass("SpecialMesh") then
  1749. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1750. end
  1751. if c.Name == "Head" then
  1752. c:ClearAllChildren()
  1753. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1754. end
  1755. if c.ClassName == "MeshPart" then
  1756. c.TextureID = ""
  1757. end
  1758. if c:FindFirstChildOfClass("BodyPosition") then
  1759. c:FindFirstChildOfClass("BodyPosition"):remove()
  1760. end
  1761. if c:FindFirstChildOfClass("ParticleEmitter") then
  1762. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1763. end
  1764. c.Parent = NewCharacter
  1765. c.Name = "DeadPart"
  1766. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1767. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1768. end
  1769. end
  1770. Char:remove()
  1771. Debris:AddItem(NewCharacter,5)
  1772. end
  1773.  
  1774. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1775. local CHILDREN = workspace:GetDescendants()
  1776. for index, CHILD in pairs(CHILDREN) do
  1777. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1778. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1779. if HUM then
  1780. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1781. if TORSO then
  1782. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1783. if BRUTAL == true then
  1784. Kill(CHILD)
  1785. else
  1786. CHILD:BreakJoints()
  1787. end
  1788. end
  1789. end
  1790. end
  1791. end
  1792. end
  1793. end
  1794.  
  1795. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1796. local CHILDREN = workspace:GetDescendants()
  1797. for index, CHILD in pairs(CHILDREN) do
  1798. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1799. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1800. if HUM then
  1801. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1802. if TORSO then
  1803. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1804. if BRUTAL == true then
  1805. Kill(CHILD)
  1806. else
  1807. CHILD:BreakJoints()
  1808. end
  1809. end
  1810. end
  1811. end
  1812. end
  1813. end
  1814. end
  1815.  
  1816. function Banish(Foe)
  1817. if Foe then
  1818. coroutine.resume(coroutine.create(function()
  1819. --if game.Players:FindFirstChild(Foe.Name) then
  1820. table.insert(TOBANISH,Foe.Name)
  1821. printbye(Foe.Name)
  1822. --end
  1823. Foe.Archivable = true
  1824. local CLONE = Foe:Clone()
  1825. Foe:Destroy()
  1826. CLONE.Parent = Effects
  1827. CLONE:BreakJoints()
  1828. local MATERIALS = {"Glass","Neon"}
  1829. for _, c in pairs(CLONE:GetDescendants()) do
  1830. if c:IsA("BasePart") then
  1831. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1832. CreateSound(138271815, c, 10, 1, false)
  1833. end
  1834. c.Anchored = true
  1835. c.Transparency = c.Transparency + 0.2
  1836. c.Material = MATERIALS[MRANDOM(1,2)]
  1837. c.Color = C3(1,0,0)
  1838. if c.ClassName == "MeshPart" then
  1839. c.TextureID = ""
  1840. end
  1841. if c:FindFirstChildOfClass("SpecialMesh") then
  1842. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1843. end
  1844. if c:FindFirstChildOfClass("Decal") then
  1845. c:FindFirstChildOfClass("Decal"):remove()
  1846. end
  1847. c.Name = "Banished"
  1848. c.CanCollide = false
  1849. else
  1850. c:remove()
  1851. end
  1852. end
  1853. local A = false
  1854. for i = 1, 35 do
  1855. if A == false then
  1856. A = true
  1857. elseif A == true then
  1858. A = false
  1859. end
  1860. for _, c in pairs(CLONE:GetDescendants()) do
  1861. if c:IsA("BasePart") then
  1862. c.Anchored = true
  1863. c.Material = MATERIALS[MRANDOM(1,2)]
  1864. c.Transparency = c.Transparency + 0.8/35
  1865. if A == false then
  1866. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1867. elseif A == true then
  1868. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1869. end
  1870. end
  1871. end
  1872. Swait()
  1873. end
  1874. CLONE:remove()
  1875. end))
  1876. end
  1877. end
  1878.  
  1879.  
  1880. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1881. local CHILDREN = workspace:GetDescendants()
  1882. for index, CHILD in pairs(CHILDREN) do
  1883. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1884. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1885. if HUM then
  1886. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1887. if TORSO then
  1888. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1889. if ISBANISH == true then
  1890. Banish(CHILD)
  1891. else
  1892. if ISBANISH == "Gravity" then
  1893. HUM.PlatformStand = true
  1894. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1895. local grav = Instance.new("BodyPosition",TORSO)
  1896. grav.D = 15
  1897. grav.P = 20000
  1898. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1899. grav.position = TORSO.Position
  1900. grav.Name = "V3BanishForce"..Player.Name
  1901. else
  1902. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1903. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1904. end
  1905. else
  1906. HUM.PlatformStand = false
  1907. end
  1908. end
  1909. elseif ISBANISH == "Gravity" then
  1910. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1911. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1912. HUM.PlatformStand = false
  1913. end
  1914. end
  1915. end
  1916. end
  1917. end
  1918. end
  1919. end
  1920.  
  1921. function SpawnSmite(POS)
  1922. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  1923. local EMITPOS = HITPOS
  1924. if HITFLOOR ~= nil then
  1925. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1926. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1927. EMITPOS = HITPOS
  1928. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1929. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1930. EMITPOS = HITPOS
  1931. end
  1932. end
  1933. if HITFLOOR ~= nil then
  1934. ApplyAoE(EMITPOS,10)
  1935. 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})
  1936. 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})
  1937. 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})
  1938. for i = 1, 5 do
  1939. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  1940. 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})
  1941. end
  1942. end
  1943. end
  1944.  
  1945. --//=================================\\
  1946. --|| TRANSFORMATIONS
  1947. --\\=================================//
  1948.  
  1949. function Switch()
  1950. ATTACK = true
  1951. Rooted = true
  1952. if MODE == "GoodCop" then
  1953. CreateSound("649634100", Head, 10, 0.5)
  1954. for i = 0, 3, 0.1 / Animation_Speed do
  1955. Swait()
  1956. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1957. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1958. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1959. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1960. 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)
  1961. 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)
  1962. end
  1963. CreateSound("289842971", RightArm, 10, 1)
  1964. for i = 0, 6, 0.1 / Animation_Speed do
  1965. Swait()
  1966. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 0.5 / Animation_Speed)
  1967. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1968. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1969. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1970. 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)
  1971. 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)
  1972. end
  1973. Weapon.Parent = nil
  1974. Weapon2.Parent = Character
  1975. for i = 0, 1, 0.1 / Animation_Speed do
  1976. Swait()
  1977. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.5 / Animation_Speed)
  1978. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1979. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1.25, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1980. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1981. 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)
  1982. 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)
  1983. end
  1984. for i=0, 0.6, 0.1 / Animation_Speed do
  1985. Swait()
  1986. 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)
  1987. 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)
  1988. if MRANDOM(1,7) == 1 then
  1989. 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)
  1990. end
  1991. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1992. 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)
  1993. 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)
  1994. 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)
  1995. end
  1996. MODE = "BadCop"
  1997. tecks2.Text = "KARMA"
  1998. sick.SoundId = "rbxassetid://1233248685"
  1999. sick.TimePosition = 0
  2000. elseif MODE == "BadCop" then
  2001. CreateSound(147722227, Torso, 4, 1.3, false)
  2002. for i=0, 0.3, 0.1 / Animation_Speed do
  2003. Swait()
  2004. 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)
  2005. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2006. 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)
  2007. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2008. 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)
  2009. 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)
  2010. end
  2011. MODE = "GoodCop"
  2012. Weapon.Parent = Character
  2013. Weapon2.Parent = nil
  2014. tecks2.Text = "You turned my heart into on rush.."
  2015. sick.SoundId = "rbxassetid://733456981"
  2016. sick.TimePosition = 22
  2017. end
  2018. ATTACK = false
  2019. Rooted = false
  2020. end
  2021.  
  2022.  
  2023. --//=================================\\
  2024. --|| ATTACK FUNCTIONS AND STUFF
  2025. --\\=================================//
  2026.  
  2027. function Intro()
  2028. ATTACK = true
  2029. Rooted = true
  2030. repeat
  2031. Swait()
  2032. 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)
  2033. 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)
  2034. 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)
  2035. 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)
  2036. 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)
  2037. 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)
  2038. until sick.TimePosition > 1
  2039. repeat
  2040. Swait()
  2041. 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)
  2042. 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)
  2043. 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)
  2044. 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)
  2045. 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)
  2046. 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)
  2047. until sick.TimePosition > 1
  2048. repeat
  2049. Swait()
  2050. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2051. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2052. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2053. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2054. 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)
  2055. 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)
  2056. until sick.TimePosition > 1
  2057. tecks2.TextTransparency = 0
  2058. for i = 1, 100 do
  2059. Swait()
  2060.  
  2061.  
  2062. end
  2063. TRANSFORMED = true
  2064. ATTACK = false
  2065. Rooted = false
  2066. end
  2067.  
  2068. function Shot1()
  2069. ATTACK = true
  2070. Rooted = false
  2071. for i=0, 0.4, 0.05 / Animation_Speed do
  2072. Swait()
  2073. turnto(Mouse.Hit.p)
  2074. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  2075. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2076. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2077. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2078. 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)
  2079. 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)
  2080. end
  2081. repeat
  2082. for i=0, 0.2, 0.05 / Animation_Speed do
  2083. Swait()
  2084. turnto(Mouse.Hit.p)
  2085. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  2086. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.5 / Animation_Speed)
  2087. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2088. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.6, -0.4) * ANGLES(RAD(170), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2089. 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)
  2090. 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)
  2091. end
  2092. local HIT,POS = CastProperRay(RHole.Position, Mouse.Hit.p, 1000, Character)
  2093. SpawnTrail(RHole.Position,POS)
  2094. if HIT ~= nil then
  2095. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2096. Banish(HIT.Parent)
  2097. end
  2098. end
  2099. 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})
  2100. 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})
  2101. 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})
  2102. 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})
  2103. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2104. for i=0, 0.3, 0.05 / Animation_Speed do
  2105. Swait()
  2106. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  2107. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.25 / Animation_Speed)
  2108. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2109. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.6, -0.4) * ANGLES(RAD(172), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2110. 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)
  2111. 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)
  2112. end
  2113. until KEYHOLD == false
  2114. ATTACK = false
  2115. Rooted = false
  2116. end
  2117.  
  2118. function Shot2()
  2119. ATTACK = true
  2120. Rooted = false
  2121. for i=0, 0.2, 0.05 / Animation_Speed do
  2122. Swait()
  2123. turnto(Mouse.Hit.p)
  2124. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2125. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2126. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2127. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2128. 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)
  2129. 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)
  2130. end
  2131. repeat
  2132. for i=0, 0.2, 0.05 / Animation_Speed do
  2133. Swait()
  2134. turnto(Mouse.Hit.p)
  2135. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2136. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2137. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2138. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2139. 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)
  2140. 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)
  2141. end
  2142. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2143. SpawnTrail(Hole.Position,POS)
  2144. if HIT ~= nil then
  2145. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2146. Kill(HIT.Parent)
  2147. end
  2148. end
  2149. 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})
  2150. 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})
  2151. 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})
  2152. 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})
  2153. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2154. for i=0, 0.2, 0.05 / Animation_Speed do
  2155. Swait()
  2156. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2157. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2158. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2159. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2160. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2161. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2162. end
  2163. until KEYHOLD == false
  2164. ATTACK = false
  2165. Rooted = false
  2166. end
  2167.  
  2168. function ScrewThis()
  2169. ATTACK = true
  2170. Rooted = true
  2171. Weapon.Parent = nil
  2172. sick.Volume = 0
  2173. CreateSound("137473066", Effects, 10, 0.9)
  2174. CreateSound(137473066, Effects, 10, 1, false)
  2175. for i=0, 0.6, 0.1 / Animation_Speed do
  2176. Swait()
  2177. 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)
  2178. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2179. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2180. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2181. 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)
  2182. 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)
  2183. end
  2184. CreateSound(363808674, Effects, 10, 1, false)
  2185. for i=0, 0.6, 0.1 / Animation_Speed do
  2186. Swait()
  2187. 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)
  2188. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2189. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2190. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2191. 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)
  2192. 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)
  2193. end
  2194. CreateSound(363808674, Effects, 10, 1, false)
  2195. for i=0, 0.6, 0.1 / Animation_Speed do
  2196. Swait()
  2197. 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)
  2198. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2199. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2200. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2201. 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)
  2202. 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)
  2203. end
  2204. CreateSound(363808674, Effects, 10, 1, false)
  2205. for i=0, 0.6, 0.1 / Animation_Speed do
  2206. Swait()
  2207. 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)
  2208. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2209. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2210. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2211. 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)
  2212. 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)
  2213. end
  2214. CreateSound(363808674, Effects, 10, 1, false)
  2215. for i=0, 0.6, 0.1 / Animation_Speed do
  2216. Swait()
  2217. 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)
  2218. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2219. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2220. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2221. 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)
  2222. 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)
  2223. end
  2224. CreateSound(363808674, Effects, 10, 1, false)
  2225. for i=0, 0.6, 0.1 / Animation_Speed do
  2226. Swait()
  2227. 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)
  2228. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2229. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2230. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2231. 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)
  2232. 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)
  2233. end
  2234. Weapon.Parent = Character
  2235. sick.Volume = 2
  2236. ATTACK = false
  2237. Rooted = false
  2238. end
  2239.  
  2240. function Taunt()
  2241. ATTACK = true
  2242. Rooted = true
  2243. local L = CreateSound(2162230624,Head,8,1.1,false)
  2244. L.EmitterSize = 25
  2245. for i = 1, 20 do
  2246. Swait()
  2247. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2248. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2249. 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)
  2250. 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)
  2251. 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)
  2252. 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)
  2253. end
  2254. for i = 1, 40 do
  2255. Swait()
  2256. 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)
  2257. 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)
  2258. 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)
  2259. 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)
  2260. 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)
  2261. 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)
  2262. end
  2263. for i = 1, 60 do
  2264. Swait()
  2265. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2266. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2267. 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)
  2268. 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)
  2269. 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)
  2270. 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)
  2271. end
  2272. for i = 1, 60 do
  2273. Swait()
  2274. 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)
  2275. 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)
  2276. 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)
  2277. 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)
  2278. 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)
  2279. 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)
  2280. end
  2281. for i = 1, 90 do
  2282. Swait()
  2283. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2284. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2285. 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)
  2286. 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)
  2287. 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)
  2288. 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)
  2289. end
  2290. for i = 1, 72 do
  2291. Swait()
  2292. 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)
  2293. 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)
  2294. 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)
  2295. 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)
  2296. 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)
  2297. 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)
  2298. end
  2299. for i = 1, 96 do
  2300. Swait()
  2301. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2302. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2303. 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)
  2304. 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)
  2305. 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)
  2306. 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)
  2307. end
  2308. for i = 1, 98 do
  2309. Swait()
  2310. 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)
  2311. 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)
  2312. 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)
  2313. 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)
  2314. 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)
  2315. 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)
  2316. end
  2317. ATTACK = false
  2318. Rooted = false
  2319. end
  2320. --//=================================\\
  2321. --|| ASSIGN THINGS TO KEYS
  2322. --\\=================================//
  2323.  
  2324. function MouseDown(Mouse)
  2325. if ATTACK == false then
  2326.  
  2327. end
  2328. end
  2329.  
  2330. function MouseUp(Mouse)
  2331. HOLD = false
  2332. end
  2333.  
  2334. function KeyDown(Key)
  2335. KEYHOLD = true
  2336. if TRANSFORMED == true and Rooted == false then
  2337. if Key == "f" and ATTACK == false then
  2338. Switch()
  2339. end
  2340.  
  2341.  
  2342. if Key == "e" and ATTACK == false then
  2343. if MODE == "GoodCop" then
  2344. Shot2()
  2345. elseif MODE == "BadCop" then
  2346. Shot1()
  2347. end
  2348. end
  2349.  
  2350. if Key == "t" and ATTACK == false then
  2351. if MODE == "GoodCop" then
  2352. ScrewThis()
  2353. elseif MODE == "BadCop" then
  2354. Taunt()
  2355. end
  2356. end
  2357.  
  2358. end
  2359.  
  2360. if Key == "9" and ATTACK == false then
  2361. CreateSound("135017578", Effects, 5, 1)
  2362. end
  2363. end
  2364.  
  2365. function KeyUp(Key)
  2366. KEYHOLD = false
  2367. end
  2368.  
  2369. Mouse.Button1Down:connect(function(NEWKEY)
  2370. MouseDown(NEWKEY)
  2371. end)
  2372. Mouse.Button1Up:connect(function(NEWKEY)
  2373. MouseUp(NEWKEY)
  2374. end)
  2375. Mouse.KeyDown:connect(function(NEWKEY)
  2376. KeyDown(NEWKEY)
  2377. end)
  2378. Mouse.KeyUp:connect(function(NEWKEY)
  2379. KeyUp(NEWKEY)
  2380. end)
  2381.  
  2382. --//=================================\\
  2383. --\\=================================//
  2384.  
  2385.  
  2386. function unanchor()
  2387. if UNANCHOR == true then
  2388. RootPart.Anchored = false
  2389. end
  2390. for _, c in pairs(Weapon:GetChildren()) do
  2391. if c.ClassName == "Part" then
  2392. c.Anchored = false
  2393. end
  2394. end
  2395. end
  2396.  
  2397.  
  2398. --//=================================\\
  2399. --|| WRAP THE WHOLE SCRIPT UP
  2400. --\\=================================//
  2401.  
  2402. Humanoid.Changed:connect(function(Jump)
  2403. if Jump == "Jump" and (Disable_Jump == true) then
  2404. Humanoid.Jump = false
  2405. end
  2406. end)
  2407.  
  2408. while true do
  2409. Swait()
  2410. script.Parent = WEAPONGUI
  2411. ANIMATE.Parent = nil
  2412. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2413. v:Stop();
  2414. end
  2415. SINE = SINE + CHANGE
  2416. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2417. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2418. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2419. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2420. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2421. 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)
  2422. 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)
  2423. 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)
  2424. 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)
  2425. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2426. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2427. 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)
  2428. 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)
  2429. 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)
  2430. end
  2431. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2432. ANIM = "Jump"
  2433. if ATTACK == false then
  2434. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2435. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2436. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2437. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2438. 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)
  2439. 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)
  2440. end
  2441. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2442. ANIM = "Fall"
  2443. if ATTACK == false then
  2444. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2445. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2446. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2447. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2448. 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)
  2449. 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)
  2450. end
  2451. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2452. ANIM = "Idle"
  2453. if ATTACK == false then
  2454. if MODE == "GoodCop" then
  2455. 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)
  2456. 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)
  2457. 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)
  2458. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2459. 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)
  2460. 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)
  2461. elseif MODE == "BadCop" then
  2462. 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)
  2463. 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)
  2464. if MRANDOM(1,7) == 1 then
  2465. 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)
  2466. end
  2467. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2468. 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)
  2469. 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)
  2470. 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)
  2471. end
  2472. end
  2473. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2474. ANIM = "Walk"
  2475. if ATTACK == false then
  2476. if MODE == "GoodCop" then
  2477. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2478. 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)
  2479. elseif MODE == "BadCop" then
  2480. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2481. 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)
  2482. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65, -0.15) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2483. 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)
  2484. 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)
  2485. 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)
  2486. end
  2487. end
  2488. end
  2489. Humanoid.DisplayDistanceType = "None"
  2490. unanchor()
  2491. tecks2.TextColor3 = BrickColor.Random().Color
  2492. tecks2.TextStrokeColor3 = BrickColor.Random().Color
  2493. Humanoid.MaxHealth = "inf"
  2494. Humanoid.Health = "inf"
  2495. if Rooted == false then
  2496. Disable_Jump = false
  2497. Humanoid.WalkSpeed = Speed
  2498. elseif Rooted == true then
  2499. Disable_Jump = true
  2500. Humanoid.WalkSpeed = 0
  2501. end
  2502. Humanoid.PlatformStand = false
  2503. if INTRO == false and INSTANT == false then
  2504. INTRO = true
  2505. coroutine.resume(coroutine.create(function()
  2506. sick:Play()
  2507. Intro()
  2508. end))
  2509. end
  2510. if INSTANT == true then
  2511. if TRANSFORMED == false then
  2512. sick.TimePosition = 60
  2513. sick:Play()
  2514. end
  2515. TRANSFORMED = true
  2516. end
  2517. script.Parent = PlayerGui
  2518. Character.Parent = workspace
  2519. Humanoid.Parent = Character
  2520. end
  2521. --//=================================\\
  2522. --\\=================================//
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528. --//====================================================\\--
  2529. --|| END OF SCRIPT
  2530. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement