Floating Brick

From Goodblox Wiki
Revision as of 16:44, 22 June 2020 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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