Advertisement
Bendy928443534

Untitled

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