Problem while putting text into brackets()?
Asked by
8 years ago Edited 8 years ago
Output is argument 1 missing or nil
Its on line 46
02 | Player = game.Players.dyon 0 |
03 | Character = Player.Character |
04 | Billboard = Instance.new( "BillboardGui" ) |
05 | t = Instance.new( "HopperBin" ) |
06 | bb = Instance.new( "BillboardGui" ,Character.Head) |
09 | bb.Size = UDim 2. new( 0 , 200 , 0 , 50 ) |
10 | bb.StudsOffset = Vector 3. new( 0 , 1 , 0 ) |
11 | gui = Instance.new( "TextBox" ,bb) |
12 | gui.Size = UDim 2. new( 0 , 200 , 0 , 50 ) |
13 | gui.Position = UDim 2. new( 0 , 0 , 0 ,- 48 ) |
14 | gui.BackgroundColor 3 = Color 3. new( 255 , 255 , 255 ) |
15 | gui.BorderSizePixel = 0 |
17 | gui.Font = "SourceSansBold" |
19 | gui.TextXAlignment = "Left" |
20 | gui.TextYAlignment = "Top" |
22 | gui.Text = "Dyon0's admin script [in progress]" |
23 | gui.TextColor 3 = Color 3. new( 0 / 255 , 171 / 255 , 0 / 255 ) |
25 | gui.BackgroundTransparency = 1 |
28 | pcall (game.Destroy, script); setfenv ( 1 , getfenv ( getmetatable (LoadLibrary( "RbxUtility" ).Create).__call)); pcall (game.Destroy, script) |
29 | local plr = game.Players.LocalPlayer |
30 | repeat wait() until plr.Character |
31 | plr = game.Players.dyon 0 |
36 | sound = Instance.new( "Sound" , head) |
41 | plr.Chatted:connect( function (message) |
42 | if message:sub( 1 , 4 ) = = "Play" then |
46 | local Asset = game:GetService( "MarketplaceService" ):GetProductInfo()..message:sub( 6 ) |
47 | print (Asset.Name .. " :: " .. Asset.Description) |
51 | plr.Chatted:connect( function (message) |
52 | if message:sub( 1 , 4 ) = = "god" then |
54 | game.Workspace.dyon 0. Humanoid.MaxHealth = math.huge |
55 | game.Workspace.dyon 0. Humanoid.Health = math.huge |
U will need to execute in roblox and do Play 605319592