I'm trying to make a racing game and what I need is a map preview to check the details of the map.
This is my starter Code:
local replicatedStorage = game:GetService("ReplicatedStorage")
script.Parent.Touched:Connect(function(hit)
if hit then
if hit.Parent:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
replicatedStorage:WaitForChild("TriggerCamA"):FireClient(player)
end
end
end
end)
