Im making a simulator and i type in and etc. then i get this error:
Workplace is not a valid member of DataModel "Game"
here is my code:
game.Workplace.Shop.ShopPart.Touched:Connect(function(hit) if game.Players:GetPlayerFromCharacter(hit.Parent) then game.ReplicatedStorage.ShopGUI:FireClient(game.Players:GetPlayerFromCharacter(hit.Parent)) end end)
What am i doing wrong???