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: Ok, I need Some MAJOR Help

Previous Thread :: Next Thread 
morganCarr is not online. morganCarr
Joined: 21 Sep 2010
Total Posts: 19179
06 Aug 2012 05:10 PM
[ Content Deleted ]
Report Abuse
1pie23 is not online. 1pie23
Joined: 11 Jul 2010
Total Posts: 1865
06 Aug 2012 05:11 PM
You didn't sefine Sensor.
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
06 Aug 2012 05:12 PM
Do you want it to pop up for only one player or all the players?

By the way, you didn't define Sensor in the connection line.
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
06 Aug 2012 05:12 PM
And there is 1 too many ends, and changes to teh startergui are only visible when a player dies.
Report Abuse
AdvorsusDuo is not online. AdvorsusDuo
Joined: 17 May 2012
Total Posts: 5265
06 Aug 2012 05:12 PM
You're only making the Gui in the StarterGui visible, so the player would have to reset in order to see it.

You would have to go into the player's PlayerGui and make the Gui inside of there visible.

-Nick
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
06 Aug 2012 05:12 PM
And you don't need two ends ;/
Report Abuse
morganCarr is not online. morganCarr
Joined: 21 Sep 2010
Total Posts: 19179
06 Aug 2012 05:13 PM
[ Content Deleted ]
Report Abuse
morganCarr is not online. morganCarr
Joined: 21 Sep 2010
Total Posts: 19179
06 Aug 2012 05:15 PM
[ Content Deleted ]
Report Abuse
morganCarr is not online. morganCarr
Joined: 21 Sep 2010
Total Posts: 19179
06 Aug 2012 05:15 PM
[ Content Deleted ]
Report Abuse
morganCarr is not online. morganCarr
Joined: 21 Sep 2010
Total Posts: 19179
06 Aug 2012 05:16 PM
[ Content Deleted ]
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
06 Aug 2012 05:16 PM
Sensor = script.Parent
function Touched(hit)
if hit.Parent:FindFirstChild("Torso") then
local playa = game.Players:GetPlayerFromCharacter(hit.Parent)
playa.PlayerGui.ScreenGui.Mainframe.Visible = true
end
end
Sensor.Touched:connect(Touched)

Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
06 Aug 2012 05:16 PM
If you only want it to work for the player who touched it:

script.Parent.Touched:connect(function (p)
if (not p.Parent:findFirstChild("Humanoid")) then return; end
if (db) then return; end
if (not game.Players:findFirstChild(p.Parent.Name)) then return; end
game.Players[p.Parent.Name].PlayerGui.ScreenGui.Mainframe.Visible = true;
end);
Report Abuse
morganCarr is not online. morganCarr
Joined: 21 Sep 2010
Total Posts: 19179
06 Aug 2012 05:17 PM
[ Content Deleted ]
Report Abuse
morganCarr is not online. morganCarr
Joined: 21 Sep 2010
Total Posts: 19179
06 Aug 2012 05:18 PM
[ Content Deleted ]
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
06 Aug 2012 05:19 PM
Yeah, our scripts do the same thing, just I prefer the layout of mine :P
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
06 Aug 2012 05:19 PM
Uh, why not just ask me personally this >.>?

Why ask Droid?
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
06 Aug 2012 05:20 PM
Cause I type da quickest ^0^
Report Abuse
morganCarr is not online. morganCarr
Joined: 21 Sep 2010
Total Posts: 19179
06 Aug 2012 05:21 PM
[ Content Deleted ]
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
06 Aug 2012 05:22 PM
Man, you should go back to where you are... Why did you even start foruming on this forum >.>

You take all my posts...

By the way, what was your fastest at typing the alphabet?
Report Abuse
morganCarr is not online. morganCarr
Joined: 21 Sep 2010
Total Posts: 19179
06 Aug 2012 05:23 PM
[ Content Deleted ]
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
06 Aug 2012 05:25 PM
Well then your parents are off or you're doing something wrong.
Report Abuse
morganCarr is not online. morganCarr
Joined: 21 Sep 2010
Total Posts: 19179
06 Aug 2012 05:25 PM
[ Content Deleted ]
Report Abuse
jelly134 is not online. jelly134
Joined: 25 Aug 2008
Total Posts: 1137
06 Aug 2012 05:25 PM
--Put this inside the brick

script.Parent.Touched:connect(function(p)
player = game.Players:GetPlayerFromCharacter(p.Parent)
if player then
player.PlayerGui.ScreenGui.Mainframe.Visible = true
end
end)
Report Abuse
morganCarr is not online. morganCarr
Joined: 21 Sep 2010
Total Posts: 19179
06 Aug 2012 05:26 PM
[ Content Deleted ]
Report Abuse
morganCarr is not online. morganCarr
Joined: 21 Sep 2010
Total Posts: 19179
06 Aug 2012 05:27 PM
[ Content Deleted ]
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