Advertisement
Bendy928443534

Untitled

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