Categories > Coding > Lua >
(Can someone help me im new from scripting) Expected identifer when parsing method name, got "Tab"
Posted
Replied
Maybe boot the lib and make a tab first if u got anymore questions feel free to contact me on discord : L1QU1D069#4242
-- boot the lib
local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
-- create the tab
local Window = OrionLib:MakeWindow({Name = "Title of the library", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})
Cancel
Post
Atonix Discord
https://discord.gg/hpQVuAyccJ
Replied
Lua doesn't set table fields like JavaScript. You want to use the assign ("=") operator to set a field.
https://i.imgur.com/Pskxf9s.png
{
Name = "Tab",
Icon = "rbxassetid://4483345998",
PremiumOnly = false
}
Cancel
Post
Replied
https://media.discordapp.net/attachments/1087065142195388458/1091370097161023579/image.png
Cancel
Post
Replied
@atariXD I don't follow that convention at all
Cancel
Post
Replied
@atariXD, i used the docs on github
Cancel
Post
Atonix Discord
https://discord.gg/hpQVuAyccJ
Replied
I think making a website like you is an advantage for you, I am very happy to share my feelings with everyone, I am very passionate about the game because it is very interesting. Please take the time to experience with me here: trap the cat
Cancel
Post
Replied
you should consider switching to rayfield, orion is discontinued
Cancel
Post
https://i.imgur.com/21V9TOF.png
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post