#debug error

122 messages · Page 1 of 1 (latest)

round sapphire
#

local TweenService = game:GetService("TweenService")
local Player = game.Players.LocalPlayer
local RemoteEvent = game.ReplicatedStorage.RemoteEvents.IntroEvent

local ScreenGui = Player.PlayerGui:WaitForChild("IntroGui")
local Frame = ScreenGui:WaitForChild("Frame")
local Image = Frame:WaitForChild("ImageLabel")
local TextLabel = Frame:WaitForChild("TextLabel")

Frame.BackgroundTransparency = 0

local FrameInvisible = {}

local ImageVisible = {}
local ImageInvisible = {}

local TextVisible = {}
local TextInvisible = {}

FrameInvisible.BackgroundTransparency = 1
ImageVisible.ImageTransparency = 0
ImageInvisible.ImageTransparency = 1
TextVisible.TextTransparency = 0
TextInvisible.TextTransparency = 1

local Info = TweenInfo.new(1)
local TweenFrameInvisible = TweenService:Create(Frame, Info, FrameInvisible)
local TweenImageVisible = TweenService:Create(Image, Info, ImageVisible)
local TweenImageInvisible = TweenService:Create(Image, Info, ImageInvisible)
local TweenTextVisible = TweenService:Create(TextLabel, Info, TextVisible)
local TweenTextInvisible = TweenService:Create(TextLabel, Info, TextInvisible)

RemoteEvent.OnClientEvent:Connect(function()
TextLabel.Text = "WARNING: THIS GAME HAS JUMPSCARES"
TweenTextVisible:Play()
wait(4)
TweenTextInvisible:Play()
wait(3)
TextLabel.Text = "REVTHEDEV PRESENTS"
TweenTextVisible:Play()
wait(4)
TweenTextInvisible:Play()
wait(3)
TweenImageVisible:Play()
wait(4)
TweenImageInvisible:Play()
TweenFrameInvisible:Play()
end)

#

i got a debug error on the line "local TweenFrameInvisible = TweenService:Create(Frame, Info, FrameInvisible)"

restive hinge
round sapphire
#

sup

#

which one?

#

hmm like what parameter

restive hinge
#

for ,FrameInvisible

round sapphire
#

im watching a vid and its the same

#

the debug error is in not that line tho

restive hinge
#

?

round sapphire
#

its on "local TweenFrameInvisible = TweenService:Create(Frame, Info, FrameInvisible)"

restive hinge
round sapphire
#

alright

restive hinge
#

mb forgot to add something

round sapphire
#

oh ok

#

ill notify you when its working

restive hinge
#

its either that or it has { }

restive hinge
#

dont have an example rn

#

I'll pull one up

round sapphire
#

np didnt work

#

would u reference to the video?

restive hinge
#

no video

#

I had the parameter thing wrong

round sapphire
#

o

restive hinge
#

it might be {FrameInvisible = FrameInvisible.BackgroundTransparency}

round sapphire
#

i did that

#

didnt work

#

thanks alot tho

restive hinge
#

whats the error?

round sapphire
#

debug error-

#

WHAT THE FLIP

restive hinge
#

what does it say?

round sapphire
#

it started to work out of nowhere

#

wth

#

Thanks alot ;=;

#

the script fixed itself

still axle
#

Hello

#

Please can someone help me

round sapphire
#

i just retyped the thing

#

and it worked ;=;

round sapphire
restive hinge
round sapphire
#

thanks alot @restive hinge

still axle
#

But like

round sapphire
still axle
#

And it's been really easy so far

#

But the thing is I don't know why my code isn't running

restive hinge
round sapphire
round sapphire
still axle
#

I did game.workspace.baseplate.transparency = 0

#

Fhat should make the base plate practically invisible

#

But when I run it , it isn't invisible

restive hinge
#

opposite away around

still axle
#

Wait what?????

restive hinge
#

if the transperancy is 0, it is not transperant

still axle
#

Oh? So ehat should I have done then

restive hinge
restive hinge
#

.5 is about half

still axle
#

Yeag I know that

#

I just have no idea why it ain't running

#

I even made it 0.5

#

BUT nothing changed

restive hinge
#

ru just starting out?

#

btw @round sapphire mark this post as solved

still axle
#

Yeah I am but so far roblox script seems pretty damm easy , I just dk why my code ain't running

restive hinge
#

have you tried printing to verify it runs?

still axle
#

Just to be absolutely clear

#

That code should make the baseplate transparency = 0

#

0.2*

restive hinge
#

yup

still axle
#

And change the material to ice right ?

#

Yeah idk why tf it ain't working

restive hinge
still axle
restive hinge
#
Baseplate.Material = Enum.Material.Ice
still axle
#

I just wanna learn how to make a game on roblox cuss one of my friends is famous on tik tok so they said they'd help me market it nd stuff

restive hinge
#

when doing materials you want to do enum

still axle
restive hinge
#

pretty much yeah

#

btw ur spelling might be off

still axle
#

I'm assuming on this you've already made baseplate as a variable for game.workspace.baseplate ?

still axle
restive hinge
restive hinge
#

fixed it

restive hinge
# still axle

also you are using "baseplate" as a variable but you have not yet made it a variable

still axle
#

And how do I make it variable ?

#

Don't ubjusr do =

#

Just do

#

Like pase= try makes pase a variable that holds the string named try in it

restive hinge
#

local (name for variable) = (data for variable)

still axle
silent pierBOT
#

studio** You are now Level 2! **studio

restive hinge
#

I only did that so you know where things go

restive hinge
# still axle

Made a working version of what you wanted to do

local Baseplate = game.Workspace.Baseplate --- makes the "Baseplate" variable

Baseplate.Transparency = 0.2 --- changes baseplate transperancy
Baseplate.Material = Enum.Material.Ice --- changes material
still axle
#

THANK GOY SO FUCKING MUCH

#

I'll see if itnworks

restive hinge
#

it will but study it'

#

I can add notes if u want

#

actually wait lemme do that

still axle
#

It didn't.

restive hinge
#

?

#

I tested it and it worked fine

still axle
#

Didn't u get the video

restive hinge
#

no

still axle
#

The

#

Sorry set of photos

#

Not video

restive hinge
#

yk what lets switch to dms