Advertisement
Bendy928443534

Untitled

Sep 4th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 122.25 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 = 100
  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(0,0,10)
  1468. local SKILLFONT = "Arcade"
  1469. local SKILLTEXTSIZE = 10
  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. workspace.ChildAdded:connect(function(instance)
  1480. for BANISH = 1, #TOBANISH do
  1481. if TOBANISH[BANISH] ~= nil then
  1482. if instance.Name == TOBANISH[BANISH] then
  1483. coroutine.resume(coroutine.create(function()
  1484. printbye(instance.Name)
  1485. instance:ClearAllChildren()
  1486. Debris:AddItem(instance,0.0005)
  1487. end))
  1488. end
  1489. end
  1490. end
  1491. end)
  1492. ------------------------------Editing Stuffs-------------------------------------
  1493.  
  1494.  
  1495. --//=================================\\
  1496. --|| WEAPON CREATION 2
  1497. --\\=================================//
  1498. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "New yeller", "Scarf", VT(1,1,1),false)
  1499. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  1500. PRT.Color = C3(1,1,1)
  1501. for i = 1, 35 do
  1502. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  1503. FACE.Color = C3(0,0,0)
  1504. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1505. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1506. end
  1507. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  1508. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  1509. MakeForm(Eye,"Ball")
  1510. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1511.  
  1512. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1513. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  1514. MakeForm(Eye,"Ball")
  1515. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  1516.  
  1517. local top = Instance.new("Shirt")
  1518. top.ShirtTemplate = "rbxassetid://676428254"
  1519. top.Parent = Character
  1520. top.Name = "Cloth"
  1521. local bottom = Instance.new("Pants")
  1522. bottom.PantsTemplate = "rbxassetid://676428351"
  1523. bottom.Parent = Character
  1524. bottom.Name = "Cloth"
  1525.  
  1526.  
  1527. --//=================================\\
  1528. --|| DAMAGING
  1529. --\\=================================//
  1530.  
  1531. function ApplyDamage(Humanoid,Damage,OneShot)
  1532. Damage = Damage * DAMAGEMULTIPLIER
  1533. local DEAD = false
  1534. if Humanoid.Health < 2000 and OneShot == false then
  1535. if Humanoid.Health - Damage > 0 then
  1536. Humanoid.Health = Humanoid.Health - Damage
  1537. else
  1538. Humanoid.Parent:BreakJoints()
  1539. DEAD = true
  1540. end
  1541. else
  1542. DEAD = true
  1543. Humanoid.Parent:BreakJoints()
  1544. end
  1545. if DEAD == true then
  1546. local PARTS = {}
  1547. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  1548. if CHILD:IsA("BasePart") then
  1549. table.insert(PARTS,CHILD)
  1550. end
  1551. end
  1552. coroutine.resume(coroutine.create(function()
  1553. wait(2)
  1554. repeat
  1555. Swait()
  1556. local PIECE = nil
  1557. if MRANDOM(1,5) == 1 then
  1558. for E = 1, #PARTS do
  1559. if MRANDOM(1,5) == 1 then
  1560. PIECE = PARTS[E]
  1561. table.remove(PARTS,E)
  1562. break
  1563. end
  1564. end
  1565. end
  1566. if PIECE ~= nil then
  1567. if PIECE.Name == "Head" then
  1568. 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})
  1569. else
  1570. 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})
  1571. end
  1572. PIECE:remove()
  1573. end
  1574. until #PARTS == 0
  1575. end))
  1576. end
  1577. end
  1578.  
  1579.  
  1580. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1581. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1582. defence.Name = ("HitBy"..Player.Name)
  1583. game:GetService("Debris"):AddItem(defence, 0.001)
  1584. Damage = Damage * DAMAGEMULTIPLIER
  1585. if Humanoid.Health ~= 0 then
  1586. local CritChance = MRANDOM(1,100)
  1587. if Damage > Humanoid.Health then
  1588. Damage = math.ceil(Humanoid.Health)
  1589. if Damage == 0 then
  1590. Damage = 0.1
  1591. end
  1592. end
  1593. Humanoid.Health = Humanoid.Health - Damage
  1594. end
  1595. end
  1596.  
  1597. function ApplyDamage3(Humanoid,Damage,TorsoPart)
  1598. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1599. defence.Name = ("HitBy"..Player.Name)
  1600. game:GetService("Debris"):AddItem(defence, 0.001)
  1601. Damage = Damage * DAMAGEMULTIPLIER
  1602. if Humanoid.Health ~= 0 then
  1603. local CritChance = MRANDOM(1,100)
  1604. if Damage > Humanoid.Health then
  1605. Damage = math.ceil(Humanoid.Health)
  1606. if Damage == 0 then
  1607. Damage = 0.1
  1608. end
  1609. end
  1610. Humanoid.Health = Humanoid.Health - Damage
  1611. end
  1612. end
  1613.  
  1614. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1615. local CHILDREN = workspace:GetDescendants()
  1616. for index, CHILD in pairs(CHILDREN) do
  1617. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1618. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1619. if HUM then
  1620. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1621. if TORSO then
  1622. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1623. if INSTAKILL == true then
  1624. CHILD:BreakJoints()
  1625. else
  1626. local DMG = MRANDOM(MINDMG,MAXDMG)
  1627. ApplyDamage(HUM,DMG,TORSO)
  1628. end
  1629. if FLING > 0 then
  1630. for _, c in pairs(CHILD:GetChildren()) do
  1631. if c:IsA("BasePart") then
  1632. local bv = Instance.new("BodyVelocity")
  1633. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1634. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1635. bv.Parent = c
  1636. Debris:AddItem(bv,0.05)
  1637. end
  1638. end
  1639. end
  1640. end
  1641. end
  1642. end
  1643. end
  1644. end
  1645. end
  1646.  
  1647. function CameraEnshaking(Length, Intensity)
  1648. coroutine.resume(coroutine.create(function()
  1649. local intensity = 1 * Intensity
  1650. local rotM = 0.01 * Intensity
  1651. for i = 0, Length, 0.1 do
  1652. Swait()
  1653. intensity = intensity - 0.05 * Intensity / Length
  1654. rotM = rotM - 5.0E-4 * Intensity / Length
  1655. Humanoid.CameraOffset = Vector3.new(RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)), RAD(MRANDOM(-intensity, intensity)))
  1656. 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)
  1657. end
  1658. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  1659. end))
  1660. end
  1661.  
  1662. function KillChildren(v)
  1663. v:BreakJoints()
  1664. for _, c in pairs(v:GetChildren()) do
  1665. if c:IsA("BasePart") then
  1666. if c.Transparency < 1 then
  1667. if c:FindFirstChildOfClass("Decal") then
  1668. c:FindFirstChildOfClass("Decal"):remove()
  1669. end
  1670. particles(c)
  1671. c.PE.Enabled = true
  1672. c.Parent = Effects
  1673. c.CanCollide = false
  1674. c.Material = "Neon"
  1675. c.Color = C3(1,0,0)
  1676. c.Transparency = 1
  1677. local grav = Instance.new("BodyPosition",c)
  1678. grav.P = 20000
  1679. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1680. grav.position = c.Position + VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))
  1681. grav.Name = "GravityForce"
  1682. coroutine.resume(coroutine.create(function()
  1683. for i = 1, 20 do
  1684. Swait()
  1685. c.Transparency = c.Transparency + 1/20
  1686. end
  1687. c.PE.Enabled = false
  1688. Debris:AddItem(c,2)
  1689. end))
  1690. end
  1691. end
  1692. end
  1693. end
  1694.  
  1695. function ApplyAoE(POSITION,RANGE)
  1696. local CHILDREN = workspace:GetDescendants()
  1697. for index, CHILD in pairs(CHILDREN) do
  1698. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1699. local LISTED = false
  1700. for LIST = 1, #WHITELIST do
  1701. if WHITELIST[LIST] ~= nil then
  1702. if CHILD.Name == WHITELIST[LIST] then
  1703. LISTED = true
  1704. end
  1705. end
  1706. end
  1707. if LISTED == false then
  1708. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1709. if HUM then
  1710. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1711. if TORSO then
  1712. if (TORSO.Position - POSITION).Magnitude <= RANGE+TORSO.Size.Magnitude then
  1713. KillChildren(CHILD)
  1714. end
  1715. end
  1716. end
  1717. end
  1718. end
  1719. end
  1720. end
  1721.  
  1722. function SpawnMeteor(POS,SIZE,ISDEBREE,ORIPOS)
  1723. coroutine.resume(coroutine.create(function()
  1724. local METEOR = IT("Model",Effects)
  1725. METEOR.Name = "Meteorite"
  1726. local CENTER = CreatePart(3, METEOR, "Granite", 0, 0, "Deep orange", "MeteorCenter", VT(5,5,5)*SIZE)
  1727. METEOR.PrimaryPart = CENTER
  1728. local PRT = CreatePart(3, METEOR, "Granite", 0, 0, "Lime green", "MeteorCenter", VT(5,5,5)*SIZE)
  1729. PRT.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1730. for i = 1, 15 do
  1731. local FIRE = CreatePart(3, METEOR, "Neon", 0, 0, "White", "Fire", VT(5.1,1,5.1)*SIZE)
  1732. FIRE.CFrame = CENTER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1733. end
  1734. if ISDEBREE ~= true then
  1735. 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))))
  1736. else
  1737. METEOR:SetPrimaryPartCFrame(CF(ORIPOS,POS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1738. end
  1739. local IMPACT = false
  1740. CreateSound(463593339, CENTER, 10, 0.6)
  1741. if SIZE >= 3.5 then
  1742. for i = 1, MRANDOM(3,7) do
  1743. 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)
  1744. end
  1745. end
  1746. for i = 1, 200 do
  1747. Swait()
  1748. local HITFLOOR,HITPOS = Raycast(CENTER.Position, CF(CENTER.Position,POS).lookVector, 3, Character)
  1749. if HITFLOOR == nil then
  1750. local ORI = CENTER.Orientation
  1751. METEOR:SetPrimaryPartCFrame(CF(HITPOS) * ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))))
  1752. else
  1753. if HITFLOOR.Anchored == true then
  1754. CreateDebreeRing(HITFLOOR,HITPOS,30*SIZE,VT(6,6,6)*SIZE,5)
  1755. CreateFlyingDebree(HITFLOOR,CF(HITPOS),8,VT(4,4,4)*SIZE,5,175)
  1756. end
  1757. IMPACT = true
  1758. break
  1759. end
  1760. end
  1761. if IMPACT == true then
  1762. 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})
  1763. 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})
  1764. 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})
  1765. ApplyAoE(CENTER.Position,30*SIZE)
  1766. end
  1767. METEOR:remove()
  1768. end))
  1769. end
  1770.  
  1771. function ApplyAoE4(POSITION,RANGE,BRUTAL)
  1772. local CHILDREN = workspace:GetDescendants()
  1773. for index, CHILD in pairs(CHILDREN) do
  1774. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1775. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1776. if HUM then
  1777. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1778. if TORSO then
  1779. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1780. if BRUTAL == true then
  1781. Kill(CHILD)
  1782. else
  1783. CHILD:BreakJoints()
  1784. end
  1785. end
  1786. end
  1787. end
  1788. end
  1789. end
  1790. end
  1791.  
  1792. function Kill(Char)
  1793. local NewCharacter = IT("Model",Effects)
  1794. NewCharacter.Name = "Ow im ded ;-;"
  1795. for _, c in pairs(Char:GetDescendants()) do
  1796. if c:IsA("BasePart") and c.Transparency == 0 then
  1797. c:BreakJoints()
  1798. c.Material = "Glass"
  1799. c.Color = C3(1,0,0)
  1800. c.CanCollide = true
  1801. c.Transparency = 0.3
  1802. if c:FindFirstChildOfClass("SpecialMesh") then
  1803. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1804. end
  1805. if c.Name == "Head" then
  1806. c:ClearAllChildren()
  1807. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1808. end
  1809. if c.ClassName == "MeshPart" then
  1810. c.TextureID = ""
  1811. end
  1812. if c:FindFirstChildOfClass("BodyPosition") then
  1813. c:FindFirstChildOfClass("BodyPosition"):remove()
  1814. end
  1815. if c:FindFirstChildOfClass("ParticleEmitter") then
  1816. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1817. end
  1818. c.Parent = NewCharacter
  1819. c.Name = "DeadPart"
  1820. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1821. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1822. end
  1823. end
  1824. Char:remove()
  1825. Debris:AddItem(NewCharacter,5)
  1826. end
  1827.  
  1828. function ApplyAoE(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 ApplyAoE(POSITION,RANGE,BRUTAL)
  1850. local CHILDREN = workspace:GetDescendants()
  1851. for index, CHILD in pairs(CHILDREN) do
  1852. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1853. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1854. if HUM then
  1855. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1856. if TORSO then
  1857. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1858. if BRUTAL == true then
  1859. Kill(CHILD)
  1860. else
  1861. CHILD:BreakJoints()
  1862. end
  1863. end
  1864. end
  1865. end
  1866. end
  1867. end
  1868. end
  1869.  
  1870. function Banish(Foe)
  1871. if Foe then
  1872. coroutine.resume(coroutine.create(function()
  1873. --if game.Players:FindFirstChild(Foe.Name) then
  1874. table.insert(TOBANISH,Foe.Name)
  1875. printbye(Foe.Name)
  1876. --end
  1877. Foe.Archivable = true
  1878. local CLONE = Foe:Clone()
  1879. Foe:Destroy()
  1880. CLONE.Parent = Effects
  1881. CLONE:BreakJoints()
  1882. local MATERIALS = {"Glass","Neon"}
  1883. for _, c in pairs(CLONE:GetDescendants()) do
  1884. if c:IsA("BasePart") then
  1885. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1886. CreateSound(138271815, c, 10, 1, false)
  1887. end
  1888. c.Anchored = true
  1889. c.Transparency = c.Transparency + 0.2
  1890. c.Material = MATERIALS[MRANDOM(1,2)]
  1891. c.Color = C3(1,0,0)
  1892. if c.ClassName == "MeshPart" then
  1893. c.TextureID = ""
  1894. end
  1895. if c:FindFirstChildOfClass("SpecialMesh") then
  1896. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1897. end
  1898. if c:FindFirstChildOfClass("Decal") then
  1899. c:FindFirstChildOfClass("Decal"):remove()
  1900. end
  1901. c.Name = "Banished"
  1902. c.CanCollide = false
  1903. else
  1904. c:remove()
  1905. end
  1906. end
  1907. local A = false
  1908. for i = 1, 35 do
  1909. if A == false then
  1910. A = true
  1911. elseif A == true then
  1912. A = false
  1913. end
  1914. for _, c in pairs(CLONE:GetDescendants()) do
  1915. if c:IsA("BasePart") then
  1916. c.Anchored = true
  1917. c.Material = MATERIALS[MRANDOM(1,2)]
  1918. c.Transparency = c.Transparency + 0.8/35
  1919. if A == false then
  1920. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1921. elseif A == true then
  1922. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1923. end
  1924. end
  1925. end
  1926. Swait()
  1927. end
  1928. CLONE:remove()
  1929. end))
  1930. end
  1931. end
  1932.  
  1933.  
  1934. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1935. local CHILDREN = workspace:GetDescendants()
  1936. for index, CHILD in pairs(CHILDREN) do
  1937. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1938. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1939. if HUM then
  1940. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1941. if TORSO then
  1942. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1943. if ISBANISH == true then
  1944. Banish(CHILD)
  1945. else
  1946. if ISBANISH == "Gravity" then
  1947. HUM.PlatformStand = true
  1948. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1949. local grav = Instance.new("BodyPosition",TORSO)
  1950. grav.D = 15
  1951. grav.P = 20000
  1952. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1953. grav.position = TORSO.Position
  1954. grav.Name = "V3BanishForce"..Player.Name
  1955. else
  1956. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1957. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1958. end
  1959. else
  1960. HUM.PlatformStand = false
  1961. end
  1962. end
  1963. elseif ISBANISH == "Gravity" then
  1964. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1965. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1966. HUM.PlatformStand = false
  1967. end
  1968. end
  1969. end
  1970. end
  1971. end
  1972. end
  1973. end
  1974.  
  1975. function SpawnSmite(POS)
  1976. local HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, Character)
  1977. local EMITPOS = HITPOS
  1978. if HITFLOOR ~= nil then
  1979. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1980. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent)
  1981. EMITPOS = HITPOS
  1982. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1983. HITFLOOR,HITPOS = Raycast(POS+VT(0,1,0), (CF(POS, POS + VT(0, -1, 0))).lookVector, 100, HITFLOOR.Parent.Parent)
  1984. EMITPOS = HITPOS
  1985. end
  1986. end
  1987. if HITFLOOR ~= nil then
  1988. ApplyAoE(EMITPOS,10)
  1989. 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})
  1990. 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})
  1991. 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})
  1992. for i = 1, 5 do
  1993. local TOPOS = CF(EMITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,12)
  1994. 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})
  1995. end
  1996. end
  1997. end
  1998.  
  1999. --//=================================\\
  2000. --|| TRANSFORMATIONS
  2001. --\\=================================//
  2002.  
  2003. function Switch()
  2004. ATTACK = true
  2005. Rooted = true
  2006. if MODE == "GoodCop" then
  2007. CreateSound("649634100", Head, 10, 0.5)
  2008. for i = 0, 3, 0.1 / Animation_Speed do
  2009. Swait()
  2010. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2011. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2012. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2013. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2014. 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)
  2015. 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)
  2016. end
  2017. CreateSound("289842971", RightArm, 10, 1)
  2018. for i = 0, 6, 0.1 / Animation_Speed do
  2019. Swait()
  2020. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(-5), RAD(0)), 0.5 / Animation_Speed)
  2021. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2022. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(8)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2023. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2024. 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)
  2025. 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)
  2026. end
  2027. Weapon.Parent = nil
  2028. Weapon2.Parent = Character
  2029. for i = 0, 1, 0.1 / Animation_Speed do
  2030. Swait()
  2031. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.5 / Animation_Speed)
  2032. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2033. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1.25, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2034. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2035. 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)
  2036. 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)
  2037. end
  2038. for i=0, 0.6, 0.1 / Animation_Speed do
  2039. Swait()
  2040. 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)
  2041. 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)
  2042. if MRANDOM(1,7) == 1 then
  2043. 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)
  2044. end
  2045. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2046. 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)
  2047. 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)
  2048. 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)
  2049. end
  2050. MODE = "BadCop"
  2051. tecks2.Text = "KARMA"
  2052. sick.SoundId = "rbxassetid://1233248685"
  2053. sick.TimePosition = 0
  2054. elseif MODE == "BadCop" then
  2055. CreateSound(147722227, Torso, 4, 1.3, false)
  2056. for i=0, 0.3, 0.1 / Animation_Speed do
  2057. Swait()
  2058. 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)
  2059. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2060. 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)
  2061. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2062. 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)
  2063. 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)
  2064. end
  2065. MODE = "GoodCop"
  2066. Weapon.Parent = Character
  2067. Weapon2.Parent = nil
  2068. tecks2.Text = "You turned my heart into on rush.."
  2069. sick.SoundId = "rbxassetid://733456981"
  2070. sick.TimePosition = 22
  2071. end
  2072. ATTACK = false
  2073. Rooted = false
  2074. end
  2075.  
  2076.  
  2077. --//=================================\\
  2078. --|| ATTACK FUNCTIONS AND STUFF
  2079. --\\=================================//
  2080.  
  2081. function Intro()
  2082. ATTACK = true
  2083. Rooted = true
  2084. repeat
  2085. Swait()
  2086. 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)
  2087. 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)
  2088. 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)
  2089. 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)
  2090. 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)
  2091. 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)
  2092. until sick.TimePosition > 1
  2093. repeat
  2094. Swait()
  2095. 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)
  2096. 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)
  2097. 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)
  2098. 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)
  2099. 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)
  2100. 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)
  2101. until sick.TimePosition > 1
  2102. repeat
  2103. Swait()
  2104. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2105. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2106. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2107. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2108. 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)
  2109. 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)
  2110. until sick.TimePosition > 1
  2111. tecks2.TextTransparency = 0
  2112. for i = 1, 100 do
  2113. Swait()
  2114.  
  2115.  
  2116. end
  2117. TRANSFORMED = true
  2118. ATTACK = false
  2119. Rooted = false
  2120. end
  2121.  
  2122. function Shot1()
  2123. ATTACK = true
  2124. Rooted = false
  2125. for i=0, 0.4, 0.05 / Animation_Speed do
  2126. Swait()
  2127. turnto(Mouse.Hit.p)
  2128. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  2129. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2130. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2131. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, -0.4) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2132. 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)
  2133. 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)
  2134. end
  2135. repeat
  2136. for i=0, 0.2, 0.05 / Animation_Speed do
  2137. Swait()
  2138. turnto(Mouse.Hit.p)
  2139. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  2140. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.5 / Animation_Speed)
  2141. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2142. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.6, -0.4) * ANGLES(RAD(170), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2143. 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)
  2144. 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)
  2145. end
  2146. local HIT,POS = CastProperRay(RHole.Position, Mouse.Hit.p, 1000, Character)
  2147. SpawnTrail(RHole.Position,POS)
  2148. if HIT ~= nil then
  2149. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2150. Banish(HIT.Parent)
  2151. end
  2152. end
  2153. 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})
  2154. 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})
  2155. 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})
  2156. 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})
  2157. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2158. for i=0, 0.3, 0.05 / Animation_Speed do
  2159. Swait()
  2160. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(60)), 0.5 / Animation_Speed)
  2161. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)), 0.25 / Animation_Speed)
  2162. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(60)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2163. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.6, -0.4) * ANGLES(RAD(172), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2164. 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)
  2165. 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)
  2166. end
  2167. until KEYHOLD == false
  2168. ATTACK = false
  2169. Rooted = false
  2170. end
  2171.  
  2172. function Shot2()
  2173. ATTACK = true
  2174. Rooted = false
  2175. for i=0, 0.2, 0.05 / Animation_Speed do
  2176. Swait()
  2177. turnto(Mouse.Hit.p)
  2178. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2179. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2180. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2181. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2182. 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)
  2183. 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)
  2184. end
  2185. repeat
  2186. for i=0, 0.2, 0.05 / Animation_Speed do
  2187. Swait()
  2188. turnto(Mouse.Hit.p)
  2189. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2190. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2191. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2192. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2193. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2194. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2195. end
  2196. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2197. SpawnTrail(Hole.Position,POS)
  2198. if HIT ~= nil then
  2199. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2200. Kill(HIT.Parent)
  2201. end
  2202. end
  2203. 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})
  2204. 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})
  2205. 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})
  2206. 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})
  2207. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2208. for i=0, 0.2, 0.05 / Animation_Speed do
  2209. Swait()
  2210. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2211. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2212. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2213. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2214. 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)
  2215. 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)
  2216. end
  2217. until KEYHOLD == false
  2218. ATTACK = false
  2219. Rooted = false
  2220. end
  2221.  
  2222. function ScrewThis()
  2223. ATTACK = true
  2224. Rooted = true
  2225. Weapon.Parent = nil
  2226. sick.Volume = 0
  2227. CreateSound("137473066", Effects, 10, 0.9)
  2228. CreateSound(137473066, Effects, 10, 1, false)
  2229. for i=0, 0.6, 0.1 / Animation_Speed do
  2230. Swait()
  2231. 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)
  2232. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2233. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2234. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2235. 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)
  2236. 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)
  2237. end
  2238. CreateSound(363808674, Effects, 10, 1, false)
  2239. for i=0, 0.6, 0.1 / Animation_Speed do
  2240. Swait()
  2241. 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)
  2242. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2243. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2244. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2245. 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)
  2246. 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)
  2247. end
  2248. CreateSound(363808674, Effects, 10, 1, false)
  2249. for i=0, 0.6, 0.1 / Animation_Speed do
  2250. Swait()
  2251. 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)
  2252. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2253. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2254. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2255. 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)
  2256. 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)
  2257. end
  2258. CreateSound(363808674, Effects, 10, 1, false)
  2259. for i=0, 0.6, 0.1 / Animation_Speed do
  2260. Swait()
  2261. 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)
  2262. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2263. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2264. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2265. 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)
  2266. 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)
  2267. end
  2268. CreateSound(363808674, Effects, 10, 1, false)
  2269. for i=0, 0.6, 0.1 / Animation_Speed do
  2270. Swait()
  2271. 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)
  2272. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  2273. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2274. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2275. 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)
  2276. 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)
  2277. end
  2278. CreateSound(363808674, Effects, 10, 1, false)
  2279. for i=0, 0.6, 0.1 / Animation_Speed do
  2280. Swait()
  2281. 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)
  2282. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  2283. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2284. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2285. 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)
  2286. 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)
  2287. end
  2288. Weapon.Parent = Character
  2289. sick.Volume = 2
  2290. ATTACK = false
  2291. Rooted = false
  2292. end
  2293.  
  2294. function Taunt()
  2295. ATTACK = true
  2296. Rooted = true
  2297. local L = CreateSound(2162230624,Head,8,1.1,false)
  2298. L.EmitterSize = 25
  2299. for i = 1, 20 do
  2300. Swait()
  2301. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2302. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2303. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-110)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2304. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.3, -0.35) * ANGLES(RAD(0), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2305. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2306. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2307. end
  2308. for i = 1, 40 do
  2309. Swait()
  2310. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.17, -0.075 + 0.1 * SIN(i / 3)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2311. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3), RAD(15 * SIN(i / 1.5)), RAD(0)), 1 / Animation_Speed)
  2312. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(-5), RAD(120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2313. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.6 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(15), RAD(5), RAD(-120)) * ANGLES(RAD(0), RAD(180), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2314. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2315. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * SIN(i / 3), 0) * ANGLES(RAD(5), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2316. end
  2317. for i = 1, 60 do
  2318. Swait()
  2319. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2320. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2321. 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)
  2322. 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)
  2323. 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)
  2324. 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)
  2325. end
  2326. for i = 1, 60 do
  2327. Swait()
  2328. 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)
  2329. 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)
  2330. 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)
  2331. 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)
  2332. 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)
  2333. 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)
  2334. end
  2335. for i = 1, 90 do
  2336. Swait()
  2337. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2338. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2339. 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)
  2340. 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)
  2341. 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)
  2342. 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)
  2343. end
  2344. for i = 1, 72 do
  2345. Swait()
  2346. 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)
  2347. 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)
  2348. 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)
  2349. 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)
  2350. 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)
  2351. 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)
  2352. end
  2353. for i = 1, 96 do
  2354. Swait()
  2355. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.1, -0.1) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
  2356. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2357. 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)
  2358. 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)
  2359. 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)
  2360. 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)
  2361. end
  2362. for i = 1, 98 do
  2363. Swait()
  2364. 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)
  2365. 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)
  2366. 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)
  2367. 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)
  2368. 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)
  2369. 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)
  2370. end
  2371. ATTACK = false
  2372. Rooted = false
  2373. end
  2374. --//=================================\\
  2375. --|| ASSIGN THINGS TO KEYS
  2376. --\\=================================//
  2377.  
  2378. function MouseDown(Mouse)
  2379. if ATTACK == false then
  2380.  
  2381. end
  2382. end
  2383.  
  2384. function MouseUp(Mouse)
  2385. HOLD = false
  2386. end
  2387.  
  2388. function KeyDown(Key)
  2389. KEYHOLD = true
  2390. if TRANSFORMED == true and Rooted == false then
  2391. if Key == "f" and ATTACK == false then
  2392. Switch()
  2393. end
  2394.  
  2395.  
  2396. if Key == "e" and ATTACK == false then
  2397. if MODE == "GoodCop" then
  2398. Shot2()
  2399. elseif MODE == "BadCop" then
  2400. Shot1()
  2401. end
  2402. end
  2403.  
  2404. if Key == "t" and ATTACK == false then
  2405. if MODE == "GoodCop" then
  2406. ScrewThis()
  2407. elseif MODE == "BadCop" then
  2408. Taunt()
  2409. end
  2410. end
  2411.  
  2412. end
  2413.  
  2414. if Key == "9" and ATTACK == false then
  2415. CreateSound("135017578", Effects, 5, 1)
  2416. end
  2417. end
  2418.  
  2419. function KeyUp(Key)
  2420. KEYHOLD = false
  2421. end
  2422.  
  2423. Mouse.Button1Down:connect(function(NEWKEY)
  2424. MouseDown(NEWKEY)
  2425. end)
  2426. Mouse.Button1Up:connect(function(NEWKEY)
  2427. MouseUp(NEWKEY)
  2428. end)
  2429. Mouse.KeyDown:connect(function(NEWKEY)
  2430. KeyDown(NEWKEY)
  2431. end)
  2432. Mouse.KeyUp:connect(function(NEWKEY)
  2433. KeyUp(NEWKEY)
  2434. end)
  2435.  
  2436. --//=================================\\
  2437. --\\=================================//
  2438.  
  2439.  
  2440. function unanchor()
  2441. if UNANCHOR == true then
  2442. RootPart.Anchored = false
  2443. end
  2444. for _, c in pairs(Weapon:GetChildren()) do
  2445. if c.ClassName == "Part" then
  2446. c.Anchored = false
  2447. end
  2448. end
  2449. end
  2450.  
  2451.  
  2452. --//=================================\\
  2453. --|| WRAP THE WHOLE SCRIPT UP
  2454. --\\=================================//
  2455.  
  2456. Humanoid.Changed:connect(function(Jump)
  2457. if Jump == "Jump" and (Disable_Jump == true) then
  2458. Humanoid.Jump = false
  2459. end
  2460. end)
  2461.  
  2462. while true do
  2463. Swait()
  2464. script.Parent = WEAPONGUI
  2465. ANIMATE.Parent = nil
  2466. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2467. v:Stop();
  2468. end
  2469. SINE = SINE + CHANGE
  2470. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2471. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2472. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2473. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2474. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2475. 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)
  2476. 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)
  2477. 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)
  2478. 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)
  2479. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2480. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2481. 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)
  2482. 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)
  2483. 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)
  2484. end
  2485. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2486. ANIM = "Jump"
  2487. if ATTACK == false then
  2488. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2489. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2490. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2491. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2492. 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)
  2493. 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)
  2494. end
  2495. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2496. ANIM = "Fall"
  2497. if ATTACK == false then
  2498. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2499. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2500. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2501. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2502. 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)
  2503. 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)
  2504. end
  2505. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2506. ANIM = "Idle"
  2507. if ATTACK == false then
  2508. if MODE == "GoodCop" then
  2509. 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)
  2510. 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)
  2511. 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)
  2512. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(-40), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2513. 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)
  2514. 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)
  2515. elseif MODE == "BadCop" then
  2516. 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)
  2517. 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)
  2518. if MRANDOM(1,7) == 1 then
  2519. 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)
  2520. end
  2521. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2522. 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)
  2523. 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)
  2524. 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)
  2525. end
  2526. end
  2527. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2528. ANIM = "Walk"
  2529. if ATTACK == false then
  2530. if MODE == "GoodCop" then
  2531. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2532. 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)
  2533. elseif MODE == "BadCop" then
  2534. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2535. 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)
  2536. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65, -0.15) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2537. 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)
  2538. 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)
  2539. 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)
  2540. end
  2541. end
  2542. end
  2543. Humanoid.DisplayDistanceType = "None"
  2544. unanchor()
  2545. tecks2.TextColor3 = BrickColor.Random().Color
  2546. tecks2.TextStrokeColor3 = BrickColor.Random().Color
  2547. Humanoid.MaxHealth = "inf"
  2548. Humanoid.Health = "inf"
  2549. if Rooted == false then
  2550. Disable_Jump = false
  2551. Humanoid.WalkSpeed = Speed
  2552. elseif Rooted == true then
  2553. Disable_Jump = true
  2554. Humanoid.WalkSpeed = 0
  2555. end
  2556. Humanoid.PlatformStand = false
  2557. if INTRO == false and INSTANT == false then
  2558. INTRO = true
  2559. coroutine.resume(coroutine.create(function()
  2560. sick:Play()
  2561. Intro()
  2562. end))
  2563. end
  2564. if INSTANT == true then
  2565. if TRANSFORMED == false then
  2566. sick.TimePosition = 60
  2567. sick:Play()
  2568. end
  2569. TRANSFORMED = true
  2570. end
  2571. script.Parent = PlayerGui
  2572. Character.Parent = workspace
  2573. Humanoid.Parent = Character
  2574. end
  2575. --//=================================\\
  2576. --\\=================================//
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582. --//====================================================\\--
  2583. --|| END OF SCRIPT
  2584. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement