The RemoteEvent fires and is received as it's prints it, but the PlayerGui parts do not work, as well as the CameraFix cloning into the Player's character.
train = game.ReplicatedStorage.C153
Camera = workspace.CurrentCamera
game.ReplicatedStorage.C153Spawn.OnServerEvent:connect(function(player)
print("Event Received")
player.PlayerGui.MainMenuGui.Screen.DriveFrame.Visible = false
player.PlayerGui.MainMenuGui.Screen.Spawning.Visible = true
player.PlayerGui.MainMenuGui.Screen.Spawning.Text = "Spawning..."
wait(0.01)
local clone = train:Clone()
clone.Parent = workspace
clone:MakeJoints()
clone.Bogies.SD_Bogie:MakeJoints()
clone.Bogies.SD_Bogie2:MakeJoints()
wait(1)
player.Character.HumanoidRootPart.CFrame = CFrame.new(-2449.474, 10.174, -198.335)
player.PlayerGui.MainMenuGui.Screen.Spawning.Visible = false
player.PlayerGui.MainMenuGui.Screen.IntroMusic:stop()
script.Parent.CameraFix:clone().Parent = player.Character
end)
This is what is visible in the developer console: https://gyazo.com/80f97bddbd4561a789993d930de82abb

5 comments
No my game isn't FE and it works in Studio and did before this update that happened.
What is GuiStuff?
And it doesn't work anyway
What? You just said that it works in studio, also all games are Filtering Enabled.
Well, I meant before I added this script that my script worked in studio. This one doesn't.