whenever i play test, i go higher on a certain place. i have already tried the unlock tool but there is nothing there, no union nothing. i dont get why. it wasnt like this yesterday. maybe theres a script to see what the player touches? a temporarily script or else idk what to do
Yes, you can use the .Touched function to see if a player has touched a certain part.
local db = false
part.Touched:Connect(function(toucher)
if db == false then
db = true
print(toucher.Name.." touched the part!")
wait(5)
db = false
end
end)
Here, hope you learn from this.
where do i put this, thanks. 30 characters
Uhh, do you not know basic scripting? I’m not judging, but the part should be a variable, and you probably should place the script inside of the part you want to do this on.
So, if you could do:
part = script.Parent -- only if you place the script under the part
but the problem is that theres an invisible part i hit when walking and im trying to figure out what it is…so i cant select it so neither put a script in it
Oh, so that’s the issue. Alright, here.
When you’re in the test play mode, press this.
You should be able to select parts at that point.
Hope I helped.
but even when im out of test mode i still cant find any parts laying on the certain location, theres nothing to select. i tried unlocking the location but there wasnt a lock in the first place…
i really cant fix this. someone, please…
can you give us more information.
what do you mean by higher, like your going into the air?
do you have any free models → if yes check them for scripts
did you alter the character in any way → if yes how?
any other information you might think is relevant
well it basically just looks like a part is on that spot but theres nothing there, just like your standing on something higher
sometimes a part can be locked.
1:create a script in your workspace (regulair script not a localscript)
2:in that script add the folowing code
wait(10)
everything = game.Workspace:GetDescendants()
for _, v in pairs (everything) do
local hasit = pcall(function()
local t = v.Transparency
end)
if hasit then
v.Transparency = 0
end
end
after 10 seconds it will make everything visable
do you see a block?
do i need to play test for this
first do the steps.
waht this script does is, when you playtest the game (or aqtualy play the game)
it search for all parts that can be set invisable . and makes them visable regardless of what or where they are
the script didnt work, it didnt make everything visible