cubez = {"xXUltraAltraXx","Player"}
cubeceiling.Touched:connect(function(hit)
for i,v in pairs(cubez) do
if (string.upper(hit.Parent.Name) == string.upper(v)) then
hit.Parent.Humanoid.Health = 100
elseif hit.Name == "abcdefgzyxwvut" or hit:IsA"BasePart" then
if hit.Velocity ~= Vector3.new(0,0,0) then
hit.CanCollide = true
hit.Velocity = Vector3.new(0,0,-2500)
end
end
end
end)
Uh ignore the cubeceiling lol but yeah it dosent work im trying to make it so anyone in the table dosent get flung lol please help

4 comments
Table doesn't get flung? There is a table on the first line.
No i mean when someone touches The cubeceiling and they are in the table cubez they dont get flung
?
Sup ultra, you could have just asked me on SB.