|
| 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
|
  |
| 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 |
|
|
| |
|
Klink45
|
  |
| Joined: 06 Jun 2011 |
| Total Posts: 26054 |
|
| |
|
| |
|
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 |
|
|
| |
|
|
| 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
|
  |
| 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 |
|
|
|
| 19 Apr 2015 12:04 PM |
Aight, Then there might be quite a lot of GUI's |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
| |
|
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 |
|
|
| |
|