function onTouched()
math.randomseed(tick())
local partchoice = math.random(1,3)
if partchoice == 1 then
game.Workspace.part1:Destroy()
script.Parent:Destroy()
end
if partchoice == 2 then
game.Workspace.part2:Destroy()
script.Parent:Destroy()
end
if partchoice == 3 then
game.Workspace.part3:Destroy()
script.Parent:Destroy()
end
end
script.Parent.Touched:connect (onTouched)
I was given the suggestion of using tick, so i tried to add it and still it didn't work... I kept messing around with it and tried to get it to work but still nothing was right, can anyone help me and tell me what i did wrong? :/

3 comments
What exactly is the issue?
Have you tried randomizing the seed? http://wiki.roblox.com/index.php?title=Global_namespace/Mathematical_functions#math.randomseed
I think he did that @GoldenPhysics.