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 » Scripters
Home Search
 

Re: TextButton script runs automatically without clicking it

Previous Thread :: Next Thread 
BloxMaster720 is not online. BloxMaster720
Joined: 03 Jul 2014
Total Posts: 1224
03 Feb 2017 03:55 PM
So I made a script that makes the button go away, but when I run the place, the button is already gone without me clicking it.

The script is:
local loadout = script.Parent.Parent.Loadout
script.Parent.Visible = false

Help please?


"When a person bloxxes you, you blox them back" - GameBoyBlock |R$350 So far
Report Abuse
BloxMaster720 is not online. BloxMaster720
Joined: 03 Jul 2014
Total Posts: 1224
03 Feb 2017 03:56 PM
b1


"When a person bloxxes you, you blox them back" - GameBoyBlock |R$0 So far
Report Abuse
BloxMaster720 is not online. BloxMaster720
Joined: 03 Jul 2014
Total Posts: 1224
03 Feb 2017 03:57 PM
Someone please..


"When a person bloxxes you, you blox them back" - GameBoyBlock |R$350 So far
Report Abuse
BloxMaster720 is not online. BloxMaster720
Joined: 03 Jul 2014
Total Posts: 1224
03 Feb 2017 03:58 PM
PLEASE!!!


"When a person bloxxes you, you blox them back" - GameBoyBlock |R$350 So far
Report Abuse
BloxMaster720 is not online. BloxMaster720
Joined: 03 Jul 2014
Total Posts: 1224
03 Feb 2017 04:00 PM
PLEASE!!! [2]


"When a person bloxxes you, you blox them back" - GameBoyBlock |R$0 So far
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
03 Feb 2017 04:01 PM
I don't understand what seems abnormal to you
the script is running as normal and the code doesn't depend on any events


Report Abuse
iHybridTank is not online. iHybridTank
Joined: 25 Jan 2014
Total Posts: 35
03 Feb 2017 08:24 PM
Hello, uh what is that bottom line for?
Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
03 Feb 2017 08:30 PM
You need to wrap it in a MouseButton1Click event for it to run when the button is clicked.


Ever wanted to learn how to script? Check out my YouTube channel: youtube.com/austintheslayer Want to see me code in action? Follow me on twitch: twitch.tv/austinrblx
Report Abuse
BloxMaster720 is not online. BloxMaster720
Joined: 03 Jul 2014
Total Posts: 1224
03 Feb 2017 08:31 PM
Lol, already had the solution.


"When a person bloxxes you, you blox them back" - GameBoyBlock |R$350 So far
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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