#Very new dev, how do i make a bottomless pit?
1 messages · Page 1 of 1 (latest)
You'd have to make it teleport you somewhere else.
You can make it so other players are invisble on their screen using local scripts
good idea
I just don't know how i'd make it so that once they reset, that's fixed
** You are now Level 2! **
so make a truefalse statement and if humanoid.died then false?
yuh
dats it
im trying to follow a tutorial but i drk what im doing 💔
if invison == true
2 = when comparing
also u don't have to put the == true u can just say
if invison then
what r u tryna do at the bottom
if localplayer.parent
local part = script.Parent
local invison = false
part.Touched:Connect(function(hit)
local character = hit:FindFirstAncestorOfClass("Model")
if character then
local humanoid = character:FindFirstChildWhichIsA("Humanoid")
if humanoid then
-- :white_check_mark: Allows both players and NPCs
invison = true
print(character.Name .. " touched the part")
if invison then
for _, desc in pairs(character:GetDescendants()) do
if d
desc:IsA("BasePart") then
if desc.Name == "HumanoidRootPart" then
desc.Transparency = 1
else
desc.Transparency = 0
end
end
end
end
end
end
end)
make some adjusments
if player dies, turns off
like, if humanoid.dead then
invison = false
character is under player
local char = player.Character