Advertisement
Bendy928443534

Untitled

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