Arcaneee

fuckball

Dec 13th, 2022 (edited)
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.93 KB | None | 0 0
  1. --ignore shitty indenting--
  2.  
  3. print("You've created the Fuckball! Script Created by Furrtren!~ Let's cause some chaos!")
  4. local tool = Instance.new("Tool")
  5. tool.Name = "Fuckball"
  6. tool.Parent = game:GetService("Players").LocalPlayer.Backpack
  7. tool.ToolTip = "Fuckball: SDC"
  8.  
  9. local player = game.Players.LocalPlayer
  10. local char = player.Character
  11.  
  12. -- Construct Corruption Ball Model --
  13. local corball = Instance.new("Part", tool)
  14. corball.Name = "Handle"
  15. corball.Size = Vector3.new(2.066, 2.066, 2.066)
  16. corball.Color = Color3.new(0,0,1)
  17. corball.Reflectance = -255
  18. local coreye = Instance.new("Part", tool)
  19. coreye.Name = "CorBall_Eye"
  20. coreye.Size = Vector3.new(1.649, 1.649, 1.649)
  21. local corball_inner = Instance.new("Part", tool)
  22. corball_inner.Name = "CorBall_Inner"
  23. corball_inner.Size = Vector3.new(1.649, 1.649, 1.649)
  24. corball_inner.Color = Color3.new(0,0,0)
  25. corball_inner.Reflectance = -255
  26. local corball_mesh = Instance.new("SpecialMesh", corball)
  27. corball_mesh.MeshId = "rbxassetid://7962048236"
  28. local corball_innermesh = Instance.new("SpecialMesh", corball_inner)
  29. corball_innermesh.MeshId = "rbxassetid://1185246"
  30. corball_innermesh.Scale = Vector3.new(2.2,2.2,2.2)
  31. local corball_eyemesh = Instance.new("SpecialMesh", coreye)
  32. corball_eyemesh.MeshId = "rbxassetid://1185246"
  33. corball_eyemesh.TextureId = "rbxassetid://1185259"
  34. corball_eyemesh.Scale = Vector3.new(2, 2, 2)
  35.  
  36. -- Create Corruption Ball Welds --
  37.  
  38. --[[
  39. local corballjoint = Instance.new("Motor6D", corball)
  40. corballjoint.C0 = CFrame.new(-0.000366210938, 0.000168800354, 9.15527344e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  41. corballjoint.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  42. corballjoint.Part0 = char.RightHand
  43. corballjoint.Part1 = corball
  44. ]]--
  45. local weldinner = Instance.new("Weld", corball)
  46. weldinner.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  47. weldinner.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  48. weldinner.Part0 = corball
  49. weldinner.Part1 = corball_inner
  50. local weldeye = Instance.new("Weld", corball)
  51. weldeye.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  52. weldeye.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  53. weldeye.Part0 = corball
  54. weldeye.Part1 = coreye
  55.  
  56. -- Create Corruption Ball Sounds --
  57.  
  58. local corruptsnd = Instance.new("Sound", corball)
  59. corruptsnd.Volume = 1
  60. corruptsnd.SoundId = "rbxassetid://7534241209"
  61. corruptsnd.Name = "CorruptSound"
  62.  
  63. local idlesnd = Instance.new("Sound", corball)
  64. idlesnd.Volume = 0.75
  65. idlesnd.SoundId = "rbxassetid://7534243384"
  66. idlesnd.Name = "Idle"
  67. idlesnd.Looped = true
  68.  
  69. local spawnsnd = Instance.new("Sound", corball)
  70. spawnsnd.Volume = 1
  71. spawnsnd.SoundId = "rbxassetid://7534244720"
  72. spawnsnd.Name = "Spawn"
  73.  
  74.  
  75. -- Create Corruption Ball Particles --
  76.  
  77. local atchpnt = Instance.new("Attachment", corball)
  78. local particles = Instance.new("ParticleEmitter", atchpnt)
  79.  
  80. atchpnt.Name = "Waves"
  81.  
  82. particles.Brightness = 1
  83. particles.Texture = "rbxassetid://7534413792"
  84.  
  85. local colorKeypoints = {
  86.     -- API: ColorSequenceKeypoint.new(time, color)
  87.     ColorSequenceKeypoint.new( 0, Color3.new(1, 1, 1)),  -- At t=0, White
  88.     ColorSequenceKeypoint.new( 1, Color3.new(1, 1, 1))   -- At t=1, Red
  89. }
  90.  
  91. particles.Color = ColorSequence.new(colorKeypoints)
  92. particles.LightEmission = 0.25
  93. particles.LightInfluence = 0
  94.  
  95. local numberKeypoints = {
  96.     -- API: NumberSequenceKeypoint.new(time, size, envelop)
  97.     NumberSequenceKeypoint.new(0, 0);    -- At t=0, fully transparent
  98.     NumberSequenceKeypoint.new(.2, 0);    -- At t=.1, fully opaque
  99.     NumberSequenceKeypoint.new(.2, 1);  -- At t=.5, mostly opaque
  100.     NumberSequenceKeypoint.new(1, 1);    -- At t=1, fully transparent
  101. }
  102.  
  103. particles.Transparency = NumberSequence.new(numberKeypoints)
  104.  
  105. local numberKeypoints2 = {
  106.     NumberSequenceKeypoint.new(0, 0);  -- At t=0, size of 0
  107.     NumberSequenceKeypoint.new(.2, 10); -- At t=1, size of 10
  108.     NumberSequenceKeypoint.new(1, 10); -- At t=1, size of 10
  109. }
  110. particles.Size = NumberSequence.new(numberKeypoints2)
  111.  
  112. particles.EmissionDirection = Enum.NormalId.Top
  113. particles.Speed = NumberRange.new(0,0)
  114. particles.Lifetime = NumberRange.new(1,1)
  115. particles.Rate = 0
  116. particles.Rotation = NumberRange.new(0,0)
  117. particles.RotSpeed = NumberRange.new(0,0)
  118. particles.Speed = NumberRange.new(0,0)
  119. particles.SpreadAngle = Vector2.new(0,0)
  120. particles.LockedToPart = true
  121. particles.TimeScale = 0.5
  122.  
  123. particles.Name = "Wave"
  124.  
  125. -- Fuck the world code. --
  126. local cooldown = false
  127.  
  128. -- Tween Service Example thanks to DevForum. --
  129. local tweenService = game:GetService("TweenService")
  130. local Info = TweenInfo.new(
  131.     .1, --Length (in seconds, change this number to whatever)
  132.     Enum.EasingStyle.Bounce, --Easing Style (replace Sine to whatever easing style)
  133.     Enum.EasingDirection.Out, --you can use In, Out, and InOut
  134.     0, --Times the Tween repeats. (0 repeats 1 time, 1 repeats 2 times etc)
  135.     false, --If you don't want the TweenService to reverse back to it's previous properties, set this to false.
  136.     0
  137. )
  138. -- This Tween plays every time the ball registers a hit on an object.  --
  139.  
  140. tool.Equipped:Connect(function()
  141.     corball.Spawn:Play()
  142.     corball.Idle:Play()
  143.     corball.Waves.Wave:Emit(1)
  144.     wait(.1)
  145.     corball.Waves.Wave:Emit(1)
  146.     wait(.1)
  147.     corball.Waves.Wave:Emit(1)
  148.     wait(.1)
  149.     corball.Waves.Wave:Emit(1)
  150.     wait(.1)
  151.     corball.Corrupt.Disabled=false
  152. end)
  153.  
  154. tool.Unequipped:Connect(function()
  155.     corball.Idle:Stop()
  156. end)
  157.  
  158. while true do
  159.     wait()
  160.     corball.Touched:connect(function(hit)
  161.         if hit and hit.Parent and cooldown == false then
  162.             cooldown = true
  163.             local RandomSizeX = math.random(1, 1000)/10
  164.             local RandomSizeY = math.random(1, 1000)/10
  165.             local RandomSizeZ = math.random(1, 1000)/10
  166.             --hit.Parent.Size = Vector3.new(RandomSize, RandomSize, RandomSize)
  167.             corball.CorruptSound.PlaybackSpeed=math.random(1, 20) / 10
  168.             corball.CorruptSound:Play()
  169.             local part = hit
  170.             local goal = {Size = Vector3.new(RandomSizeX, RandomSizeY, RandomSizeZ)}
  171.             local tween = tweenService:Create(part, Info, goal)
  172.             tween:Play()
  173.             wait(0.07)
  174.             cooldown=false
  175.         end    
  176.     end)
  177. end  
Add Comment
Please, Sign In to add comment