Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What dose Argument 1 missing or nil?

Idk what is wrong with this is was working fine than stoppted and said

Argument 1 missing or nil
01:56:16.781 - Stack Begin
01:56:16.781 - Script 'terrain=workspace.Terrain
cfram=CFrame.new(50,8,350)
size=Vector3.new(700,2,101)

terrain:FillBlock(cframe,size,Enum.Material.Water)', Line 5
01:56:16.782 - Stack End


here is my scrip

terrain=workspace.Terrain
cfram=CFrame.new(50,8,350)
size=Vector3.new(700,2,101)

terrain:FillBlock(cframe,size,Enum.Material.Water)

3 comments

0

cframe should be the same name as your variable, cfram

0

The script should work.

1 answer

Seems like you forgot the 'e' in your first argument for "FillBlock" This code should work.

local Terrain = workspace.Terrain
local cframe = CFrame.new(50,8,350)
local size = Vector3.new(700,2,101)

Terrain:FillBlock(cframe,size,Enum.Material.Water)

Please accept it this helped.

This discussion is preserved as it was. New answers, comments, and votes are closed.