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: GUI Question

Previous Thread :: Next Thread 
cooldrewbie is not online. cooldrewbie
Joined: 26 Jun 2010
Total Posts: 2498
18 Apr 2015 06:14 PM
So I made a snow gui where it looks like its snowing on your screen. I want the snow to stop on screen when you go inside a house and start up again when you go outside.
Any ideas on how to work this? Thanks
Report Abuse
gerov is not online. gerov
Joined: 05 Feb 2011
Total Posts: 5504
18 Apr 2015 06:15 PM
Maybe you can make something that checks for parts in the region3 above their head?
Report Abuse
cooldrewbie is not online. cooldrewbie
Joined: 26 Jun 2010
Total Posts: 2498
18 Apr 2015 06:17 PM
ok?

bump
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
18 Apr 2015 06:18 PM
You could try raycasting.
Report Abuse
cooldrewbie is not online. cooldrewbie
Joined: 26 Jun 2010
Total Posts: 2498
18 Apr 2015 06:21 PM
Yea maybe
Report Abuse
amanda is not online. amanda
Joined: 21 Nov 2006
Total Posts: 5925
18 Apr 2015 06:26 PM
u could do touched events!! hit part in doorway to stop snow

hit part a few studs outside doorway to start snow

like magic!
Report Abuse
cooldrewbie is not online. cooldrewbie
Joined: 26 Jun 2010
Total Posts: 2498
18 Apr 2015 06:28 PM
ok
Report Abuse
IntellectualBeing is not online. IntellectualBeing
Joined: 29 Sep 2013
Total Posts: 701
18 Apr 2015 07:29 PM
You could do magnitude, but that gets really messy.
Use raycast and check if part is above head.
Report Abuse
Vritix is online. Vritix
Joined: 01 Jan 2011
Total Posts: 2790
18 Apr 2015 07:32 PM
You could easily make a brick so when the player touches it willl destroy the GUI from the startergui, and when they walk outside re-clone it from the workspace.
Report Abuse
cooldrewbie is not online. cooldrewbie
Joined: 26 Jun 2010
Total Posts: 2498
19 Apr 2015 12:04 PM
Aight,
Then there might be quite a lot of GUI's
Report Abuse
helicopter35 is not online. helicopter35
Joined: 25 Oct 2010
Total Posts: 1225
19 Apr 2015 12:08 PM
local enterPart = game.Workspace.DoorWayPart
local exitPart = game.Workspace.DoorWayPart1
local Snow = game.StarterGui.SnowGui

enterPart.Touched:connect(function()
Snow:remove()
end)

exitPart.Touched:connect(function()
Snow:Clone().Parent = game.Workspace
print("Snow is back!")
end)
Report Abuse
cooldrewbie is not online. cooldrewbie
Joined: 26 Jun 2010
Total Posts: 2498
21 Apr 2015 10:10 PM
ok thanks
Ill try it
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
21 Apr 2015 10:50 PM
No I think it better to use raycast and shoot it right above the players head.

This is so if a player jumps through a window, hides under a tree etc they will still have "snow protection"
Report Abuse
cooldrewbie is not online. cooldrewbie
Joined: 26 Jun 2010
Total Posts: 2498
23 Apr 2015 08:12 PM
Yea thats sounds better
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