#why it not works

1 messages · Page 1 of 1 (latest)

thin crown
#

local part = script.Parent
part.Touched:Connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
part.Transparency = 0
end
end)

lusty basalt
#

send it like this

#

also is there any erros?

chrome tundra
#

local part = script.Parent
local touched = false

part.Touched:Connect(function(hit)
if touched then return end

local character = hit.Parent
local player = game.Players:GetPlayerFromCharacter(character)

if player then
    touched = true
    part.Transparency = 0
    part.CanCollide = false
end

end)
@thin crown try this

lusty basalt
#

also for that situation you should be using if hit.Parent:FindFirstChild("Humanoid") then

lusty basalt
fast comet
thin crown
#

capi fixed it

#

its okay