Can someone give me a toturial from the Notepad system in Basic admin?
Examples of Notepad:
Thank you!! >3
Can someone give me a toturial from the Notepad system in Basic admin?
Examples of Notepad:
Thank you!! >3
So you want to make a note system for the admins. Like, note what to do and save the text?
Yep. I need like that. Because, I need a notepad systems into the training center.
OK I will set up a tutorial right now
Use a TextBox gui element to store what the player is typing. Make sure ClearTextOnFocus is disabled. When the textbox has lost focus, use a RemoteEvent to fire the text to the server, where you would then use DataStoreService to save the player’s notes. When a player joins, you would also use DataStoreService to recall their text content and send it back to the client using the RemoteEvent. You may want to implement measures to make sure data saving cannot be spammed, as your data saving will be throttled.
First off, you need to design a GUI for the notepad. After that you can make a RemoteEvent in ReplicatedStorage that will be called every time the command is ran.
You would need to make a Basic Admin plugin script (under the plugin folder) and make it so that when ran by a client, the client gets fired and opens the UI (you would need a LocalScript for the client to open it once it gets fired).
From there on out, you can also make it so that the server saves the notepad data every [x] seconds or when the UI gets closed.
Maybe just save the text in a datastore like this
Local data = game:GetService(“DatastoreService”)
Local text = data:GetDatastore(“text”)
Game.Players.PlayerAdded:Connect(function()
—get the text form the datastore and paste it in the note of the player
End)
Game.Players.PlayerRemoving:connect(function()
—save data
End)
If admin is a product or gamepass you can just check if a player have’s it with
—get the player above here
If Player:UserOwnsGamepassAsync(111111,player) then
—unlock notes
end
I suggest you make a table then use this table function under here to insert the text and save the whole table.
table.insert(table, value)
Sure. I will now do it. Thanks!
Oh, thank you! But, My script is so bad, I want someone to make an example for me.
In your initial post you asked for a tutorial, so you were given it. Two people replied to you with a tutorial that gave you a step-by-step guide without directly spoon-feeding and one replied and showed an example on how to save data.
That being said, if your scripting is on a beginner level, I suggest you read the Roblox Creator Documentation, it is overall beginner friendly and highly detailed. Basic Admin’s plugin system is also very well documented.
I went ahead and picked out some guides for you, so here are the things you would likely need to read if you are a beginner:
Client Server Model, Remote Events, Data Stores.
Good luck.
Alright, thank you so much. I will try it.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.