Ok, so to start this off I have been having a problem. The problem is, is when I write script I can see it, but when my friend views it it just says print("Hello, World"), also when I go in a normal roblox game to test it out and go on the Developer Console all I see is just print("Hello, World!"). This only effected the script I currently made or currently edited. Please help. I will include the code also:
local points = 3000
local d = true
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local p = game.Players:GetPlayerFromCharacter(hit.Parent)
if p.leaderstats.Coins.Value >= points then
if d then
d = false
script.Parent.Transparency = 1
script.Parent.CanCollide = false
wait(3)
script.Parent.Transparency = 0.5
script.Parent.CanCollide = true
d = true
end
else
print("NO.")
end
end
end)
But instead of that it will just show:
Print("Hello, World!"), in the developer console.

2 comments
It works, its just the thing I said about the Hello World thing.
oh okayy