Advertisement
Bendy928443534

Untitled

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