Advertisement
Christoffer07700Extr

my pain edit

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