local part = script.Parent
game.Players.PlayerAdded:connect(function(plr)
part.Touched:connect(function(hit)
if hit.Name == "auto" .. plr.Name then
if game.Lighting.SecretsFolder:FindFirstChild("shrek") then
local shrek = game.Lighting.SecretsFolder.shrek
shrek.Parent = game.Workspace
shrek.Position = part.Position - Vector3.new(3.4, 0, 0)
else
local p = game.Lighting.SecretsFolder.poo:Clone()
p.Parent = game.Workspace
p.Position = part.Position + Vector3.new(3.4, 0, 0)
end
end
end)
end)
This works on studio, but no in-game? Why? Thanks for help!

7 comments
thats how the script works, thats what the bullet is called....
Well this script works not only in studio
it does
So did I answer your question?
no!?!?! you just came here and told me what i was doing was wrong....thats how the SCRIPT WORKS
Well you wanted it to works in game. It does now. You need anything else?
it does NOW? get out kid