[TITLE UNAVAILABLE]
65.1k Views
23 Executions

Bouncy house ting

Roblox
thisaccisbored1
thisaccisbored1Published 10
2 years ago
Please login to perform these actions:

Bouncy house ting is a Roblox script, uploaded to ScriptBlox on Sep 9, 2024.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

the baseplate is not the game it was made for but its recomended. f to delete

View Raw
local UserInputService = game:GetService("UserInputService")

local spheres = {}


local function createSpherePart(position)

    local spherePart = Instance.new("Part")
    spherePart.Size = Vector3.new(4, 4, 4) 
    spherePart.Position = position
    spherePart.Anchored = false 
    spherePart.CanCollide = true
    spherePart.Shape = Enum.PartType.Ball 
    spherePart.Material = Enum.Material.SmoothPlastic
    spherePart.Color = Color3.fromRGB(math.random(0, 255), math.random(0, 255), math.random(0, 255)) 

    -- Create BodyVelocity to control initial bounce
    local bodyVelocity = Instance.new("BodyVelocity")
    bodyVelocity.Velocity = Vector3.new(math.random(-5, 5), math.random(10, 15), math.random(-5, 5)) 
    bodyVelocity.MaxForce = Vector3.new(5000, 5000, 5000)
    bodyVelocity.Parent = spherePart


    local bodyGyro = Instance.new("BodyGyro")
    bodyGyro.P = 3000
    bodyGyro.D = 100
    bodyGyro.Parent = spherePart


    local bodyForce = Instance.new("BodyForce")
    bodyForce.Force = Vector3.new(0, -400, 0) --gravity
    bodyForce.Parent = spherePart


    spherePart.Parent = game.Workspace


    table.insert(spheres, spherePart)
end



Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!