Hello devs! I’m curious on how I can make something like this:
A video explaining it:
As you can see whenever a player joins the game, they get a message. This message is always in the same spot on PC or mobile. I’m a beginner and I don’t exactly know how to detect a player’s join and display the text on screen.
You can use the Players.PlayerAdded event to detect when players enter a game. Since this is a targeted message for the client, there is no need to use that event. The LocalScripts that run on the client’s device begin executing the moment they join the game, so that circumstance is enough. Just begin showing the message via a LocalScript. Keeping the GUI in its same position requires you to use the scale values of the GUI’s position. You can use a UIAspectRatioConstraint to maintain the GUI’s size across different screen resolutions. Visit this article for advice on creating a type-writer effect
i made a notification system based on what you were asking it types out the text waits then fades it out you can customize the speed delay and fade time
No. You cannot use Players.PlayerAdded in a LocalScript to detect the local player’s addition to the game. As I said, LocalScripts only begin executing when the local player makes a successful connection to the game server and begins downloading its assets (which include the LocalScripts). The event will never fire for the local player as they’re already in-game by the time the script runs. Once again, you can use this context to know that the local player has just joined the game with no additional code
make a local script in StarterPlayer → StarterPlayerScripts and put some code to clone a screengui into local player’s playergui and then :Destroy() the script when you are done so it doesnt clog up your player’s scripts
oh well you see, its not to be opened, its a roblox file format to store instances as files. Open studio and drag and drop the .rbxm file to your explorer then you will have his stuff pop up as well as clean, unobfuscated code