#mini code for noob , not workingg

6 messages · Page 1 of 1 (latest)

exotic ocean
#

game.Players.PlayerAdded:Connect(function(player)
local leder = Instance.new('Folder')
leder.Name = 'leaderstats'
leder.Parent = player
local coinn = Instance.new('IntValue')
coinn.Name = 'coin'
coinn.Parent = leder
coinn.Value = 0
game.Workspace.coii.Touched:Connect(function(part)
local playe = part.Parent:FindFirstChild('Humanoid')
if playe and game.Workspace.coii.Material == 'Neon' then
coinn.Value = coinn.Value + 1
game.Workspace.coii.Material = 'Plastic'

end

end)
end)

#

the problem is he dont the enter the condition of if

hard cedar
#

Oh thats a easy fix

exotic ocean
#

thx

mental duneBOT
#

studio** You are now Level 3! **studio

exotic ocean