How to Make a Disappearing Block - Roblox Scripting Tutorial

preview_player
Показать описание
How to make a block that disappears when a player touches it in Roblox Studio.
Рекомендации по теме
Комментарии
Автор

There's been some Roblox updates which may have broken this, luckily there's an easy fix. Click on Workspace in the explorer window inside studio and disable StreamingEnabled.

SillyManRBX
Автор

because he didnt do the script in the discription and im nice, here is it:

local Players = game:GetService('players')
local TweenService =

local Player = Players.LocalPlayer
local disappearingBlock = workspace.DisappearingBlock

for i, v in do
local AlreadyHit = false


local plr =

if plr and plr == Player and not alreadyHit then
alreadyHit = true
local fadeTween = TweenService:Create(v, TweenInfo.new(1, Enum.EasingStyle.Linear), {Trancparency = 1})
fadeTween:play()


v.CanCollide = false
task.wait(3)
v.CanCollide = true
v.Transparency = 0
alreadyHit = false
)
end
end)

liongames
Автор

can you make a difficulty chart obby tutorial?

Fer
Автор

How do you make a block dissapear then reappear?

RedPandor
Автор

hello if you have a decal on the block how can you make that fade away?

sockerball
Автор

fun fact: Tower of Hell was inspired by Juke's Towers of Hell, but since XYCeptional studios are scumbags they didn't credit the game.
and another fun fact: Juke's Towers of Hell was the game that pioneered the difficulty chart for roblox obbies!

OverwMeAmTheHotel
Автор

Can you make a tutorial on how to make a object appear/disappear using a custom command?

Darkshadow-pj
Автор

Can someone please explain to me what i did wrong

local Players = game:GetService('Players')
local TweenService =

local player = Players.LocalPlayer
local DisappearingBlocks = workspace.DisappearingBlocks

for i, v in do
local alreadyHit = false


local plr =

if plr and plr == player and not alreadyHit then
alreadyHit = true

local fadeTween = TweenService:Create(v, TweenInfo.new(1, Enum.EasingStyle.Linear), {Transparency}
fadeTween:Play(1)
fadeTween.Completed:Wait(1)

v.CanCollide = false
task.wait(3)
v.CanCollide = true
v.Transparency = 0
alreadyHit = false
end
end)
end

Storalongaobjekt