Advertisement
Bendy928443534

Untitled

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