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: Enter building script

Previous Thread :: Next Thread 
b2856 is not online. b2856
Joined: 22 Sep 2007
Total Posts: 1418
17 Aug 2011 08:12 PM
Has anyone seen this script where you walk over a brick and it will say Would you like to enter this shop? Anyone? And then when you click yes you go inside the shop! Does anyone have that script? Please reply

Thanks
Report Abuse
Darkmist101 is not online. Darkmist101
Joined: 30 Jul 2010
Total Posts: 6208
17 Aug 2011 08:21 PM
No requests
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
17 Aug 2011 08:23 PM
No requests

deb=false
script.Parent.Touched:connect(function(hit)
if deb==false then
deb=true
if hit.Parent:FindFirstChild("Humanoid")~=nil then
Name=hit.Parent.Name
_GoToShop=game.Lighting.GUINAME:clone() --edit
_GoToShop.Parent=game.Players:FindFirstChild(Name).PlayerGui
else
end
end
wait(1)
deb=false
end)

Make sure GUINAME is a Frame with 2 textbuttons in it,

Put this in the "Yes, I would like to go inside the shop"

Player=script.Parent.Parent.Parent.Parent.Parent --Might need to adjust
script.Parent.MouseButton1Down:connect(function(click)
Player.Character.Torso.CFrame=CFrame.new(x,y,z) --Make that the position of your shop
script.Parent.Parent:remove() --That'll remove the whole gui
end)

Put this in the "No, I would not like to go inside the shop"

script.Parent.MouseButton1Down:connect(function(click)
script.Parent.Parent:remove()
end)



~ Lord Voldemort ~
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
17 Aug 2011 08:28 PM
Took me 5 minutes to write that :o

~ Lord Voldemort ~
Report Abuse
b2856 is not online. b2856
Joined: 22 Sep 2007
Total Posts: 1418
17 Aug 2011 08:29 PM
Thank you very much :D
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
17 Aug 2011 09:20 PM
http://www.roblox.com/b2856-item?id=59646416

~ Lord Voldemort ~
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