I've been trying this FOR AN HOUR and I still cant find a solution to it >:C
localscript:
local Remote = game.ReplicatedStorage.Remotes['ShowRank'] local p = game.Players.LocalPlayer local function ShowRank() script.Parent.Text = p.leaderstats.Rank.Value print("Rank shown") end Remote.OnClientEvent:Connect(ShowRank)
AND IT DOESNT EVENT PRINT RANK SHOWN!
script:
local ShowR = Instance.new("RemoteEvent") ShowR.Parent = game.ReplicatedStorage.Remotes ShowR.Name = "ShowRank" local function SHOWr(p) ShowRep:FireClient(p) end game.Workspace.HitBoxes[Player.Name.."'s Hitbox"].OnPlayerClick.MouseClick:Connect(SHOWr)