Easy Written By KOMKO190

Changing Properties Created on: 01-01-2019

Change properties through script!

Why would we change properties through script?

Well,if you change properties through a script some bugs could be prevented.

How to do it?

First we need to find where is block placed. Usually when you spawn it is in Workspace. If you have multiple objects named for example "Block" rename one of them OR add number behind them. It will prevent changing multiple objects at once.

Into script you should specify where is the block placed. Make local variable.

You can change "block" to anything you like!

local block = game.Workspace.Block
--Also this script below will also work!
local block = workspace.Block

Now find which property you want to change. Let's say we want to change Transparency. We would type this: (Also keep in mind previous part of the script is needed!)

local block = game.Workspace.Block
--Also this script below will also work!
local block = workspace.Block

block.Transparency = 1

Now transparency is changed to 1! You can edit other properties like this!

Thank you for following my tutorial!

It is my first tutorial :D Have fun learning!

Easy Written By KOMKO190

See KOMKO190's profile on Roblox

Discussion