You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
Make the part change name, something a beginner would do. -
What is the issue? Include screenshots / videos if possible!
The debug is showing “Player, nothing(it does show grime but it never sends actual typed text)” -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I can’t find any that are related nor will help me.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
-- Client Script
TextTyper = script.Parent
ReplicatedStorage = game:GetService("ReplicatedStorage")
Text = TextTyper.Text
ClientData = ReplicatedStorage:WaitForChild("ServerCommunicator")
TextTyper.InputEnded:Connect(function()
ClientData:FireServer(Text)
end)
-- Server Script
WorkSpace = game:GetService("Workspace")
ReplicatedStorage = game:GetService("ReplicatedStorage")
ClientData = ReplicatedStorage:WaitForChild("ServerCommunicator")
PartSubject = WorkSpace:WaitForChild("Part")
ClientData.OnServerEvent:Connect(function(Player, Text)
print(Player, Text)
PartSubject.Name = Text
end)
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.