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: What is wrong with this?

Previous Thread :: Next Thread 
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
16 Nov 2013 06:40 PM
debounce = true
function ontouch (part)
h = part.Parent:findFirstChild("Humanoid")
if h ~= nil then
if debounce == true then
debounce = false
game.Players[part.Parent.Name].PlayerGui.Conversation.Frame.Phrase.TextTransparency = 0.9
wait(0.1)
game.Players[part.Parent.Name].PlayerGui.Conversation.Frame.Phrase.TextTransparency = 0.8
wait(0.1)
game.Players[part.Parent.Name].PlayerGui.Conversation.Frame.Phrase.TextTransparency = 0.7
wait(0.1)
game.Players[part.Parent.Name].PlayerGui.Conversation.Frame.Phrase.TextTransparency = 0.6
wait(0.1)
game.Players[part.Parent.Name].PlayerGui.Conversation.Frame.Phrase.TextTransparency = 0.5
wait(0.1)
game.Players[part.Parent.Name].PlayerGui.Conversation.Frame.Phrase.TextTransparency = 0.4
wait(0.1)
game.Players[part.Parent.Name].PlayerGui.Conversation.Frame.Phrase.TextTransparency = 0.3
wait(0.1)
game.Players[part.Parent.Name].PlayerGui.Conversation.Frame.Phrase.TextTransparency = 0.2
wait(0.1)
game.Players[part.Parent.Name].PlayerGui.Conversation.Frame.Phrase.TextTransparency = 0.1
wati(0.1)
game.Players[part.Parent.Name].PlayerGui.Conversation.Frame.Phrase.TextTransparency = 0
wait(0.1)
game.Players[part.Parent.Name].PlayerGui.Conversation.Frame.Yes.Visible = true
game.Players[part.Parent.Name].PlayerGui.Conversation.Frame.No.Visible = true
debounce = true
end
end
end

script.Parent.Touched:connect(ontouch)









Everything works except the Yes and No button not being visible
Report Abuse
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
16 Nov 2013 06:43 PM
bump
Report Abuse
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
16 Nov 2013 06:46 PM
Bump 2
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
16 Nov 2013 06:48 PM
Ever heard of variables?
Frame = game.Players[part.Parent.Name].PlayerGui.Conversation.Frame

Put that at the beginning and swap them all out, Then i`ll read it.
Report Abuse
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
16 Nov 2013 06:49 PM
Legit help someone!
Report Abuse
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
16 Nov 2013 06:50 PM
Bump
Report Abuse
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
16 Nov 2013 06:54 PM
HELP!!!!
Report Abuse
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
16 Nov 2013 06:57 PM
BUMP AND HELP!
Report Abuse
lama321 is not online. lama321
Joined: 18 Dec 2011
Total Posts: 300
16 Nov 2013 06:57 PM
to get this straight, you want the yes and no buttons to be visible?
any error message?
(by the way, more people will likely post responses if you shorten the length through a for loop and variables)
Report Abuse
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
16 Nov 2013 07:02 PM
Yes and there are no output messages :/
Report Abuse
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
16 Nov 2013 07:05 PM
OMG HELP!
Report Abuse
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
16 Nov 2013 07:09 PM
BUMP AGAIN!
Report Abuse
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
16 Nov 2013 07:10 PM
it worked when I put those 2 lines in a separate script in the same brick....how?
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