Advertisement
Bendy928443534

Untitled

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