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: My script doesn't work.

Previous Thread :: Next Thread 
Pletacon is not online. Pletacon
Joined: 03 Oct 2016
Total Posts: 77
25 Jun 2017 09:28 AM
For some reason my click functions do not work anymore, I seriously have no clue why they don't. I do not get any errors aswell. Did roblox screw them up with updates?

The current script:
--// Pletacon

--// Variables \\--
local clickbutton = script.Parent:WaitForChild("TextButton")
local PlayButton = script.Parent:WaitForChild("Click")
local TextInvis = script.Parent:WaitForChild("Update_Text")
local TextInvis1 = TextInvis:WaitForChild("TextLabel")
local menuframe = script.Parent

local clicked = false
local click = false


--// Script \\--
clickbutton.MouseButton1Click:Connect(function()
TextInvis1.TextTransparency = 0.9
wait(0.1)
TextInvis1.TextTransparency = 0.8
wait(0.1)
TextInvis1.TextTransparency = 0.7
wait(0.1)
TextInvis1.TextTransparency = 0.6
wait(0.1)
TextInvis1.TextTransparency = 0.5
wait(0.1)
TextInvis1.TextTransparency = 0.4
wait(0.1)
TextInvis1.TextTransparency = 0.3
wait(0.1)
TextInvis1.TextTransparency = 0.2
wait(0.1)
TextInvis1.TextTransparency = 0.1
wait(0.1)
TextInvis1.TextTransparency = 0

end)
Report Abuse
RomDino is not online. RomDino
Joined: 04 Jul 2015
Total Posts: 2795
25 Jun 2017 09:40 AM
What does it says in the output>
Report Abuse
Bos5SlayeR is not online. Bos5SlayeR
Joined: 06 Mar 2014
Total Posts: 340
25 Jun 2017 09:42 AM
do for i=1,10 do wait(.1) TextInvis1.TextTransparency=TextInvis1.TextTransparency-0.1 end
Report Abuse
RomDino is not online. RomDino
Joined: 04 Jul 2015
Total Posts: 2795
25 Jun 2017 09:44 AM
That's not his problem here dude

Also he said that his function doesn't work so it doesn't have anything to do with the loop
Report Abuse
Pletacon is not online. Pletacon
Joined: 03 Oct 2016
Total Posts: 77
25 Jun 2017 09:49 AM
Nothing really, the click function just doesn't work.
Report Abuse
Pletacon is not online. Pletacon
Joined: 03 Oct 2016
Total Posts: 77
25 Jun 2017 09:50 AM
This issue appeared two days ago, the same time when all the admins got content deleted. Is this maybe because of roblox?
Report Abuse
RuizuKun is not online. RuizuKun
Joined: 20 Jan 2016
Total Posts: 1133
25 Jun 2017 09:58 AM
use print()


This is Reality, NOT a Dream.
Report Abuse
Pletacon is not online. Pletacon
Joined: 03 Oct 2016
Total Posts: 77
25 Jun 2017 10:00 AM
Lol, Why should i use print(). That won't solve anything...
Report Abuse
ExtremeBuilder15 is online. ExtremeBuilder15
Joined: 01 May 2012
Total Posts: 3176
25 Jun 2017 10:00 AM
Ya, put prints throughout the script. It's possible you're waiting forever on one of those guis.

Report Abuse
Pletacon is not online. Pletacon
Joined: 03 Oct 2016
Total Posts: 77
25 Jun 2017 10:01 AM
Mhm, i'll try tho.
Report Abuse
Pletacon is not online. Pletacon
Joined: 03 Oct 2016
Total Posts: 77
25 Jun 2017 10:02 AM
Does everything work fine for you guys or not?
Report Abuse
chexyalani is online. chexyalani
Joined: 26 Mar 2017
Total Posts: 694
25 Jun 2017 10:11 AM
Please use a for loop for this.
Report Abuse
chexyalani is online. chexyalani
Joined: 26 Mar 2017
Total Posts: 694
25 Jun 2017 10:13 AM
clickbutton.MouseButton1Down:Connect(function()
for i=1,10 do
TextInvis1.TextTransparency=(i/10)
wait(0.1)
end
end)
Report Abuse
RuizuKun is not online. RuizuKun
Joined: 20 Jan 2016
Total Posts: 1133
25 Jun 2017 10:31 AM
"Lol, Why should i use print(). That won't solve anything..."

Well it solved a lot of problems for me...


This is Reality, NOT a Dream.
Report Abuse
RuizuKun is not online. RuizuKun
Joined: 20 Jan 2016
Total Posts: 1133
25 Jun 2017 10:32 AM
is your game FE? is the script in a Local script?


This is Reality, NOT a Dream.
Report Abuse
Pletacon is not online. Pletacon
Joined: 03 Oct 2016
Total Posts: 77
25 Jun 2017 01:23 PM
I think it's due to roblox updates, and then it got broken. Since there is nothing wrong with the script...
Report Abuse
Fangous is not online. Fangous
Joined: 03 Jul 2010
Total Posts: 4448
25 Jun 2017 01:36 PM
this isnt 2009

debug it with waits to check for infinite yields and make sure the script isnt disabled

and for the love of god please use loops
Report Abuse
RuizuKun is not online. RuizuKun
Joined: 20 Jan 2016
Total Posts: 1133
25 Jun 2017 10:50 PM
Pletacon = Yamcha


This is Reality, NOT a Dream.
Report Abuse
Pletacon is not online. Pletacon
Joined: 03 Oct 2016
Total Posts: 77
26 Jun 2017 08:51 AM
This script is just a exmaple my man, all my other scripts got broken aswell. And they were working before.
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