Floating Brick

From Goodblox Wiki
Jump to navigationJump to search

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.


See Also