of     1   

colorful_parrots
#215874522Wednesday, May 03, 2017 10:03 PM GMT

local Interior = false game.Workspace.AirportInterior.Parent = game.Workspace.CurrentCamera game.Workspace.AirportWindows.Parent = game.Workspace.CurrentCamera game.Workspace.LoadPart.Touched:connect(function(hit) if hit.Parent:FindFirstChild('Humanoid') then Interior = true if Interior == true then for i,v in pairs(game.ReplicatedStorage.AirportInterior:GetChildren()) do v.Parent = game.Workspace.CurrentCamera.AirportInterior end for i,v in pairs(game.Workspace.CurrentCamera.AirportWindows:GetChildren()) do v.Transparency = 0.6 v.Reflectance = 0 v.Material = "Neon" v.BrickColor = BrickColor.new("Black") end end end end) game.Workspace.LoadPart.TouchEnded:connect(function(hit) if hit.Parent:FindFirstChild('Humanoid') then if Interior == true then for i,v in pairs(game.Workspace.CurrentCamera.AirportInterior:GetChildren()) do v.Parent = game.ReplicatedStorage.AirportInterior end for i,v in pairs(game.Workspace.CurrentCamera.AirportWindows:GetChildren()) do v.Transparency = 0 v.Reflectance = 0.3 v.Material = "SmoothPlastic" v.BrickColor = BrickColor.new("Really black") end Interior = false end end end)
morenoob88
#215874628Wednesday, May 03, 2017 10:05 PM GMT

what do you need help with
colorful_parrots
#215874728Wednesday, May 03, 2017 10:06 PM GMT

Works in studio just fine, in game nope.
colorful_parrots
#215874840Wednesday, May 03, 2017 10:08 PM GMT

(The Script is located in StarterGui and is a LocalScript)
LaeMVP
#215874884Wednesday, May 03, 2017 10:08 PM GMT

why are you parenting stuff to the camera?
colorful_parrots
#215875173Wednesday, May 03, 2017 10:12 PM GMT

Have FilteringEnabled in use so when a player leaves an area it unloads so theres less lag
toggytokyo
#215878693Wednesday, May 03, 2017 10:59 PM GMT

This may be because clicking "Play" does not represent what would happen in the actual game. Because Filtering Enabled is on, it may interfere with something going Client-Server and screw everything up. This does not happen when you click "Play" because it puts you in a world where you are both client AND server, therefore Filtering Enabled has no effect. TL;DR: Try turning off Filtering Enabled
colorful_parrots
#215927030Thursday, May 04, 2017 7:48 PM GMT

I did it in a testing server, it worked fine. I checked the server window and it did not change
colorful_parrots
#215935057Thursday, May 04, 2017 10:22 PM GMT

Bump 1

    of     1