Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --ignore shitty indenting--
- print("You've created the Fuckball! Script Created by Furrtren!~ Let's cause some chaos!")
- local tool = Instance.new("Tool")
- tool.Name = "Fuckball"
- tool.Parent = game:GetService("Players").LocalPlayer.Backpack
- tool.ToolTip = "Fuckball: SDC"
- local player = game.Players.LocalPlayer
- local char = player.Character
- -- Construct Corruption Ball Model --
- local corball = Instance.new("Part", tool)
- corball.Name = "Handle"
- corball.Size = Vector3.new(2.066, 2.066, 2.066)
- corball.Color = Color3.new(0,0,1)
- corball.Reflectance = -255
- local coreye = Instance.new("Part", tool)
- coreye.Name = "CorBall_Eye"
- coreye.Size = Vector3.new(1.649, 1.649, 1.649)
- local corball_inner = Instance.new("Part", tool)
- corball_inner.Name = "CorBall_Inner"
- corball_inner.Size = Vector3.new(1.649, 1.649, 1.649)
- corball_inner.Color = Color3.new(0,0,0)
- corball_inner.Reflectance = -255
- local corball_mesh = Instance.new("SpecialMesh", corball)
- corball_mesh.MeshId = "rbxassetid://7962048236"
- local corball_innermesh = Instance.new("SpecialMesh", corball_inner)
- corball_innermesh.MeshId = "rbxassetid://1185246"
- corball_innermesh.Scale = Vector3.new(2.2,2.2,2.2)
- local corball_eyemesh = Instance.new("SpecialMesh", coreye)
- corball_eyemesh.MeshId = "rbxassetid://1185246"
- corball_eyemesh.TextureId = "rbxassetid://1185259"
- corball_eyemesh.Scale = Vector3.new(2, 2, 2)
- -- Create Corruption Ball Welds --
- --[[
- local corballjoint = Instance.new("Motor6D", corball)
- corballjoint.C0 = CFrame.new(-0.000366210938, 0.000168800354, 9.15527344e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- corballjoint.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- corballjoint.Part0 = char.RightHand
- corballjoint.Part1 = corball
- ]]--
- local weldinner = Instance.new("Weld", corball)
- weldinner.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- weldinner.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- weldinner.Part0 = corball
- weldinner.Part1 = corball_inner
- local weldeye = Instance.new("Weld", corball)
- weldeye.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- weldeye.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- weldeye.Part0 = corball
- weldeye.Part1 = coreye
- -- Create Corruption Ball Sounds --
- local corruptsnd = Instance.new("Sound", corball)
- corruptsnd.Volume = 1
- corruptsnd.SoundId = "rbxassetid://7534241209"
- corruptsnd.Name = "CorruptSound"
- local idlesnd = Instance.new("Sound", corball)
- idlesnd.Volume = 0.75
- idlesnd.SoundId = "rbxassetid://7534243384"
- idlesnd.Name = "Idle"
- idlesnd.Looped = true
- local spawnsnd = Instance.new("Sound", corball)
- spawnsnd.Volume = 1
- spawnsnd.SoundId = "rbxassetid://7534244720"
- spawnsnd.Name = "Spawn"
- -- Create Corruption Ball Particles --
- local atchpnt = Instance.new("Attachment", corball)
- local particles = Instance.new("ParticleEmitter", atchpnt)
- atchpnt.Name = "Waves"
- particles.Brightness = 1
- particles.Texture = "rbxassetid://7534413792"
- local colorKeypoints = {
- -- API: ColorSequenceKeypoint.new(time, color)
- ColorSequenceKeypoint.new( 0, Color3.new(1, 1, 1)), -- At t=0, White
- ColorSequenceKeypoint.new( 1, Color3.new(1, 1, 1)) -- At t=1, Red
- }
- particles.Color = ColorSequence.new(colorKeypoints)
- particles.LightEmission = 0.25
- particles.LightInfluence = 0
- local numberKeypoints = {
- -- API: NumberSequenceKeypoint.new(time, size, envelop)
- NumberSequenceKeypoint.new(0, 0); -- At t=0, fully transparent
- NumberSequenceKeypoint.new(.2, 0); -- At t=.1, fully opaque
- NumberSequenceKeypoint.new(.2, 1); -- At t=.5, mostly opaque
- NumberSequenceKeypoint.new(1, 1); -- At t=1, fully transparent
- }
- particles.Transparency = NumberSequence.new(numberKeypoints)
- local numberKeypoints2 = {
- NumberSequenceKeypoint.new(0, 0); -- At t=0, size of 0
- NumberSequenceKeypoint.new(.2, 10); -- At t=1, size of 10
- NumberSequenceKeypoint.new(1, 10); -- At t=1, size of 10
- }
- particles.Size = NumberSequence.new(numberKeypoints2)
- particles.EmissionDirection = Enum.NormalId.Top
- particles.Speed = NumberRange.new(0,0)
- particles.Lifetime = NumberRange.new(1,1)
- particles.Rate = 0
- particles.Rotation = NumberRange.new(0,0)
- particles.RotSpeed = NumberRange.new(0,0)
- particles.Speed = NumberRange.new(0,0)
- particles.SpreadAngle = Vector2.new(0,0)
- particles.LockedToPart = true
- particles.TimeScale = 0.5
- particles.Name = "Wave"
- -- Fuck the world code. --
- local cooldown = false
- -- Tween Service Example thanks to DevForum. --
- local tweenService = game:GetService("TweenService")
- local Info = TweenInfo.new(
- .1, --Length (in seconds, change this number to whatever)
- Enum.EasingStyle.Bounce, --Easing Style (replace Sine to whatever easing style)
- Enum.EasingDirection.Out, --you can use In, Out, and InOut
- 0, --Times the Tween repeats. (0 repeats 1 time, 1 repeats 2 times etc)
- false, --If you don't want the TweenService to reverse back to it's previous properties, set this to false.
- 0
- )
- -- This Tween plays every time the ball registers a hit on an object. --
- tool.Equipped:Connect(function()
- corball.Spawn:Play()
- corball.Idle:Play()
- corball.Waves.Wave:Emit(1)
- wait(.1)
- corball.Waves.Wave:Emit(1)
- wait(.1)
- corball.Waves.Wave:Emit(1)
- wait(.1)
- corball.Waves.Wave:Emit(1)
- wait(.1)
- corball.Corrupt.Disabled=false
- end)
- tool.Unequipped:Connect(function()
- corball.Idle:Stop()
- end)
- while true do
- wait()
- corball.Touched:connect(function(hit)
- if hit and hit.Parent and cooldown == false then
- cooldown = true
- local RandomSizeX = math.random(1, 1000)/10
- local RandomSizeY = math.random(1, 1000)/10
- local RandomSizeZ = math.random(1, 1000)/10
- --hit.Parent.Size = Vector3.new(RandomSize, RandomSize, RandomSize)
- corball.CorruptSound.PlaybackSpeed=math.random(1, 20) / 10
- corball.CorruptSound:Play()
- local part = hit
- local goal = {Size = Vector3.new(RandomSizeX, RandomSizeY, RandomSizeZ)}
- local tween = tweenService:Create(part, Info, goal)
- tween:Play()
- wait(0.07)
- cooldown=false
- end
- end)
- end
Add Comment
Please, Sign In to add comment