![]() If you’re searching for some fun and excitement in your life, here is the place to be. The best part is that there is a wide range of games to select from in a number of genres. Robloxis a wonderful global platform game that is playable on PC, mobile, PS4, and even Mac devices. RemoteEvent.Last updated on January 2nd, 2023 at 05:43 pm Local Lighting = game:GetService("Lighting") If the Local Script is located in StarterCharacterScripts then this version should work: - SERVER. SecondEvent.OnClientEvent:Connect(reverseSky) RemoteEvent.OnClientEvent:Connect(function() RemoteEvent.OnClientEvent:Connect(ChadSky) Local ReplicatedStorage = game:GetService("ReplicatedStorage") Local Script: local Lighting = game:GetService("Lighting") Local player = game.Players:GetPlayerFromCharacter(hit.Parent) Local SecondEvent = ReplicatedStorage.RemoteEvents:WaitForChild("ReverseTheSky") Local RemoteEvent = ReplicatedStorage.RemoteEvents:WaitForChild("ChangeTheSky") ![]() ![]() Here is the server side script: local ReplicatedStorage = game:GetService("ReplicatedStorage") (I couldn’t record Second Player cause of an OBS bug) I tried to look in the devforums but I didn’t really find anything I did try print debugging and it always tells me that the skybox did change but for player 2 it doesnt change it and doesnt print Fired. However, for some reason the Skybox does change if I test on Studio but as soon as I do a Local Server with 2 people it gets weird, for only one player it works and not for the other. I made a script which fires a RemoteEvent and change the Skybox on Touch.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |