Search
 
SCRIPT & CODE EXAMPLE
 

LUA

roblox studio rain

while true do	--infinite loop until it broken (forced to stop)
	
	local z = math.random(-255,255)
	local y = 100
	local x = math.random(-255,255)
	
	wait(0.003)	--so the game doesnt crash
	local newpart = Instance.new("Part",game.Workspace.rain)	--making rain, setting its location and properties
	newpart.Name = "i am part"
	newpart.Anchored = false
	newpart.Position = Vector3.new(x, y, z)
	newpart.Size =Vector3.new(1,2,1)
	newpart.Transparency = 0.5
	newpart.Color = Color3.new(0, 0.713725, 0.713725)
	newpart.Material = Enum.Material.SmoothPlastic
	newpart.CanCollide = false
	
end
Comment

PREVIOUS NEXT
Code Example
Lua :: lua counting 
Lua :: how to stop code roblo 
Lua :: What is CanCollide in roblox? 
Lua :: Roblox Luau Wait Alternative 
Lua :: convert number to string lua 
Lua :: lua how to delete a part for roblox 
Lua :: roblox add attribute 
Lua :: attempt to call a string value lua 
Lua :: LUKAO150 
Lua :: How to make a working gun in lua code 
Lua :: how to make a run in roblox lua 
Lua :: table.move lua 
Lua :: How to use Humanoids in Roblox Lua 
Matlab :: matlab for loop matrix 
Matlab :: matlab preallocate array size 
Matlab :: : in matlab 
Matlab :: matlab switch figure 
Basic :: how to round a number in visual basic 
Basic :: how to simulate tail in dos/cmd without tail 
Elixir :: what is elixir language 
Elixir :: phoenix run test 
Scala :: scala string to lower case 
Scala :: scala list all permutations 
Actionscript :: silk road block-cypher 
Excel :: and function in excel 
Perl :: perl 
Pascal :: pascal while 
Powershell :: powershell show which diorecty is temp 
Abap :: comments in abap 
Assembly :: add text to image ffmpeg command 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =