zombieslayerwtf

Rainbow Shovel [E:Epic n00b]

Apr 4th, 2018
455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.78 KB | None | 0 0
  1. print("Made by SezHu for Void's Script Builder And Leak also edited by zombieslayerwtf.")
  2.  
  3.  
  4.  
  5. Effects = {}
  6. local s = Instance.new("Sound")
  7.  
  8. s.Name = "Sound"
  9. s.SoundId = "http://www.roblox.com/asset/?id=261558095"
  10. s.Volume = 5
  11. s.Looped = true
  12. s.archivable = true
  13.  
  14. s.Parent = game.Workspace
  15.  
  16. wait(3)
  17.  
  18. s:play()
  19. local Player = game.Players.localPlayer
  20. local Character = Player.Character
  21. local Humanoid = Character.Humanoid
  22. Humanoid.WalkSpeed = 100
  23. local Mouse = Player:GetMouse()
  24. local LeftArm = Character["Left Arm"]
  25. local RightArm = Character["Right Arm"]
  26. local LeftLeg = Character["Left Leg"]
  27. local RightLeg = Character["Right Leg"]
  28. local Head = Character.Head
  29. local Torso = Character.Torso
  30. local Camera = game.Workspace.CurrentCamera
  31. local RootPart = Character.HumanoidRootPart
  32. local RootJoint = RootPart.RootJoint
  33. local attack = false
  34. local Anim = "Idle"
  35. local attacktype = 1
  36. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  37. local velocity = RootPart.Velocity.y
  38. local sine = 0
  39. local change = 1
  40. local Create = LoadLibrary("RbxUtility").Create
  41. Humanoid.Health = math.huge
  42. Instance.new("ForceField", Character).Visible = false
  43. hit = nil
  44. oof = false
  45. for y, t in pairs(Character:GetChildren()) do
  46. end
  47. DHandle = Instance.new("Part")
  48. DMesh = Instance.new("SpecialMesh")
  49. DWeld = Instance.new("Weld")
  50. DHandle.Parent = Character
  51. DHandle.Name = "Handle"
  52. DHandle.CanCollide = false
  53. DHandle.Locked = true
  54. DHandle.Size = Vector3.new(1.93, 1.77, 1.6)
  55. DMesh.Parent = DHandle
  56. DMesh.Scale = DMesh.Scale
  57. DWeld.Parent = DHandle
  58. DWeld.Name = "no"
  59. DWeld.Part0 = Head
  60. DWeld.Part1 = DHandle
  61. DWeld.C0 = CFrame.new(0, 0.4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-1), 0, 0)
  62. VertexColor = Vector3.new(1, 1, 1)
  63. DHandle.Transparency = 0
  64. DMesh.MeshId = "http://www.roblox.com/asset/?id=0"
  65. DMesh.TextureId = "http://www.roblox.com/asset/?id=0"
  66. local m = Create("Model")({
  67. Parent = Character,
  68. Name = "WeaponModel"
  69. })
  70. Humanoid.Animator.Parent = nil
  71. Character.Animate.Parent = nil
  72. local function newMotor(part0, part1, c0, c1)
  73. local w = Create("Motor")({
  74. Parent = part0,
  75. Part0 = part0,
  76. Part1 = part1,
  77. C0 = c0,
  78. C1 = c1
  79. })
  80. return w
  81. end
  82. function clerp(a, b, t)
  83. return a:lerp(b, t)
  84. end
  85. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  86. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  87. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  88. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  89. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  90. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  91. RootJoint.C1 = CFrame.new(0, 0, 0)
  92. RootJoint.C0 = CFrame.new(0, 0, 0)
  93. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  94. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  95. local rarmc1 = RW.C1
  96. local larmc1 = LW.C1
  97. local rlegc1 = RH.C1
  98. local llegc1 = LH.C1
  99. local resetc1 = false
  100. function PlayAnimationFromTable(table, speed, bool)
  101. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  102. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  103. RW.C0 = clerp(RW.C0, table[3], speed)
  104. LW.C0 = clerp(LW.C0, table[4], speed)
  105. RH.C0 = clerp(RH.C0, table[5], speed)
  106. LH.C0 = clerp(LH.C0, table[6], speed)
  107. if bool == true and resetc1 == false then
  108. resetc1 = true
  109. RootJoint.C1 = RootJoint.C1
  110. Torso.Neck.C1 = Torso.Neck.C1
  111. RW.C1 = rarmc1
  112. LW.C1 = larmc1
  113. RH.C1 = rlegc1
  114. LH.C1 = llegc1
  115. end
  116. end
  117. ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
  118. script:WaitForChild("Heartbeat")
  119. frame = 0.002
  120. tf = 0
  121. allowframeloss = false
  122. tossremainder = false
  123. lastframe = tick()
  124. script.Heartbeat:Fire()
  125. game:GetService("RunService").Heartbeat:connect(function(s, p)
  126. tf = tf + s
  127. if tf >= frame then
  128. if allowframeloss then
  129. script.Heartbeat:Fire()
  130. lastframe = tick()
  131. else
  132. for i = 1, math.floor(tf / frame) do
  133. script.Heartbeat:Fire()
  134. end
  135. lastframe = tick()
  136. end
  137. if tossremainder then
  138. tf = 0
  139. else
  140. tf = tf - frame * math.floor(tf / frame)
  141. end
  142. end
  143. end)
  144. function swait(num)
  145. if num == 0 or num == nil then
  146. ArtificialHB.Event:wait()
  147. else
  148. for i = 0, num do
  149. ArtificialHB.Event:wait()
  150. end
  151. end
  152. end
  153. function RemoveOutlines(part)
  154. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  155. end
  156. CFuncs = {
  157. Part = {
  158. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  159. local Part = Create("Part")({
  160. Parent = Parent,
  161. Reflectance = Reflectance,
  162. Transparency = Transparency,
  163. CanCollide = false,
  164. Locked = true,
  165. BrickColor = BrickColor.new(tostring(BColor)),
  166. Name = Name,
  167. Size = Size,
  168. Material = Material
  169. })
  170. RemoveOutlines(Part)
  171. if Size == Vector3.new() then
  172. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  173. else
  174. Part.Size = Size
  175. end
  176. return Part
  177. end
  178. },
  179. Mesh = {
  180. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  181. local Msh = Create(Mesh)({
  182. Parent = Part,
  183. Offset = OffSet,
  184. Scale = Scale
  185. })
  186. if Mesh == "SpecialMesh" then
  187. Msh.MeshType = MeshType
  188. Msh.MeshId = MeshId
  189. end
  190. return Msh
  191. end
  192. },
  193. Weld = {
  194. Create = function(Parent, Part0, Part1, C0, C1)
  195. local Weld = Create("Weld")({
  196. Parent = Parent,
  197. Part0 = Part0,
  198. Part1 = Part1,
  199. C0 = C0,
  200. C1 = C1
  201. })
  202. return Weld
  203. end
  204. },
  205. Sound = {
  206. Create = function(id, par, vol, pit)
  207. local Sound = Create("Sound")({
  208. Volume = vol,
  209. Pitch = pit or 1,
  210. SoundId = "rbxassetid://" .. id,
  211. Parent = par or workspace
  212. })
  213. Sound:play()
  214.  
  215. end
  216. },
  217. Decal = {
  218. Create = function(Color, Texture, Transparency, Name, Parent)
  219. local Decal = Create("Decal")({
  220. Color3 = Color,
  221. Texture = "rbxassetid://" .. Texture,
  222. Transparency = Transparency,
  223. Name = Name,
  224. Parent = Parent
  225. })
  226. return Decal
  227. end
  228. },
  229. BillboardGui = {
  230. Create = function(Parent, Image, Position, Size)
  231. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  232. BillPar.CFrame = CFrame.new(Position)
  233. local Bill = Create("BillboardGui")({
  234. Parent = BillPar,
  235. Adornee = BillPar,
  236. Size = UDim2.new(1, 0, 1, 0),
  237. SizeOffset = Vector2.new(Size, Size)
  238. })
  239. local d = Create("ImageLabel", Bill)({
  240. Parent = Bill,
  241. BackgroundTransparency = 1,
  242. Size = UDim2.new(1, 0, 1, 0),
  243. Image = "rbxassetid://" .. Image
  244. })
  245. return BillPar
  246. end
  247. },
  248. ParticleEmitter = {
  249. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  250. local Particle = Create("ParticleEmitter")({
  251. Parent = Parent,
  252. Color = ColorSequence.new(Color1, Color2),
  253. LightEmission = LightEmission,
  254. Size = Size,
  255. Texture = Texture,
  256. Transparency = Transparency,
  257. ZOffset = ZOffset,
  258. Acceleration = Accel,
  259. Drag = Drag,
  260. LockedToPart = LockedToPart,
  261. VelocityInheritance = VelocityInheritance,
  262. EmissionDirection = EmissionDirection,
  263. Enabled = Enabled,
  264. Lifetime = LifeTime,
  265. Rate = Rate,
  266. Rotation = Rotation,
  267. RotSpeed = RotSpeed,
  268. Speed = Speed,
  269. VelocitySpread = VelocitySpread
  270. })
  271. return Particle
  272. end
  273. },
  274. CreateTemplate = {}
  275. }
  276. function rayCast(Position, Direction, Range, Ignore)
  277. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  278. end
  279. function FindNearestTorso(Position, Distance, SinglePlayer)
  280. if SinglePlayer then
  281. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  282. end
  283. local List = {}
  284. for i, v in pairs(workspace:GetChildren()) do
  285. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and Distance >= (v.Torso.Position - Position).magnitude then
  286. table.insert(List, v)
  287. end
  288. end
  289. return List
  290. end
  291. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  292. if hit.Parent == nil then
  293. return
  294. end
  295. local h = hit.Parent:FindFirstChild("Part")
  296. for _, v in pairs(hit.Parent:children()) do
  297. if v:IsA("Part") then
  298. h = v
  299. end
  300. end
  301. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent.Name ~= "Base" and hit ~= nil then
  302. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  303. return
  304. end
  305. local c = Create("ObjectValue")({
  306. Name = "creator",
  307. Value = game:service("Players").LocalPlayer,
  308. Parent = h
  309. })
  310. game:GetService("Debris"):AddItem(c, 0.5)
  311. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  312. local Damage = math.random(minim, maxim)
  313. local blocked = false
  314. local block = hit.Parent:findFirstChild("Block")
  315. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  316. blocked = true
  317. block.Value = block.Value - 1
  318. print(block.Value)
  319. end
  320. if Type == "Knockdown" then
  321. local hum = hit.Parent.Humanoid
  322. hum.PlatformStand = true
  323. coroutine.resume(coroutine.create(function(HHumanoid)
  324. swait(1)
  325. HHumanoid.PlatformStand = false
  326. end), hum)
  327. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  328. local bodvol = Create("BodyVelocity")({
  329. velocity = angle * knockback,
  330. P = 5000,
  331. maxForce = Vector3.new(8000, 8000, 8000),
  332. Parent = hit
  333. })
  334. local rl = Create("BodyAngularVelocity")({
  335. P = 3000,
  336. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  337. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  338. Parent = hit
  339. })
  340. game:GetService("Debris"):AddItem(bodvol, 0.5)
  341. game:GetService("Debris"):AddItem(rl, 0.5)
  342. elseif Type == "Normal" then
  343. local vp = Create("BodyVelocity")({
  344. P = 500,
  345. maxForce = Vector3.new(math.huge, 0, math.huge),
  346. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  347. })
  348. if knockback > 0 then
  349. vp.Parent = hit
  350. hit.Parent = workspace
  351. hit.Anchored = false
  352. hit.CanCollide = false
  353. hit:BreakJoints()
  354. end
  355. game:GetService("Debris"):AddItem(vp, 0.5)
  356. elseif Type == "Up" then
  357. local bodyVelocity = Create("BodyVelocity")({
  358. velocity = Vector3.new(0, 20, 0),
  359. P = 5000,
  360. maxForce = Vector3.new(8000, 8000, 8000),
  361. Parent = hit
  362. })
  363. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  364. elseif Type == "DarkUp" then
  365. coroutine.resume(coroutine.create(function()
  366. for i = 0, 1, 0.1 do
  367. swait()
  368. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  369. end
  370. end))
  371. local bodyVelocity = Create("BodyVelocity")({
  372. velocity = Vector3.new(0, 20, 0),
  373. P = 5000,
  374. maxForce = Vector3.new(8000, 8000, 8000),
  375. Parent = hit
  376. })
  377. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  378. elseif Type == "Snare" then
  379. local bp = Create("BodyPosition")({
  380. P = 2000,
  381. D = 100,
  382. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  383. position = hit.Parent.Torso.Position,
  384. Parent = hit.Parent.Torso
  385. })
  386. game:GetService("Debris"):AddItem(bp, 1)
  387. elseif Type == "Freeze" then
  388. local BodPos = Create("BodyPosition")({
  389. P = 50000,
  390. D = 1000,
  391. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  392. position = hit.Parent.Torso.Position,
  393. Parent = hit.Parent.Torso
  394. })
  395. local BodGy = Create("BodyGyro")({
  396. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  397. P = 20000,
  398. Parent = hit.Parent.Torso,
  399. cframe = hit.Parent.Torso.CFrame
  400. })
  401. hit.Parent.Torso.Anchored = true
  402. coroutine.resume(coroutine.create(function(Part)
  403. swait(1.5)
  404. Part.Anchored = false
  405. end), hit.Parent.Torso)
  406. game:GetService("Debris"):AddItem(BodPos, 3)
  407. game:GetService("Debris"):AddItem(BodGy, 3)
  408. end
  409. local debounce = Create("BoolValue")({
  410. Name = "DebounceHit",
  411. Parent = hit.Parent,
  412. Value = true
  413. })
  414. game:GetService("Debris"):AddItem(debounce, Delay)
  415. c = Create("ObjectValue")({
  416. Name = "creator",
  417. Value = Player,
  418. Parent = h
  419. })
  420. game:GetService("Debris"):AddItem(c, 0.5)
  421. end
  422. end
  423. function ShowDamage(Pos, Text, Time, Color)
  424. local Rate = 0.03333333333333333
  425. local Pos = Pos or Vector3.new(0, 0, 0)
  426. local Text = Text or ""
  427. local Time = Time or 2
  428. local Color = Color or Color3.new(1, 0, 1)
  429. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  430. EffectPart.Anchored = true
  431. local BillboardGui = Create("BillboardGui")({
  432. Size = UDim2.new(3, 0, 3, 0),
  433. Adornee = EffectPart,
  434. Parent = EffectPart
  435. })
  436. local TextLabel = Create("TextLabel")({
  437. BackgroundTransparency = 1,
  438. Size = UDim2.new(1, 0, 1, 0),
  439. Text = Text,
  440. Font = "Garamond",
  441. TextColor3 = Torso.Color,
  442. TextScaled = true,
  443. Parent = BillboardGui
  444. })
  445. game.Debris:AddItem(EffectPart, Time)
  446. EffectPart.Parent = game:GetService("Workspace")
  447. delay(0, function()
  448. local Frames = Time / Rate
  449. for Frame = 1, Frames do
  450. wait(Rate)
  451. local Percent = Frame / Frames
  452. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  453. TextLabel.TextTransparency = Percent
  454. end
  455. if EffectPart and EffectPart.Parent then
  456. EffectPart:Destroy()
  457. end
  458. end)
  459. end
  460. sound = Instance.new("Sound", Character)
  461. sound.SoundId = "rbxassetid://1101468563"
  462. sound.Volume = 0
  463. sound.EmitterSize = 25
  464. sound:Play()
  465. sound.Looped = true
  466. CV = "Maroon"
  467. Player = game.Players.LocalPlayer
  468. char = Player.Character
  469. local txt = Instance.new("BillboardGui", Character)
  470. txt.Adornee = Character.Head
  471. txt.Name = "_status"
  472. txt.Size = UDim2.new(2, 0, 1.2, 0)
  473. txt.StudsOffset = Vector3.new(-9, 8, 0)
  474. local text = Instance.new("TextLabel", txt)
  475. text.Size = UDim2.new(10, 0, 7, 0)
  476. text.FontSize = "Size24"
  477. text.TextScaled = true
  478. text.TextTransparency = 0
  479. text.BackgroundTransparency = 1
  480. text.TextTransparency = 0
  481. text.TextStrokeTransparency = 1
  482. text.Font = "Cartoon"
  483. v = Instance.new("Part")
  484. v.Name = "ColorBrick"
  485. v.Parent = Player.Character
  486. v.FormFactor = "Symmetric"
  487. v.Anchored = true
  488. v.CanCollide = false
  489. v.BottomSurface = "Smooth"
  490. v.TopSurface = "Smooth"
  491. v.Size = Vector3.new(10, 5, 3)
  492. v.Transparency = 1
  493. v.CFrame = Character.Torso.CFrame
  494. v.BrickColor = BrickColor.new(CV)
  495. v.Transparency = 1
  496. touchCounter = 0
  497. local cR=255
  498. local cG=0
  499. local cB=0
  500. local flg5=1 local omgidk=1
  501. local add=15
  502. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  503. if omgidk>10000 then omgidk=0 end
  504. omgidk=omgidk+1
  505. if cR>=255 then flg5=1 end
  506. if cG>=255 then flg5=2 end
  507. if cB>=255 then flg5=3 end
  508. if flg5==1 then cR=cR-add cG=cG+add end
  509. if flg5==2 then cG=cG-add cB=cB+add end
  510. if flg5==3 then cB=cB-add cR=cR+add end
  511. color=Color3.fromRGB(cR,cG,cB)
  512. text.TextColor3 = color
  513. end)
  514. v.Shape = "Block"
  515. text.Text = "A minecraft pro but with a rainbow shovel"
  516. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  517. for _, c in pairs(workspace:children()) do
  518. local hum = c:findFirstChild("Humanoid")
  519. if hum ~= nil then
  520. local head = hit
  521. if head ~= nil then
  522. local targ = head.Position - Part.Position
  523. local mag = targ.magnitude
  524. if Magnitude >= mag and c.Name ~= Player.Name then
  525. CFuncs.Sound.Create("324867021", head, 1, 1)
  526. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
  527. end
  528. end
  529. end
  530. end
  531. end
  532. Handle = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 1, "Bright green", "Handle", Vector3.new(1, 1.20000005, 1))
  533. HandleWeld = CFuncs.Weld.Create(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.435136795, -0.716373444, -0.168147802, -0.184279382, -0.967371345, 0.173878923, -0.0978992507, -0.157963246, -0.982580066, 0.977986097, -0.198091835, -0.0655955523))
  534. Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part", Vector3.new(1, 1.20000005, 1))
  535. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.36849213E-5, 4.00039482, -5.86509705E-5, 3.83518636E-6, 8.29994678E-6, -1, 4.9972441E-6, -1.00000012, -8.29994678E-6, -1.00000012, -4.9949158E-6, -3.83518636E-6))
  536. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000006, 1, 0.0500000007))
  537. Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part1", Vector3.new(1, 1.20000005, 1))
  538. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-9.67979431E-5, -4.00035858, 0.499849081, -0.999994338, 5.56639861E-6, 1.65775418E-6, 5.24974894E-6, 0.999995232, -5.0291419E-6, -3.25776637E-6, -5.08874655E-6, -0.999990761))
  539. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.0500000007, 1, 0.600000024))
  540. Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part2", Vector3.new(1, 1.20000005, 1))
  541. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.17232513E-5, 3.20031929, -3.71932983E-5, 3.83518636E-6, 8.29994678E-6, -1, 4.9972441E-6, -1.00000012, -8.29994678E-6, -1.00000012, -4.9949158E-6, -3.83518636E-6))
  542. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.60000002, 0.400000006, 0.0500000007))
  543. Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part3", Vector3.new(1, 1.20000005, 1))
  544. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.48905945E-5, -4.00033379, 0.499926567, 1, -5.21628408E-6, -3.65823939E-6, 5.21626544E-6, 1, -5.09625352E-6, 3.658266E-6, 5.09623442E-6, 1))
  545. CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.0500000007, 1, 0.600000024))
  546. Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part4", Vector3.new(1, 1.20000005, 1))
  547. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.74724579E-5, 2.90030861, -2.95639038E-5, 3.83518636E-6, 8.29994678E-6, -1, 4.9972441E-6, -1.00000012, -8.29994678E-6, -1.00000012, -4.9949158E-6, -3.83518636E-6))
  548. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000006, 0.400000006, 0.400000006))
  549. Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part5", Vector3.new(1, 1.20000005, 1))
  550. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0976924896, -1.42856026, 1.57356262E-5, 3.90782952E-6, 0.275675088, -0.961250901, 5.61308116E-6, -0.96125102, -0.275675088, -1.00000012, -4.33286186E-6, -5.2973628E-6))
  551. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 1, 0.200000003))
  552. Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part6", Vector3.new(1, 1.20000005, 1))
  553. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.93119049E-5, -0.700065613, 1.33514404E-5, 3.83518636E-6, 8.29994678E-6, -1, 4.9972441E-6, -1.00000012, -8.29994678E-6, -1.00000012, -4.9949158E-6, -3.83518636E-6))
  554. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.5, 0.5))
  555. Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part7", Vector3.new(1, 1.20000005, 1))
  556. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0726666451, 1.43006897, 1.62124634E-5, -5.01610339E-6, 0.258840203, 0.96592015, -3.55858356E-6, 0.96592021, -0.258840173, -1.00000012, -4.73321415E-6, -3.92459333E-6))
  557. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 1, 0.200000003))
  558. Part = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 0, "Dark stone grey", "Part8", Vector3.new(1, 1.20000005, 1))
  559. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.14848328E-5, 4.36306E-5, 2.00019836, 1, -5.38327731E-6, -2.46055424E-6, -2.4586916E-6, 8.36700201E-6, -1, 5.40760811E-6, 1, 8.37445259E-6))
  560. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 1, 0.200000003))
  561. Shaft = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "Brown", "Shaft", Vector3.new(0.3, 3.60000014, 0.3))
  562. ShaftWeld = CFuncs.Weld.Create(m, Handle, Shaft, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.21729279E-5, 1.20008087, -2.24113464E-5, 3.14228237E-6, 4.38094139E-6, -1.00000012, 2.94635538E-6, -1, -4.38839197E-6, -1, -2.95066275E-6, -3.14228237E-6))
  563. Hitbox = CFuncs.Part.Create(m, Enum.Material.Plastic, 0, 1, "Medium stone grey", "Hitbox", Vector3.new(7, 3, 3))
  564. HitboxWeld = CFuncs.Weld.Create(m, Handle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.19377899, -0.184207916, -0.14117223, -5.3447485E-4, 0.99471724, -0.102652542, -0.999858558, 0.00119461119, 0.0167820305, 0.0168160032, 0.102646977, 0.994575679))
  565. sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  566. sref.Anchored = true
  567. local cR=255
  568. local cG=0
  569. local cB=0
  570. local flg5=1 local omgidk=1
  571. local add=15
  572. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  573. if omgidk>10000 then omgidk=0 end
  574. omgidk=omgidk+1
  575. if cR>=255 then flg5=1 end
  576. if cG>=255 then flg5=2 end
  577. if cB>=255 then flg5=3 end
  578. if flg5==1 then cR=cR-add cG=cG+add end
  579. if flg5==2 then cG=cG-add cB=cB+add end
  580. if flg5==3 then cB=cB-add cR=cR+add end
  581. color=Color3.fromRGB(cR,cG,cB)
  582. local d = Character.WeaponModel
  583. d.Shaft.Color = color
  584. d.Part.Color = color
  585. d.Part1.Color = color
  586. d.Part2.Color = color
  587. d.Part3.Color = color
  588. d.Part4.Color = color
  589. d.Part5.Color = color
  590. d.Part6.Color = color
  591. d.Part7.Color = color
  592. d.Part8.Color = color
  593. d.Part.Material = Enum.Material.Neon
  594. d.Part1.Material = Enum.Material.Neon
  595. d.Part2.Material = Enum.Material.Neon
  596. d.Part3.Material = Enum.Material.Neon
  597. d.Part4.Material = Enum.Material.Neon
  598. d.Part5.Material = Enum.Material.Neon
  599. d.Part6.Material = Enum.Material.Neon
  600. d.Part7.Material = Enum.Material.Neon
  601. d.Part8.Material = Enum.Material.Neon
  602. end)
  603. EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
  604. Effects = {
  605. Block = {
  606. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  607. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  608. prt.Anchored = true
  609. prt.CFrame = cframe
  610. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  611. game:GetService("Debris"):AddItem(prt, 10)
  612. if Type == 1 or Type == nil then
  613. table.insert(Effects, {
  614. prt,
  615. "Block1",
  616. delay,
  617. x3,
  618. y3,
  619. z3,
  620. msh
  621. })
  622. elseif Type == 2 then
  623. table.insert(Effects, {
  624. prt,
  625. "Block2",
  626. delay,
  627. x3,
  628. y3,
  629. z3,
  630. msh
  631. })
  632. end
  633. end
  634. },
  635. Cylinder = {
  636. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  637. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  638. prt.Anchored = true
  639. prt.CFrame = cframe
  640. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  641. game:GetService("Debris"):AddItem(prt, 2)
  642. table.insert(Effects, {
  643. prt,
  644. "Cylinder",
  645. delay,
  646. x3,
  647. y3,
  648. z3,
  649. msh
  650. })
  651. end
  652. },
  653. Head = {
  654. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  655. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  656. prt.Anchored = true
  657. prt.CFrame = cframe
  658. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  659. game:GetService("Debris"):AddItem(prt, 10)
  660. table.insert(Effects, {
  661. prt,
  662. "Cylinder",
  663. delay,
  664. x3,
  665. y3,
  666. z3,
  667. msh
  668. })
  669. end
  670. },
  671. Sphere = {
  672. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  673. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  674. prt.Anchored = true
  675. prt.CFrame = cframe
  676. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  677. game:GetService("Debris"):AddItem(prt, 10)
  678. table.insert(Effects, {
  679. prt,
  680. "Cylinder",
  681. delay,
  682. x3,
  683. y3,
  684. z3,
  685. msh
  686. })
  687. end
  688. },
  689. Elect = {
  690. Create = function(cff, x, y, z)
  691. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("New Yeller"), "Part", Vector3.new(1, 1, 1))
  692. prt.Anchored = true
  693. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  694. prt.CFrame = CFrame.new(prt.Position)
  695. game:GetService("Debris"):AddItem(prt, 2)
  696. local xval = math.random() / 2
  697. local yval = math.random() / 2
  698. local zval = math.random() / 2
  699. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  700. table.insert(Effects, {
  701. prt,
  702. "Elec",
  703. 0.1,
  704. x,
  705. y,
  706. z,
  707. xval,
  708. yval,
  709. zval
  710. })
  711. end
  712. },
  713. Ring = {
  714. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  715. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  716. prt.Anchored = true
  717. prt.CFrame = cframe
  718. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  719. game:GetService("Debris"):AddItem(prt, 10)
  720. table.insert(Effects, {
  721. prt,
  722. "Cylinder",
  723. delay,
  724. x3,
  725. y3,
  726. z3,
  727. msh
  728. })
  729. end
  730. },
  731. Wave = {
  732. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  733. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  734. prt.Anchored = true
  735. prt.CFrame = cframe
  736. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  737. game:GetService("Debris"):AddItem(prt, 10)
  738. table.insert(Effects, {
  739. prt,
  740. "Cylinder",
  741. delay,
  742. x3,
  743. y3,
  744. z3,
  745. msh
  746. })
  747. end
  748. },
  749. Break = {
  750. Create = function(brickcolor, cframe, x1, y1, z1)
  751. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  752. prt.Anchored = true
  753. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  754. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  755. local num = math.random(10, 50) / 1000
  756. game:GetService("Debris"):AddItem(prt, 10)
  757. table.insert(Effects, {
  758. prt,
  759. "Shatter",
  760. num,
  761. prt.CFrame,
  762. math.random() - math.random(),
  763. 0,
  764. math.random(50, 100) / 100
  765. })
  766. end
  767. },
  768. Fire = {
  769. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  770. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  771. prt.Anchored = true
  772. prt.CFrame = cframe
  773. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  774. game:GetService("Debris"):AddItem(prt, 10)
  775. table.insert(Effects, {
  776. prt,
  777. "Fire",
  778. delay,
  779. 1,
  780. 1,
  781. 1,
  782. msh
  783. })
  784. end
  785. },
  786. FireWave = {
  787. Create = function(brickcolor, cframe, x1, y1, z1)
  788. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  789. prt.Anchored = true
  790. prt.CFrame = cframe
  791. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  792. local d = Create("Decal")({
  793. Parent = prt,
  794. Texture = "rbxassetid://26356434",
  795. Face = "Top"
  796. })
  797. local d = Create("Decal")({
  798. Parent = prt,
  799. Texture = "rbxassetid://26356434",
  800. Face = "Bottom"
  801. })
  802. game:GetService("Debris"):AddItem(prt, 10)
  803. table.insert(Effects, {
  804. prt,
  805. "FireWave",
  806. 1,
  807. 30,
  808. math.random(400, 600) / 100,
  809. msh
  810. })
  811. end
  812. },
  813. Lightning = {
  814. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  815. local magz = (p0 - p1).magnitude
  816. local curpos = p0
  817. local trz = {
  818. -ofs,
  819. ofs
  820. }
  821. for i = 1, tym do
  822. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  823. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  824. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  825. li.Material = "Neon"
  826. if tym == i then
  827. local magz2 = (curpos - p1).magnitude
  828. li.Size = Vector3.new(th, th, magz2)
  829. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  830. table.insert(Effects, {
  831. li,
  832. "Disappear",
  833. last
  834. })
  835. else
  836. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  837. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  838. game.Debris:AddItem(li, 10)
  839. table.insert(Effects, {
  840. li,
  841. "Disappear",
  842. last
  843. })
  844. end
  845. end
  846. end
  847. },
  848. EffectTemplate = {}
  849. }
  850. function ears()
  851. local quote = math.random(1, 10)
  852. if quote == 1 then
  853. ow = CFuncs.Sound.Create("276916733", Character, 10, 1)
  854. Instance.new("DistortionSoundEffect", ow).Level = 0.95
  855. elseif quote == 2 then
  856. ow = CFuncs.Sound.Create("222045669", Character, 10, 1)
  857. Instance.new("DistortionSoundEffect", ow).Level = 0.95
  858. ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "I played college ball yaknow", 1.5, BrickColor.new("Grey").Color)
  859. elseif quote == 3 then
  860. ow = CFuncs.Sound.Create("657527128", Character, 10, 1)
  861. Instance.new("DistortionSoundEffect", ow).Level = 0.95
  862. ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "Oof", 1.5, BrickColor.new("Grey").Color)
  863. elseif quote == 4 then
  864. CFuncs.Sound.Create("230292394", Character, 10, 1)
  865. ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "AAAAAH", 1.5, BrickColor.new("Grey").Color)
  866. elseif quote == 5 then
  867. CFuncs.Sound.Create("230255621", Character, 10, 1)
  868. ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "SO", 1.5, BrickColor.new("Grey").Color)
  869. wait(0.2)
  870. ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "DAH", 1.5, BrickColor.new("Grey").Color)
  871. elseif quote == 6 then
  872. CFuncs.Sound.Create("230255698", Character, 10, 1)
  873. ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "Y E S", 1.5, BrickColor.new("Grey").Color)
  874. elseif quote == 7 then
  875. CFuncs.Sound.Create("230255738", Character, 10, 1)
  876. ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "OH", 1.5, BrickColor.new("Grey").Color)
  877. elseif quote == 8 then
  878. CFuncs.Sound.Create("230292118", Character, 10, 1)
  879. ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "AAAAAAAA", 1.5, BrickColor.new("Grey").Color)
  880. elseif quote == 9 then
  881. CFuncs.Sound.Create("230292073", Character, 10, 1)
  882. ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "UWEEEEEEEEEEH", 1.5, BrickColor.new("Grey").Color)
  883. elseif quote == 10 then
  884. ow = CFuncs.Sound.Create("225279648", Character, 10, 1)
  885. Instance.new("DistortionSoundEffect", ow).Level = 0.95
  886. ShowDamage(Head.CFrame * CFrame.new(0, 0, Head.Size.Z / 2).p + Vector3.new(0, 1.5, 0), "help", 1.5, BrickColor.new("Grey").Color)
  887. end
  888. end
  889. function joj()
  890. while oof == true do
  891. attack = true
  892. local con = Hitbox.Touched:connect(function(hit)
  893. Damage(Hitbox, hit, 0, 0, math.random(300, 300), "Normal", RootPart, 0.1, "146163534", 1)
  894. end)
  895. CFuncs.Sound.Create("1102186681", Hitbox, 10, 1)
  896. for i = 0, 1, 0.1 do
  897. swait()
  898. PlayAnimationFromTable({
  899. CFrame.new(0.318533748, 1.11758709E-8, -0.186876655, 0.571150839, -0.107324705, 0.813798547, -0.321393877, 0.883022606, 0.342018932, -0.755309701, -0.456894249, 0.469845593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  900. CFrame.new(-0.136643112, 1.46224117, -0.102674514, 0.571150839, -0.321393877, -0.755309701, -0.107324705, 0.883022606, -0.456894249, 0.813798547, 0.342018932, 0.469845593) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  901. CFrame.new(1.34420753, 1.19733691, -0.575926542, -0.0377464592, -0.0365618169, 0.998618245, -0.0365605801, -0.998610795, -0.0379435122, 0.998618245, -0.0379423201, 0.0363572836) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  902. CFrame.new(-1.54852927, 1.0183481, -0.403962731, 0.992945313, -0.0193823874, 0.11697869, 0.0193829238, -0.946746707, -0.321395338, 0.116978586, 0.321395338, -0.93969202) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  903. CFrame.new(1.30056286, -1.52663183, -0.684036016, 0.872286201, -0.321393877, -0.368541837, 0.13550131, 0.883022606, -0.449344397, 0.469847292, 0.342018932, 0.813797712) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  904. CFrame.new(-0.0819230229, -1.98630714, -0.796365142, 0.843013644, -0.321393877, 0.431316614, 0.431316495, 0.883022606, -0.185032547, -0.321394026, 0.342018932, 0.883022547) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  905. }, 0.3, false)
  906. end
  907. for i = 0, 1, 0.1 do
  908. swait()
  909. PlayAnimationFromTable({
  910. CFrame.new(-0.70452857, 1.34110451E-7, -0.85472101, 0.0479760207, 0.375900865, -0.925417125, -0.321394145, 0.883022726, 0.342018545, 0.945729494, 0.281014919, 0.163176239) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  911. CFrame.new(-0.332258016, 1.42813265, -0.198432297, 0.0479760207, -0.321394145, 0.945729494, 0.375900865, 0.883022726, 0.281014919, -0.925417125, 0.342018545, 0.163176239) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  912. CFrame.new(1.3427434, 0.740131199, -1.01291919, 0.0505371541, -0.0144109726, 0.998618364, 0.883102953, 0.467642725, -0.0379427671, -0.466449738, 0.883800209, 0.0363596678) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  913. CFrame.new(-1.46270001, 0.38253215, -1.0271579, 0.992945492, -0.11697793, -0.01938124, 0.0193838775, 0.321395963, -0.946746528, 0.116977483, 0.939691901, 0.321396172) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  914. CFrame.new(1.30056417, -1.52663159, -0.684035659, 0.872286379, -0.321394145, -0.368541002, 0.1355021, 0.883022726, -0.449344009, 0.469846606, 0.342018545, 0.813798249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  915. CFrame.new(-0.0819211155, -1.98630702, -0.796365023, 0.84301424, -0.321394145, 0.431315303, 0.431316257, 0.883022726, -0.18503274, -0.321392775, 0.342018545, 0.883023262) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  916. }, 0.3, false)
  917. end
  918. con:Disconnect()
  919. attack = false
  920. end
  921. end
  922. Mouse.Button1Down:connect(function()
  923. if attack == false and oof == false then
  924. oof = true
  925. joj()
  926. end
  927. end)
  928. Mouse.Button1Up:connect(function()
  929. if attack == true and oof == true then
  930. oof = false
  931. end
  932. end)
  933. Mouse.KeyDown:connect(function(k)
  934. k = k:lower()
  935. if k == "t" then
  936. ears()
  937. end
  938. end)
  939. while true do
  940. swait()
  941. sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  942. for i, v in pairs(Character:GetChildren()) do
  943. if v:IsA("Part") then
  944. v.Material = "SmoothPlastic"
  945. elseif v:IsA("Accessory") then
  946. v:WaitForChild("Handle").Material = "SmoothPlastic"
  947. end
  948. end
  949. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  950. velocity = RootPart.Velocity.y
  951. sine = sine + change
  952. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  953. if RootPart.Velocity.y > 1 and hit == nil then
  954. Anim = "Jump"
  955. if attack == false then
  956. PlayAnimationFromTable({
  957. CFrame.new(0, 0.0486936681, -0.0429394133, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  958. CFrame.new(0, 1.48698187, -0.0992434025, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  959. CFrame.new(1.66118193, 0.583681226, 0.430878729, 0.556951106, -0.772693694, -0.30454877, 0.830109596, 0.506009281, 0.234249175, -0.026898358, -0.383274168, 0.923242927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  960. CFrame.new(-1.65963519, 0.695907593, 0.339572817, 0.482961893, 0.810776234, 0.330741376, -0.866026103, 0.498096228, 0.0435779653, -0.129409045, -0.307477146, 0.94271481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  961. CFrame.new(0.499997795, -1.71809137, -0.102601528, 0.984807849, 3.55863392E-7, -0.173647791, 0.0593907312, 0.939692557, 0.336824298, 0.163175657, -0.342020214, 0.925416589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  962. CFrame.new(-0.599241376, -1.29528463, -0.396836221, 0.992403984, 0.086823605, 0.0871558413, -0.118890785, 0.858931601, 0.498097867, -0.0316142589, -0.504676282, 0.862729669) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  963. }, 0.3, false)
  964. end
  965. elseif RootPart.Velocity.y < -1 and hit == nil then
  966. Anim = "Fall"
  967. if attack == false then
  968. PlayAnimationFromTable({
  969. CFrame.new(0, -0.0520263538, -0.0354017057, 1, 0, 0, 0, 0.965925872, 0.258818984, 0, -0.258818984, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  970. CFrame.new(0, 1.51533091, -0.10684365, 1, 0, 0, 0, 0.965925872, 0.258819342, 0, -0.258819342, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  971. CFrame.new(1.67554009, 0.885679007, 0.385592818, 0.374123871, -0.696466088, -0.61234498, 0.914592147, 0.386364758, 0.119345918, 0.153468132, -0.604696095, 0.781530797) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  972. CFrame.new(-1.67474985, 0.999329269, 0.296636045, 0.250219911, 0.753912985, 0.607457995, -0.927206695, 0.367205799, -0.0738086402, -0.278707415, -0.544770718, 0.79091537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  973. CFrame.new(0.504494727, -1.81757987, -0.0935191363, 0.984807849, -0.0449431092, -0.167730823, 0.059390761, 0.99484998, 0.0821366012, 0.163175508, -0.0908504426, 0.982405365) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  974. CFrame.new(-0.623603821, -1.49203336, -0.421764404, 0.992403865, 0.122534379, 0.0109562073, -0.118891656, 0.978150725, -0.17054674, -0.0316146575, 0.167948633, 0.985288799) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  975. }, 0.3, false)
  976. end
  977. elseif Torsovelocity < 1 and hit ~= nil then
  978. Anim = "Idle"
  979. if attack == false then
  980. change = 1
  981. PlayAnimationFromTable({
  982. CFrame.new(1.90734863E-6, 0, 0, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  983. CFrame.new(-1.90734863E-6, 1.49520886, -0.307131112, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  984. CFrame.new(1.37194049, -0.0753216743, -0.606283188, 0.229498088, 0.301554978, 0.925416291, 0.481514871, 0.791113436, -0.377204269, -0.845857084, 0.532169282, 0.0363558233) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  985. CFrame.new(-1.5, 0.0121572316, -0.267316073, 1, 0, 0, 0, 0.642788708, -0.766043544, 0, 0.766043544, 0.642788708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  986. CFrame.new(0.699996471, -1.87938261, -0.684038877, 0.866025388, 0, -0.500000238, -0.171010032, 0.939692736, -0.296197921, 0.469846606, 0.342019886, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  987. CFrame.new(-0.756342053, -1.83849907, -0.79636544, 0.939692736, 0, 0.342019886, 0.116977625, 0.939692736, -0.321393639, -0.321393639, 0.342019886, 0.883022428) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  988. }, 0.3, false)
  989. end
  990. elseif Torsovelocity > 2 and hit ~= nil then
  991. Anim = "Walk"
  992. if attack == false then
  993. change = 2
  994. PlayAnimationFromTable({
  995. CFrame.new(1.90734863E-6, 0, 0, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  996. CFrame.new(-1.90734863E-6, 1.49520886, -0.307131112, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  997. CFrame.new(1.37194049, -0.0753216743, -0.606283188, 0.229498088, 0.301554978, 0.925416291, 0.481514871, 0.791113436, -0.377204269, -0.845857084, 0.532169282, 0.0363558233) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  998. CFrame.new(-1.5, 0.0121572316, -0.267316073, 1, 0, 0, 0, 0.642788708, -0.766043544, 0, 0.766043544, 0.642788708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  999. CFrame.new(0.5, -1.64 - 0.5 * math.cos(sine / 8) / 2, 0 + 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(-70 * math.sin(sine / 8)), math.rad(-3), math.rad(0)),
  1000. CFrame.new(-0.5, -1.64 + 0.5 * math.cos(sine / 8) / 2, 0 - 2 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(70 * math.sin(sine / 8)), math.rad(3), math.rad(0))
  1001. }, 0.3, false)
  1002. end
  1003. end
  1004. if 0 < #Effects then
  1005. for e = 1, #Effects do
  1006. if Effects[e] ~= nil then
  1007. local Thing = Effects[e]
  1008. if Thing ~= nil then
  1009. local Part = Thing[1]
  1010. local Mode = Thing[2]
  1011. local Delay = Thing[3]
  1012. local IncX = Thing[4]
  1013. local IncY = Thing[5]
  1014. local IncZ = Thing[6]
  1015. if Thing[2] == "Shoot" then
  1016. local Look = Thing[1]
  1017. local move = 5
  1018. local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
  1019. if Thing[10] ~= nil then
  1020. da = pos
  1021. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1022. cfa = CFrame.new(Thing[4], pos)
  1023. tehCF = cfa:lerp(cf2, 0.2)
  1024. Thing[1] = tehCF.lookVector
  1025. end
  1026. local mag = (Thing[4] - pos).magnitude
  1027. Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
  1028. Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, 3, 3, 5, 5, 5, 0.15)
  1029. Thing[4] = Thing[4] + Look * move
  1030. Thing[3] = Thing[3] - 1
  1031. if 2 < Thing[5] then
  1032. Thing[5] = Thing[5] - 0.3
  1033. Thing[6] = Thing[6] - 0.3
  1034. end
  1035. if hit ~= nil then
  1036. Thing[3] = 0
  1037. MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
  1038. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1039. ref.Anchored = true
  1040. ref.CFrame = CFrame.new(pos)
  1041. Effects.Block.Create(BrickColor.new("New Yeller"), CFrame.new(pos), 1, 1, 1, 2, 2, 2, 0.05)
  1042. Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03)
  1043. game:GetService("Debris"):AddItem(ref, 1)
  1044. end
  1045. end
  1046. end
  1047. end
  1048. end
  1049. end
  1050. end
  1051. while true do
  1052. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  1053. wait()
  1054. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  1055. end
Add Comment
Please, Sign In to add comment