generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Plug-In Output

Previous Thread :: Next Thread 
timothyrulze is not online. timothyrulze
Joined: 18 Nov 2008
Total Posts: 746
21 Jan 2012 08:26 PM
I am making a Plug-In, when I made just one little tweek to it, it always says:
FogAdjust.lua:2: 'end' expected near 'eof' (Add <> between the eof)
In the output. My script:
g = nil self = PluginManager():CreatePlugin() toolbar = self:CreateToolbar("Fog Adjust")
toolbarbutton = toolbar:CreateButton("Fog Adjuster", "Adjust Fog", "FogPic.png") toolbarbutton.Click:connect(function() if g == nil then local RbxGui = LoadLibrary("RbxGui") g = Instance.new("ScreenGui", game:GetService("CoreGui")) frame = Instance.new("Frame") frame.Parent = g frame.Size = UDim2.new(0,300,0,140) frame.Position = UDim2.new(0,300,0,300) frame.BackgroundColor3 = Color3.new(178,178,178) frame.BorderColor3 = Color3.new(178,178,178) text1 = Instance.new("TextLabel") g = nil self = PluginManager():CreatePlugin() toolbar = self:CreateToolbar("Fog Adjust") toolbarbutton = toolbar:CreateButton("Fog Adjuster", "Adjust Fog", "FogPic.png") toolbarbutton.Click:connect(function() if g == nil then local RbxGui = LoadLibrary("RbxGui") g = Instance.new("ScreenGui", game:GetService("CoreGui")) frame = Instance.new("Frame") frame.Parent = g frame.Size = UDim2.new(0,300,0,140) frame.Position = UDim2.new(0,300,0,300) frame.BackgroundColor3 = Color3.new(178,178,178) frame.BorderColor3 = Color3.new(178,178,178) text1 = Instance.new("TextLabel") text1.Parent = frame text1.TextColor3 = Color3.new(255,255,255) text1.Text = "Fog Adjuster" text1.Position = UDim2.new(0,150,0,20) text1.FontSize = Enum.FontSize.Size24 text2 = Instance.new("TextLabel") text2.Parent = frame text2.Text = "Made By timothyrulze" text2.TextColor3 = Color3.new(255,255,255) text2.FontSize = Enum.FontSize.Size14 text2.Position = UDim2.new(0,150,0,45) start = Instance.new("TextBox") start.Size = UDim2.new(0,250,0,20) start.Position = UDim2.new(0,25,0,60) start.TextColor3 = Color3.new(255,255,255) start.BackgroundColor3 = Color3.new(102,255,255) start.BorderColor3 = Color3.new(102,255,255) start.Text = "FogStart" start.Parent = frame start.FontSize = Enum.FontSize.Size14 second = Instance.new("TextBox") second.Size = UDim2.new(0,250,0,20) second.Position = UDim2.new(0,25,0,90) second.TextColor3 = Color3.new(255,255,255) second.BackgroundColor3 = Color3.new(102,255,255) second.BorderColor3 = Color3.new(102,255,255) second.Text = "FogEnd" second.Parent = frame second.FontSize = Enum.FontSize.Size14 tbutton = Instance.new("TextButton") tbutton.Parent = frame tbutton.Size = UDim2.new(0,250,0,20) tbutton.Position = UDim2.new(0,25,0,115) tbutton.TextColor3 = Color3.new(255,255,255) tbutton.Text = "Change" tbutton.BackgroundColor3 = Color3.new(0,255,0) tbutton.BorderColor3 = Color3.new(0,255,0) tbutton.MouseButton1Click:connect(function() game.Lighting.FogStart = start.Text game.Lighting.FogEnd = second.Text end) else g:remove() g = nil end end)
Report Abuse
timothyrulze is not online. timothyrulze
Joined: 18 Nov 2008
Total Posts: 746
21 Jan 2012 08:28 PM
I hope I dont have to restart. It took me over an hour to type. T_T
Report Abuse
timothyrulze is not online. timothyrulze
Joined: 18 Nov 2008
Total Posts: 746
21 Jan 2012 08:30 PM
ANYONE!?!?
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
21 Jan 2012 08:30 PM
I have no idea what line 2 is, but it seems you're missing an end.
Report Abuse
timothyrulze is not online. timothyrulze
Joined: 18 Nov 2008
Total Posts: 746
21 Jan 2012 08:30 PM
Where?
Report Abuse
timothyrulze is not online. timothyrulze
Joined: 18 Nov 2008
Total Posts: 746
21 Jan 2012 08:32 PM
Can you please tell me where to add an end?
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
21 Jan 2012 08:33 PM
Around line 2. I don't know where line 2 is because the text is so disorganized, and I'm not going to take the time to attempt to find line 2. If you clean up your code, I will be willing to help.
Report Abuse
timothyrulze is not online. timothyrulze
Joined: 18 Nov 2008
Total Posts: 746
21 Jan 2012 08:34 PM
Ok, I will clean it up, then see what I got in the output.
Report Abuse
timothyrulze is not online. timothyrulze
Joined: 18 Nov 2008
Total Posts: 746
21 Jan 2012 08:40 PM
Forget it, I think I need to start over. T_T
Report Abuse
timothyrulze is not online. timothyrulze
Joined: 18 Nov 2008
Total Posts: 746
21 Jan 2012 08:48 PM
Nevermind! I fixed it and now it works! :D What I did wrong? I somehow pasted PlugIn maker a bunch of times. OOPS! X3
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image