Advertisement
UserTheAbusedTurkey

Uncle Fredd

Apr 1st, 2018
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.81 KB | None | 0 0
  1. print("Made by SezHu for Void's Script Builder. If logged, please do not remove credit.")
  2. wait(1 / 60)
  3. Effects = { }
  4. local Player = game.Players.localPlayer
  5. local Character = Player.Character
  6. local Humanoid = Character.Humanoid
  7. Humanoid.WalkSpeed = 275
  8. local Mouse = Player:GetMouse()
  9. local LeftArm = Character["Left Arm"]
  10. local RightArm = Character["Right Arm"]
  11. local LeftLeg = Character["Left Leg"]
  12. local RightLeg = Character["Right Leg"]
  13. local Head = Character.Head
  14. local Torso = Character.Torso
  15. local Camera = game.Workspace.CurrentCamera
  16. local RootPart = Character.HumanoidRootPart
  17. local RootJoint = RootPart.RootJoint
  18. local attack = false
  19. local Anim = 'Idle'
  20. local attacktype = 1
  21. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  22. local velocity = RootPart.Velocity.y
  23. local sine = 0
  24. local change = 1
  25. local Create = LoadLibrary("RbxUtility").Create
  26. Head.face.Texture = "http://www.roblox.com/asset/?id=948473243"
  27. Humanoid.Health = math.huge
  28. Instance.new("ForceField",Character).Visible = false
  29. hit = nil
  30. oof = false
  31. for y,t in pairs(Character:GetChildren()) do
  32. if t:IsA("Accessory") and t:FindFirstChild("Handle") then
  33. t.Handle.Transparency = 1
  34. end
  35. end
  36. local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  37. txtfag.Adornee = suckadick
  38. txtfag.Name = "kys nigga"
  39. txtfag.Size = UDim2.new(2, 0, 1.2, 0)
  40. txtfag.StudsOffset = Vector3.new(-5, 3, 0)
  41. local textfag = Instance.new("TextLabel", txtfag)
  42. textfag.Size = UDim2.new(6, 0, 1, 0)
  43. textfag.FontSize = "Size8"
  44. textfag.TextScaled = true
  45. textfag.TextTransparency = 0
  46. textfag.BackgroundTransparency = 1
  47. textfag.TextTransparency = 0
  48. textfag.TextStrokeTransparency = 0
  49. textfag.Font = "SourceSans"
  50. textfag.TextStrokeColor3 = Color3.new(0, 1, 0)
  51. v = Instance.new("Part")
  52. v.Name = "ColorBrick"
  53. v.Parent = part
  54. v.FormFactor = "Symmetric"
  55. v.Anchored = true
  56. v.CanCollide = false
  57. v.BottomSurface = "Smooth"
  58. v.TopSurface = "Smooth"
  59. v.Size = Vector3.new(10, 5, 3)
  60. v.Transparency = 0.7
  61. v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor
  62. v.Transparency = 1
  63. textfag.TextColor3 = BrickColor.new("Institutional white").Color
  64. textfag.TextStrokeColor3 = BrickColor.new("Really black").Color
  65. v.Shape = "Block"
  66. textfag.Text = "Uncle Fredd"
  67. coroutine.resume(coroutine.create(function()
  68. while true do
  69. swait()
  70. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  71. textfag.Rotation = math.random(-3,3)
  72. end
  73. end))
  74. Character.Shirt:Remove()
  75. Character.Pants:Remove()
  76. pants = Instance.new("Pants", Character)
  77. pants.PantsTemplate = "http://www.roblox.com/asset/?id=242242068"
  78. DHandle = Instance.new("Part")
  79. DMesh = Instance.new("SpecialMesh")
  80. DWeld = Instance.new("Weld")
  81. DHandle.Parent = Character
  82. DHandle.Name = "Handle"
  83. DHandle.CanCollide = false
  84. DHandle.Locked = true
  85. DHandle.Size = Vector3.new(1.93, 1.77, 1.6)
  86. DMesh.Parent = DHandle
  87. DMesh.Scale = DMesh.Scale
  88. DWeld.Parent = DHandle
  89. DWeld.Name = "no"
  90. DWeld.Part0 = Head
  91. DWeld.Part1 = DHandle
  92. DWeld.C0 = CFrame.new(0,.4,0) * CFrame.fromEulerAnglesXYZ(math.rad(-1),0,0)VertexColor = Vector3.new(1,1,1)
  93. DHandle.Transparency = 0
  94. DMesh.MeshId = "http://www.roblox.com/asset/?id=12259089"
  95. DMesh.TextureId = "http://www.roblox.com/asset/?id=12259192"
  96. local m = Create("Model"){
  97. Parent = Character,
  98. Name = "WeaponModel",
  99. }
  100.  
  101. Humanoid.Animator.Parent = nil
  102. Character.Animate.Parent = nil
  103.  
  104. local newMotor = function(part0, part1, c0, c1)
  105. local w = Create('Motor'){
  106. Parent = part0,
  107. Part0 = part0,
  108. Part1 = part1,
  109. C0 = c0,
  110. C1 = c1,
  111. }
  112. return w
  113. end
  114.  
  115. function clerp(a, b, t)
  116. return a:lerp(b, t)
  117. end
  118.  
  119. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  120. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  121.  
  122. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  123. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  124. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  125. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  126. RootJoint.C1 = CFrame.new(0, 0, 0)
  127. RootJoint.C0 = CFrame.new(0, 0, 0)
  128. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  129. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  130.  
  131. local rarmc1 = RW.C1
  132. local larmc1 = LW.C1
  133. local rlegc1 = RH.C1
  134. local llegc1 = LH.C1
  135.  
  136. local resetc1 = false
  137.  
  138. function PlayAnimationFromTable(table, speed, bool)
  139. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  140. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  141. RW.C0 = clerp(RW.C0, table[3], speed)
  142. LW.C0 = clerp(LW.C0, table[4], speed)
  143. RH.C0 = clerp(RH.C0, table[5], speed)
  144. LH.C0 = clerp(LH.C0, table[6], speed)
  145. if bool == true then
  146. if resetc1 == false then
  147. resetc1 = true
  148. RootJoint.C1 = RootJoint.C1
  149. Torso.Neck.C1 = Torso.Neck.C1
  150. RW.C1 = rarmc1
  151. LW.C1 = larmc1
  152. RH.C1 = rlegc1
  153. LH.C1 = llegc1
  154. end
  155. end
  156. end
  157.  
  158. ArtificialHB = Create("BindableEvent", script){
  159. Parent = script,
  160. Name = "Heartbeat",
  161. }
  162.  
  163. script:WaitForChild("Heartbeat")
  164.  
  165. frame = 1 / 500
  166. tf = 0
  167. allowframeloss = false
  168. tossremainder = false
  169. lastframe = tick()
  170. script.Heartbeat:Fire()
  171.  
  172. game:GetService("RunService").Heartbeat:connect(function(s, p)
  173. tf = tf + s
  174. if tf >= frame then
  175. if allowframeloss then
  176. script.Heartbeat:Fire()
  177. lastframe = tick()
  178. else
  179. for i = 1, math.floor(tf / frame) do
  180. script.Heartbeat:Fire()
  181. end
  182. lastframe = tick()
  183. end
  184. if tossremainder then
  185. tf = 0
  186. else
  187. tf = tf - frame * math.floor(tf / frame)
  188. end
  189. end
  190. end)
  191.  
  192. function swait(num)
  193. if num == 0 or num == nil then
  194. ArtificialHB.Event:wait()
  195. else
  196. for i = 0, num do
  197. ArtificialHB.Event:wait()
  198. end
  199. end
  200. end
  201.  
  202. function RemoveOutlines(part)
  203. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  204. end
  205.  
  206. CFuncs = {
  207. Part = {
  208. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  209. local Part = Create("Part"){
  210. Parent = Parent,
  211. Reflectance = Reflectance,
  212. Transparency = Transparency,
  213. CanCollide = false,
  214. Locked = true,
  215. BrickColor = BrickColor.new(tostring(BColor)),
  216. Name = Name,
  217. Size = Size,
  218. Material = Material,
  219. }
  220. RemoveOutlines(Part)
  221. if Size == Vector3.new() then
  222. Part.Size = Vector3.new(0.2, 0.2, 0.2)
  223. else
  224. Part.Size = Size
  225. end
  226. return Part
  227. end;
  228. };
  229.  
  230. Mesh = {
  231. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  232. local Msh = Create(Mesh){
  233. Parent = Part,
  234. Offset = OffSet,
  235. Scale = Scale,
  236. }
  237. if Mesh == "SpecialMesh" then
  238. Msh.MeshType = MeshType
  239. Msh.MeshId = MeshId
  240. end
  241. return Msh
  242. end;
  243. };
  244.  
  245. Weld = {
  246. Create = function(Parent, Part0, Part1, C0, C1)
  247. local Weld = Create("Weld"){
  248. Parent = Parent,
  249. Part0 = Part0,
  250. Part1 = Part1,
  251. C0 = C0,
  252. C1 = C1,
  253. }
  254. return Weld
  255. end;
  256. };
  257.  
  258. Sound = {
  259. Create = function(id, par, vol, pit)
  260. local Sound = Create("Sound"){
  261. Volume = vol,
  262. Pitch = pit or 1,
  263. SoundId = "rbxassetid://" .. id,
  264. Parent = par or workspace,
  265. }
  266. Sound:play()
  267. return Sound
  268. end;
  269. };
  270.  
  271. Decal = {
  272. Create = function(Color, Texture, Transparency, Name, Parent)
  273. local Decal = Create("Decal"){
  274. Color3 = Color,
  275. Texture = "rbxassetid://" .. Texture,
  276. Transparency = Transparency,
  277. Name = Name,
  278. Parent = Parent,
  279. }
  280. return Decal
  281. end;
  282. };
  283.  
  284. BillboardGui = {
  285. Create = function(Parent, Image, Position, Size)
  286. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  287. BillPar.CFrame = CFrame.new(Position)
  288. local Bill = Create("BillboardGui"){
  289. Parent = BillPar,
  290. Adornee = BillPar,
  291. Size = UDim2.new(1, 0, 1, 0),
  292. SizeOffset = Vector2.new(Size, Size),
  293. }
  294. local d = Create("ImageLabel", Bill){
  295. Parent = Bill,
  296. BackgroundTransparency = 1,
  297. Size = UDim2.new(1, 0, 1, 0),
  298. Image = "rbxassetid://" .. Image,
  299. }
  300. return BillPar
  301. end
  302. };
  303.  
  304. ParticleEmitter = {
  305. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  306. local Particle = Create("ParticleEmitter"){
  307. Parent = Parent,
  308. Color = ColorSequence.new(Color1, Color2),
  309. LightEmission = LightEmission,
  310. Size = Size,
  311. Texture = Texture,
  312. Transparency = Transparency,
  313. ZOffset = ZOffset,
  314. Acceleration = Accel,
  315. Drag = Drag,
  316. LockedToPart = LockedToPart,
  317. VelocityInheritance = VelocityInheritance,
  318. EmissionDirection = EmissionDirection,
  319. Enabled = Enabled,
  320. Lifetime = LifeTime,
  321. Rate = Rate,
  322. Rotation = Rotation,
  323. RotSpeed = RotSpeed,
  324. Speed = Speed,
  325. VelocitySpread = VelocitySpread,
  326. }
  327. return Particle
  328. end;
  329. };
  330.  
  331. CreateTemplate = {
  332.  
  333. };
  334. }
  335.  
  336. function rayCast(Position, Direction, Range, Ignore)
  337. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  338. end
  339.  
  340. function FindNearestTorso(Position, Distance, SinglePlayer)
  341. if SinglePlayer then
  342. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  343. end
  344. local List = {}
  345. for i, v in pairs(workspace:GetChildren()) do
  346. if v:IsA("Model") then
  347. if v:findFirstChild("Torso") then
  348. if v ~= Character then
  349. if (v.Torso.Position - Position).magnitude <= Distance then
  350. table.insert(List, v)
  351. end
  352. end
  353. end
  354. end
  355. end
  356. return List
  357. end
  358.  
  359. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  360. if hit.Parent == nil then
  361. return
  362. end
  363. local h = hit.Parent:FindFirstChild("Part")
  364. for _, v in pairs(hit.Parent:children()) do
  365. if v:IsA("Part") then
  366. h = v
  367. end
  368. end
  369. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent.Name ~= "Base" and hit ~= nil then
  370. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  371. if hit.Parent.DebounceHit.Value == true then
  372. return
  373. end
  374. end
  375. local c = Create("ObjectValue"){
  376. Name = "creator",
  377. Value = game:service("Players").LocalPlayer,
  378. Parent = h,
  379. }
  380. game:GetService("Debris"):AddItem(c, .5)
  381. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  382. local Damage = math.random(minim, maxim)
  383. local blocked = false
  384. local block = hit.Parent:findFirstChild("Block")
  385. if block ~= nil then
  386. if block.className == "IntValue" then
  387. if block.Value > 0 then
  388. blocked = true
  389. block.Value = block.Value - 1
  390. print(block.Value)
  391. end
  392. end
  393. end
  394. if Type == "Knockdown" then
  395. local hum = hit.Parent.Humanoid
  396. hum.PlatformStand = true
  397. coroutine.resume(coroutine.create(function(HHumanoid)
  398. swait(1)
  399. HHumanoid.PlatformStand = false
  400. end), hum)
  401. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  402. local bodvol = Create("BodyVelocity"){
  403. velocity = angle * knockback,
  404. P = 5000,
  405. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  406. Parent = hit,
  407. }
  408. local rl = Create("BodyAngularVelocity"){
  409. P = 3000,
  410. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  411. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  412. Parent = hit,
  413. }
  414. game:GetService("Debris"):AddItem(bodvol, .5)
  415. game:GetService("Debris"):AddItem(rl, .5)
  416. elseif Type == "Normal" then
  417. local vp = Create("BodyVelocity"){
  418. P = 500,
  419. maxForce = Vector3.new(math.huge, 0, math.huge),
  420. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  421. }
  422. if knockback > 0 then
  423. vp.Parent = hit
  424. hit.Parent = workspace
  425. hit.Anchored = false
  426. hit.CanCollide = false
  427. hit:BreakJoints()
  428. end
  429. game:GetService("Debris"):AddItem(vp, .5)
  430. elseif Type == "Up" then
  431. local bodyVelocity = Create("BodyVelocity"){
  432. velocity = Vector3.new(0, 20, 0),
  433. P = 5000,
  434. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  435. Parent = hit,
  436. }
  437. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  438. elseif Type == "DarkUp" then
  439. coroutine.resume(coroutine.create(function()
  440. for i = 0, 1, 0.1 do
  441. swait()
  442. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  443. end
  444. end))
  445. local bodyVelocity = Create("BodyVelocity"){
  446. velocity = Vector3.new(0, 20, 0),
  447. P = 5000,
  448. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  449. Parent = hit,
  450. }
  451. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  452. elseif Type == "Snare" then
  453. local bp = Create("BodyPosition"){
  454. P = 2000,
  455. D = 100,
  456. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  457. position = hit.Parent.Torso.Position,
  458. Parent = hit.Parent.Torso,
  459. }
  460. game:GetService("Debris"):AddItem(bp, 1)
  461. elseif Type == "Freeze" then
  462. local BodPos = Create("BodyPosition"){
  463. P = 50000,
  464. D = 1000,
  465. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  466. position = hit.Parent.Torso.Position,
  467. Parent = hit.Parent.Torso,
  468. }
  469. local BodGy = Create("BodyGyro") {
  470. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  471. P = 20e+003,
  472. Parent = hit.Parent.Torso,
  473. cframe = hit.Parent.Torso.CFrame,
  474. }
  475. hit.Parent.Torso.Anchored = true
  476. coroutine.resume(coroutine.create(function(Part)
  477. swait(1.5)
  478. Part.Anchored = false
  479. end), hit.Parent.Torso)
  480. game:GetService("Debris"):AddItem(BodPos, 3)
  481. game:GetService("Debris"):AddItem(BodGy, 3)
  482. end
  483. local debounce = Create("BoolValue"){
  484. Name = "DebounceHit",
  485. Parent = hit.Parent,
  486. Value = true,
  487. }
  488. game:GetService("Debris"):AddItem(debounce, Delay)
  489. c = Create("ObjectValue"){
  490. Name = "creator",
  491. Value = Player,
  492. Parent = h,
  493. }
  494. game:GetService("Debris"):AddItem(c, .5)
  495. end
  496. end
  497.  
  498. function ShowDamage(Pos, Text, Time, Color)
  499. local Rate = (1 / 30)
  500. local Pos = (Pos or Vector3.new(0, 0, 0))
  501. local Text = (Text or "")
  502. local Time = (Time or 2)
  503. local Color = (Color or Color3.new(1, 0, 1))
  504. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  505. EffectPart.Anchored = true
  506. local BillboardGui = Create("BillboardGui"){
  507. Size = UDim2.new(3, 0, 3, 0),
  508. Adornee = EffectPart,
  509. Parent = EffectPart,
  510. }
  511. local TextLabel = Create("TextLabel"){
  512. BackgroundTransparency = 1,
  513. Size = UDim2.new(1, 0, 1, 0),
  514. Text = Text,
  515. Font = "Garamond",
  516. TextColor3 = Torso.Color,
  517. TextScaled = true,
  518. Parent = BillboardGui,
  519. }
  520. game.Debris:AddItem(EffectPart, (Time))
  521. EffectPart.Parent = game:GetService("Workspace")
  522. delay(0, function()
  523. local Frames = (Time / Rate)
  524. for Frame = 1, Frames do
  525. wait(Rate)
  526. local Percent = (Frame / Frames)
  527. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  528. TextLabel.TextTransparency = Percent
  529. end
  530. if EffectPart and EffectPart.Parent then
  531. EffectPart:Destroy()
  532. end
  533. end)
  534. end
  535.  
  536.  
  537.  
  538.  
  539. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  540. for _, c in pairs(workspace:children()) do
  541. local hum = c:findFirstChild("Humanoid")
  542. if hum ~= nil then
  543. local head = hit
  544. if head ~= nil then
  545. local targ = head.Position - Part.Position
  546. local mag = targ.magnitude
  547. if mag <= Magnitude and c.Name ~= Player.Name then
  548. CFuncs.Sound.Create("324867021", head, 1, 1)
  549. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, HitSound, HitPitch)
  550. end
  551. end
  552. end
  553. end
  554. end
  555.  
  556.  
  557. Handle=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Bright green","Handle",Vector3.new(1, 1.20000005, 1))
  558. 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))
  559. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1.20000005, 1))
  560. 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-05, 4.00039482, -5.86509705e-05, 3.83518636e-06, 8.29994678e-06, -1, 4.9972441e-06, -1.00000012, -8.29994678e-06, -1.00000012, -4.9949158e-06, -3.83518636e-06))
  561. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1, 0.0500000007))
  562. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1.20000005, 1))
  563. 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-05, -4.00035858, 0.499849081, -0.999994338, 5.56639861e-06, 1.65775418e-06, 5.24974894e-06, 0.999995232, -5.0291419e-06, -3.25776637e-06, -5.08874655e-06, -0.999990761))
  564. CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0500000007, 1, 0.600000024))
  565. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1.20000005, 1))
  566. 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-05, 3.20031929, -3.71932983e-05, 3.83518636e-06, 8.29994678e-06, -1, 4.9972441e-06, -1.00000012, -8.29994678e-06, -1.00000012, -4.9949158e-06, -3.83518636e-06))
  567. CFuncs.Mesh.Create("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.60000002, 0.400000006, 0.0500000007))
  568. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1.20000005, 1))
  569. 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-05, -4.00033379, 0.499926567, 1, -5.21628408e-06, -3.65823939e-06, 5.21626544e-06, 1, -5.09625352e-06, 3.658266e-06, 5.09623442e-06, 1))
  570. CFuncs.Mesh.Create("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0500000007, 1, 0.600000024))
  571. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1.20000005, 1))
  572. 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-05, 2.90030861, -2.95639038e-05, 3.83518636e-06, 8.29994678e-06, -1, 4.9972441e-06, -1.00000012, -8.29994678e-06, -1.00000012, -4.9949158e-06, -3.83518636e-06))
  573. CFuncs.Mesh.Create("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 0.400000006, 0.400000006))
  574. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1.20000005, 1))
  575. 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-05, 3.90782952e-06, 0.275675088, -0.961250901, 5.61308116e-06, -0.96125102, -0.275675088, -1.00000012, -4.33286186e-06, -5.2973628e-06))
  576. CFuncs.Mesh.Create("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1, 0.200000003))
  577. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1.20000005, 1))
  578. 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-05, -0.700065613, 1.33514404e-05, 3.83518636e-06, 8.29994678e-06, -1, 4.9972441e-06, -1.00000012, -8.29994678e-06, -1.00000012, -4.9949158e-06, -3.83518636e-06))
  579. CFuncs.Mesh.Create("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 0.5))
  580. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1.20000005, 1))
  581. 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-05, -5.01610339e-06, 0.258840203, 0.96592015, -3.55858356e-06, 0.96592021, -0.258840173, -1.00000012, -4.73321415e-06, -3.92459333e-06))
  582. CFuncs.Mesh.Create("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1, 0.200000003))
  583. Part=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(1, 1.20000005, 1))
  584. 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-05, 4.36306e-05, 2.00019836, 1, -5.38327731e-06, -2.46055424e-06, -2.4586916e-06, 8.36700201e-06, -1, 5.40760811e-06, 1, 8.37445259e-06))
  585. CFuncs.Mesh.Create("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1, 0.200000003))
  586. Shaft=CFuncs.Part.Create(m,Enum.Material.Plastic,0,0,"Brown","Shaft",Vector3.new(1, 3.60000014, 1))
  587. 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-05, 1.20008087, -2.24113464e-05, 3.14228237e-06, 4.38094139e-06, -1.00000012, 2.94635538e-06, -1, -4.38839197e-06, -1, -2.95066275e-06, -3.14228237e-06))
  588. CFuncs.Mesh.Create("CylinderMesh",Shaft,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1, 0.300000012))
  589. Hitbox=CFuncs.Part.Create(m,Enum.Material.Plastic,0,1,"Medium stone grey","Hitbox",Vector3.new(7, 3, 3))
  590. 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, -0.00053447485, 0.99471724, -0.102652542, -0.999858558, 0.00119461119, 0.0167820305, 0.0168160032, 0.102646977, 0.994575679))
  591.  
  592.  
  593. sref = CFuncs.Part.Create(Character, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  594. sref.Anchored = true
  595.  
  596. EffectModel = Create("Model"){
  597. Parent = Character,
  598. Name = "Effects",
  599. }
  600.  
  601. Effects = {
  602. Block = {
  603. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  604. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  605. prt.Anchored = true
  606. prt.CFrame = cframe
  607. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  608. game:GetService("Debris"):AddItem(prt, 10)
  609. if Type == 1 or Type == nil then
  610. table.insert(Effects, {
  611. prt,
  612. "Block1",
  613. delay,
  614. x3,
  615. y3,
  616. z3,
  617. msh
  618. })
  619. elseif Type == 2 then
  620. table.insert(Effects, {
  621. prt,
  622. "Block2",
  623. delay,
  624. x3,
  625. y3,
  626. z3,
  627. msh
  628. })
  629. end
  630. end;
  631. };
  632.  
  633. Cylinder = {
  634. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  635. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  636. prt.Anchored = true
  637. prt.CFrame = cframe
  638. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  639. game:GetService("Debris"):AddItem(prt, 2)
  640. table.insert(Effects, {
  641. prt,
  642. "Cylinder",
  643. delay,
  644. x3,
  645. y3,
  646. z3,
  647. msh
  648. })
  649. end;
  650. };
  651.  
  652. Head = {
  653. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  654. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  655. prt.Anchored = true
  656. prt.CFrame = cframe
  657. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  658. game:GetService("Debris"):AddItem(prt, 10)
  659. table.insert(Effects, {
  660. prt,
  661. "Cylinder",
  662. delay,
  663. x3,
  664. y3,
  665. z3,
  666. msh
  667. })
  668. end;
  669. };
  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.  
  690. Elect = {
  691. Create = function(cff, x, y, z)
  692. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("New Yeller"), "Part", Vector3.new(1, 1, 1))
  693. prt.Anchored = true
  694. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  695. prt.CFrame = CFrame.new(prt.Position)
  696. game:GetService("Debris"):AddItem(prt, 2)
  697. local xval = math.random() / 2
  698. local yval = math.random() / 2
  699. local zval = math.random() / 2
  700. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  701. table.insert(Effects, {
  702. prt,
  703. "Elec",
  704. 0.1,
  705. x,
  706. y,
  707. z,
  708. xval,
  709. yval,
  710. zval
  711. })
  712. end;
  713.  
  714. };
  715.  
  716. Ring = {
  717. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  718. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  719. prt.Anchored = true
  720. prt.CFrame = cframe
  721. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  722. game:GetService("Debris"):AddItem(prt, 10)
  723. table.insert(Effects, {
  724. prt,
  725. "Cylinder",
  726. delay,
  727. x3,
  728. y3,
  729. z3,
  730. msh
  731. })
  732. end;
  733. };
  734.  
  735.  
  736. Wave = {
  737. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  738. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  739. prt.Anchored = true
  740. prt.CFrame = cframe
  741. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  742. game:GetService("Debris"):AddItem(prt, 10)
  743. table.insert(Effects, {
  744. prt,
  745. "Cylinder",
  746. delay,
  747. x3,
  748. y3,
  749. z3,
  750. msh
  751. })
  752. end;
  753. };
  754.  
  755. Break = {
  756. Create = function(brickcolor, cframe, x1, y1, z1)
  757. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  758. prt.Anchored = true
  759. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  760. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  761. local num = math.random(10, 50) / 1000
  762. game:GetService("Debris"):AddItem(prt, 10)
  763. table.insert(Effects, {
  764. prt,
  765. "Shatter",
  766. num,
  767. prt.CFrame,
  768. math.random() - math.random(),
  769. 0,
  770. math.random(50, 100) / 100
  771. })
  772. end;
  773. };
  774.  
  775. Fire = {
  776. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  777. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  778. prt.Anchored = true
  779. prt.CFrame = cframe
  780. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  781. game:GetService("Debris"):AddItem(prt, 10)
  782. table.insert(Effects, {
  783. prt,
  784. "Fire",
  785. delay,
  786. 1,
  787. 1,
  788. 1,
  789. msh
  790. })
  791. end;
  792. };
  793.  
  794. FireWave = {
  795. Create = function(brickcolor, cframe, x1, y1, z1)
  796. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  797. prt.Anchored = true
  798. prt.CFrame = cframe
  799. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  800. local d = Create("Decal"){
  801. Parent = prt,
  802. Texture = "rbxassetid://26356434",
  803. Face = "Top",
  804. }
  805. local d = Create("Decal"){
  806. Parent = prt,
  807. Texture = "rbxassetid://26356434",
  808. Face = "Bottom",
  809. }
  810. game:GetService("Debris"):AddItem(prt, 10)
  811. table.insert(Effects, {
  812. prt,
  813. "FireWave",
  814. 1,
  815. 30,
  816. math.random(400, 600) / 100,
  817. msh
  818. })
  819. end;
  820. };
  821.  
  822. Lightning = {
  823. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  824. local magz = (p0 - p1).magnitude
  825. local curpos = p0
  826. local trz = {
  827. -ofs,
  828. ofs
  829. }
  830. for i = 1, tym do
  831. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  832. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  833. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  834. li.Material = "Neon"
  835. if tym == i then
  836. local magz2 = (curpos - p1).magnitude
  837. li.Size = Vector3.new(th, th, magz2)
  838. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  839. table.insert(Effects, {
  840. li,
  841. "Disappear",
  842. last
  843. })
  844. else
  845. do
  846. do
  847. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  848. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  849. game.Debris:AddItem(li, 10)
  850. table.insert(Effects, {
  851. li,
  852. "Disappear",
  853. last
  854. })
  855. end
  856. end
  857. end
  858. end
  859. end
  860. };
  861.  
  862. EffectTemplate = {
  863.  
  864. };
  865. }
  866.  
  867.  
  868. function ears()
  869. local quote = math.random(1, 10)
  870. if quote == 1 then
  871. ow = CFuncs.Sound.Create("276916733", Character, 10, 1)
  872. Instance.new("DistortionSoundEffect", ow).Level = .95
  873. elseif quote == 2 then
  874. ow = CFuncs.Sound.Create("222045669", Character, 10, 1)
  875. Instance.new("DistortionSoundEffect", ow).Level = .95
  876. 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)
  877. elseif quote == 3 then
  878. ow = CFuncs.Sound.Create("657527128", Character, 10, 1)
  879. Instance.new("DistortionSoundEffect", ow).Level = .95
  880. 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)
  881. elseif quote == 4 then
  882. CFuncs.Sound.Create("230292394", Character, 10, 1)
  883. 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)
  884. elseif quote == 5 then
  885. CFuncs.Sound.Create("230255621", Character, 10, 1)
  886. 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)
  887. wait(.2)
  888. 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)
  889. elseif quote == 6 then
  890. CFuncs.Sound.Create("230255698", Character, 10, 1)
  891. 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)
  892. elseif quote == 7 then
  893. CFuncs.Sound.Create("230255738", Character, 10, 1)
  894. 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)
  895. elseif quote == 8 then
  896. CFuncs.Sound.Create("230292118", Character, 10, 1)
  897. 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)
  898. elseif quote == 9 then
  899. CFuncs.Sound.Create("230292073", Character, 10, 1)
  900. 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)
  901. elseif quote == 10 then
  902. ow = CFuncs.Sound.Create("225279648", Character, 10, 1)
  903. Instance.new("DistortionSoundEffect", ow).Level = .95
  904. 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)
  905. end
  906. end
  907.  
  908.  
  909.  
  910.  
  911.  
  912. function joj()
  913. while oof == true do
  914. attack = true
  915. local con = Hitbox.Touched:connect(function(hit)
  916. Damage(Hitbox, hit, 0, 0, math.random(300,300), "Normal", RootPart, 0.2, "148862502", 1)end)
  917. CFuncs.Sound.Create("233856140", Hitbox, 10, 1)
  918. for i = 0, 1, 0.1 do
  919. swait()
  920. PlayAnimationFromTable({
  921. CFrame.new(0.318533748, 1.11758709e-08, -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),
  922. 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),
  923. 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),
  924. 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),
  925. 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),
  926. 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),
  927. }, .3, false)
  928. end
  929. for i = 0, 1, 0.1 do
  930. swait()
  931. PlayAnimationFromTable({
  932. CFrame.new(-0.70452857, 1.34110451e-07, -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),
  933. 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),
  934. 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),
  935. 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),
  936. 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),
  937. 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),
  938. }, .3, false)
  939. end
  940. con:Disconnect()
  941. attack = false
  942. end
  943. end
  944.  
  945. Mouse.Button1Down:connect(function()
  946. if attack == false and oof == false then
  947. oof = true
  948. joj()
  949. end
  950. end)
  951.  
  952.  
  953.  
  954. Mouse.Button1Up:connect(function()
  955. if attack == true and oof == true then
  956. oof = false
  957. end
  958. end)
  959.  
  960.  
  961.  
  962.  
  963. Mouse.KeyDown:connect(function(k)
  964. k = k:lower()
  965. if k == 't' then
  966. ears()
  967. end
  968. end)
  969.  
  970. while true do
  971. swait()
  972. sref.CFrame = RightArm.CFrame * CFrame.new(0, -1.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  973. for i, v in pairs(Character:GetChildren()) do
  974. if v:IsA("Part") then
  975. v.Material = "SmoothPlastic"
  976. elseif v:IsA("Accessory") then
  977. v:WaitForChild("Handle").Material = "SmoothPlastic"
  978. end
  979. end
  980. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  981. velocity = RootPart.Velocity.y
  982. sine = sine + change
  983. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  984. if RootPart.Velocity.y > 1 and hit == nil then
  985. Anim = "Jump"
  986. if attack == false then
  987. PlayAnimationFromTable({
  988. 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),
  989. 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),
  990. 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),
  991. 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),
  992. CFrame.new(0.499997795, -1.71809137, -0.102601528, 0.984807849, 3.55863392e-007, -0.173647791, 0.0593907312, 0.939692557, 0.336824298, 0.163175657, -0.342020214, 0.925416589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  993. 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),
  994. }, .3, false)
  995. end
  996. elseif RootPart.Velocity.y < -1 and hit == nil then
  997. Anim = "Fall"
  998. if attack == false then
  999. PlayAnimationFromTable({
  1000. 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),
  1001. 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),
  1002. 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),
  1003. 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),
  1004. 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),
  1005. 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),
  1006. }, .3, false)
  1007. end
  1008. elseif Torsovelocity < 1 and hit ~= nil then
  1009. Anim = "Idle"
  1010. if attack == false then
  1011. change = 1
  1012. PlayAnimationFromTable({
  1013. CFrame.new(1.90734863e-06, 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),
  1014. CFrame.new(-1.90734863e-06, 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),
  1015. 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),
  1016. 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),
  1017. 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),
  1018. 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),
  1019. }, .3, false)
  1020. end
  1021. elseif Torsovelocity > 2 and hit ~= nil then
  1022. Anim = "Walk"
  1023. if attack == false then
  1024. change = 2
  1025. PlayAnimationFromTable({
  1026. CFrame.new(1.90734863e-06, 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),
  1027. CFrame.new(-1.90734863e-06, 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),
  1028. 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),
  1029. 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),
  1030. CFrame.new(.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)),
  1031. CFrame.new(-.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)),
  1032. }, .3, false)
  1033. end
  1034. end
  1035. if 0 < #Effects then
  1036. for e = 1, #Effects do
  1037. if Effects[e] ~= nil then
  1038. local Thing = Effects[e]
  1039. if Thing ~= nil then
  1040. local Part = Thing[1]
  1041. local Mode = Thing[2]
  1042. local Delay = Thing[3]
  1043. local IncX = Thing[4]
  1044. local IncY = Thing[5]
  1045. local IncZ = Thing[6]
  1046. if Thing[2] == "Shoot" then
  1047. local Look = Thing[1]
  1048. local move = 5
  1049. local hit, pos = rayCast(Thing[4], Thing[1], move, Character)
  1050. if Thing[10] ~= nil then
  1051. da = pos
  1052. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1053. cfa = CFrame.new(Thing[4], pos)
  1054. tehCF = cfa:lerp(cf2, 0.2)
  1055. Thing[1] = tehCF.lookVector
  1056. end
  1057. local mag = (Thing[4] - pos).magnitude
  1058. Effects.Elect.Create(CFrame.new((Thing[4] + pos) / 2, pos), 4, 4, 4)
  1059. 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)
  1060. Thing[4] = Thing[4] + Look * move
  1061. Thing[3] = Thing[3] - 1
  1062. if 2 < Thing[5] then
  1063. Thing[5] = Thing[5] - 0.3
  1064. Thing[6] = Thing[6] - 0.3
  1065. end
  1066. if hit ~= nil then
  1067. Thing[3] = 0
  1068. MagnitudeDamage(hit, 5, 10, 15, 0, "Normal", "161006093", 0.8)
  1069. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  1070. ref.Anchored = true
  1071. ref.CFrame = CFrame.new(pos)
  1072. Effects.Block.Create(BrickColor.new("New Yeller"), CFrame.new(pos), 1, 1, 1, 2, 2, 2, .05)
  1073. Effects.Sphere.Create(BrickColor.new("New Yeller"), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.03)
  1074. game:GetService("Debris"):AddItem(ref, 1)
  1075. end
  1076. if Thing[3] <= 0 then
  1077. table.remove(Effects, e)
  1078. end
  1079. end
  1080. do
  1081. do
  1082. if Thing[2] == "FireWave" then
  1083. if Thing[3] <= Thing[4] then
  1084. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1085. Thing[3] = Thing[3] + 1
  1086. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1087. else
  1088. Part.Parent = nil
  1089. table.remove(Effects, e)
  1090. end
  1091. end
  1092. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1093. if Thing[1].Transparency <= 1 then
  1094. if Thing[2] == "Block1" then
  1095. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1096. Mesh = Thing[7]
  1097. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1098. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1099. else
  1100. if Thing[2] == "Block2" then
  1101. Thing[1].CFrame = Thing[1].CFrame
  1102. Mesh = Thing[7]
  1103. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1104. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1105. else
  1106. if Thing[2] == "Fire" then
  1107. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1108. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1109. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1110. else
  1111. if Thing[2] == "Cylinder" then
  1112. Mesh = Thing[7]
  1113. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1114. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1115. else
  1116. if Thing[2] == "Blood" then
  1117. Mesh = Thing[7]
  1118. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1119. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1120. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1121. else
  1122. if Thing[2] == "Elec" then
  1123. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  1124. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1125. else
  1126. if Thing[2] == "Disappear" then
  1127. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1128. end
  1129. end
  1130. end
  1131. end
  1132. end
  1133. end
  1134. end
  1135. else
  1136. Part.Parent = nil
  1137. table.remove(Effects, e)
  1138. end
  1139. end
  1140. end
  1141. end
  1142. end
  1143. end
  1144. end
  1145. end
  1146. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement