Advertisement
Bendy928443534

Untitled

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