hers is the script.I want the text lable to say the character's health I srsly need help with remote functions.................;,
---Local Script
local remotef = game.ReplicatedStorage.ReturnHealth
remotef:InvokeServer()
then the script...
---Script located in workspace
local remotef = game.ReplicatedStorage.ReturnHealth--this is a remote function in replecated storage...
function remotef.OnServerInvoke(plr)
local char = plr.Character or plr.CharacterAdded:wait()
return script.Parent.Text == char.Humanoid.Health--i want it to return the health
end

3 comments
What do you need help with, what's the issue. Any errors? = is for setting values, == is for comparing.
I have a text Label and i want the text on it to say my health
I think changing the == to an = should be good, but considering how ur using it here, u might just want to switch it to a remote event (suggestion)