I tested my game and instantly saw an error about Argument 1 missing or nil
Here's the script (The problem is Line 1)
local Playar = game.Players:GetPlayerFromCharacter()
local Start = Playar.PlayerGUI
--[[local RobuxGUI = game.ReplicatedStorage["R$GUI"]:Clone()
RobuxGUI.Parent = Start]]
script.Parent.Touched:connect(function(Hit)
local Character = Hit.Parent
if Start["R$GUI"] ~= nil or Start["HelpGUI"] ~= nil then
print("")
elseif Start["R$GUI"] == nil or Start["HelpGUI"] == nil then
local RobuxGUI = game.ReplicatedStorage["R$GUI"]:Clone()
RobuxGUI.Parent = Start
end
end)
If I'm using this GetPlayerFromCharacter function wrong, may I be given an example or something to help?

1 comment
Can you please post this on my other question about why my above script doesn't work(Not exactly that)? Then i'll accept answer because it's more relevant