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: Help please

Previous Thread :: Next Thread 
SuperBeeperman is not online. SuperBeeperman
Joined: 31 Dec 2016
Total Posts: 350
09 Nov 2017 05:32 PM
need a script that pops up a gui when u touch a block
Report Abuse
SuperBeeperman is not online. SuperBeeperman
Joined: 31 Dec 2016
Total Posts: 350
09 Nov 2017 05:34 PM
BUMP
Report Abuse
SuperBeeperman is not online. SuperBeeperman
Joined: 31 Dec 2016
Total Posts: 350
09 Nov 2017 05:36 PM
BUMP
Report Abuse
SuperBeeperman is not online. SuperBeeperman
Joined: 31 Dec 2016
Total Posts: 350
09 Nov 2017 05:41 PM
BUMP
Report Abuse
McAndTerrariaPro is not online. McAndTerrariaPro
Joined: 21 Oct 2014
Total Posts: 105
09 Nov 2017 06:07 PM
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local playercharacter = hit.Parent.Name
local player = game.Players:FindFirstChild(playercharacter)
local gui = player.PlayerGui.GUI NAME HERE --------------NAME HERE!!!!
gui.Enabled = true
end
end)

The part that says GUI NAME HERE means the name of the GUI
Report Abuse
Technomantic is not online. Technomantic
Joined: 14 Oct 2017
Total Posts: 161
09 Nov 2017 06:10 PM
An arguably better way to do it

script.Parent.Touched:Connect(function(h)
if game.Players:GetPlayerFromCharacter(h.Parent) then
local player = game.Players[h.Parent.Name]
player.PlayerGui["write your gui name here"].Enabled = true
end
end)
Report Abuse
SuperBeeperman is not online. SuperBeeperman
Joined: 31 Dec 2016
Total Posts: 350
09 Nov 2017 06:27 PM
techno doesnt it have spaces?
Report Abuse
McAndTerrariaPro is not online. McAndTerrariaPro
Joined: 21 Oct 2014
Total Posts: 105
09 Nov 2017 07:50 PM
That is a better way. I had to rush that script because I had to go soon but use this instead of mine.
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