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
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Simplest Script Not Working

Previous Thread :: Next Thread 
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
06 Jun 2014 08:14 PM
script.Parent.MouseButton1Down:connect(function()
script.Parent.Parent.Visible = false
script.Parent.Parent.Parent.Menu.Visible = true
end)


I click the gui, nothing happens. Is there a spelling error I'm over looking or something..?

If you want to look at the whole thing you can download the plugin here;

http://www.roblox.com/Auto-Operator-WIP-item?id=159834431

Then go Insert -> Model -> C:\Users\%username%\AppData\Local\InstalledPlugins

I think that's the exact link, (You don't have to change %username%) then choose the one on the far bottom.
Report Abuse
Quasar99 is not online. Quasar99
Joined: 21 Nov 2009
Total Posts: 9328
06 Jun 2014 08:17 PM
Use MouseButton1Click

"Here we are in the padawan acadawan."
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
06 Jun 2014 08:18 PM
It really doesn't matter...
Report Abuse
diabete is not online. diabete
Joined: 07 May 2014
Total Posts: 230
06 Jun 2014 08:20 PM
script.Parent.MouseButton1Down:connect(function()
print(script.Parent.Parent.className)
print(script.Parent.Parent.Parent.Menu.className)
script.Parent.Parent.Visible = false
script.Parent.Parent.Parent.Menu.Visible = true
end)

tell me what it outputs
Report Abuse
diabete is not online. diabete
Joined: 07 May 2014
Total Posts: 230
06 Jun 2014 08:21 PM
that was a dumb post

might be something wrong with way you are using plugin
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
06 Jun 2014 08:22 PM
Why bother, it would error.


The property is ClassName NOT className



Also, they're both Frames
Report Abuse
diabete is not online. diabete
Joined: 07 May 2014
Total Posts: 230
06 Jun 2014 08:23 PM
.className works, and i posted something earlier
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
06 Jun 2014 08:23 PM
Can you install and insert it as s model and see please?
Report Abuse
CodeAbuser is not online. CodeAbuser
Joined: 26 May 2014
Total Posts: 16
06 Jun 2014 08:32 PM
Try using BackgroundTransparency = 1
and if it has text TextTransparency = 1
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
06 Jun 2014 08:35 PM
I don't want the frame to be usable. Not just invisible...
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
06 Jun 2014 08:40 PM
try this


self = plugin
toolbar = self:CreateToolbar("Auto Operator")
toolbarbutton = toolbar:CreateButton("Auto Operator", "Auto Operator", "")

--[[This is extremely WIP and will currently do just Default Operators!
Please use this, I will update it soon but I'm moving on to another project for now
Tahnks :D Check for updates daily!
--]]


toolbarbutton.Click:connect(function()
script.Menus.Parent = game:GetService("CoreGui")
Control = Menus.ShiftControl

Control.Changed:connect(function()
if Control == true then
game:GetService("SelectionService").SelectionChanged:connect(function()
script = game:GetService("SelectionService"):Get()[1]
script.Source = [[
local sm = setmetatable
local function infix(f)
local mt = { __sub = function(self, b) return f(self[1], b) end }
return sm({}, { __sub = function(a, _) return sm({ a }, mt) end })
end

]] .. Control.CODE.Value .. [[
]] .. script.Source
end)
end
MenusClone:Destroy()
end)
end)
Report Abuse
L0cky2013 is not online. L0cky2013
Joined: 30 Jul 2012
Total Posts: 1446
06 Jun 2014 08:41 PM
nevermind, I don't know what I was thinking
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
06 Jun 2014 09:13 PM
Help..?
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
06 Jun 2014 10:14 PM
Help me!
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