Floating Brick: Difference between revisions
From Goodblox Wiki
Jump to navigationJump to search
Pizzaboxer (talk | contribs) (Created page with "{{CatUp|Tutorials}} __TOC__ ==Introduction== This tutorial will cover how to make a brick float without anchoring it. ==Script== <pre> local b = Instance.new("BodyForce") b...") |
(No difference)
|
Latest revision as of 16:44, 22 June 2020
Introduction
This tutorial will cover how to make a brick float without anchoring it.
Script
local b = Instance.new("BodyForce")
b.Parent = script.Parent
b.force = Vector3.new(0,b.Parent:GetMass()*196.2, 0)
script:remove()
Just put this script into the part you want to float and you will get a floating brick. If you touch this brick, it will keep moving until something stops it.