Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I am trying to follow the top down action tutorial on the roblox wiki but it isnt working?

Asked by 7 years ago

Ok, so I'm trying to learn how to code by following tutorials on the roblox wiki but I am running into some problems. here is the link to the page http://wiki.roblox.com/index.php?title=Top_Down_Action/Dialog

when I run my game I get this error 12:17:36.529 - DialogGui is not a valid member of ScreenGui

here is my code

01local animationSpeedShow = .5
02local animationSpeedHide = .5
03local positionShow = UDim2.new(0.1, 0, 0, 0)
04local positionHide = UDim2.new(0.1, 0, -0.2, 0)
05 
06local player = game.Players.LocalPlayer
07local playerGui = game.StarterGui.DialogGui
08local dialogFrame = playerGui.DialogGui.DialogFrame
09local showDialog = game.ReplicatedStorage.ShowDialog
10 
11playerGui:SetTopbarTransparency(0)
12 
13local function onShowDialog(thumbnail, text, duration)
14    local thumbnailPicture = dialogFrame:FindFirstChild(thumbnail)
15    thumbnailPicture.Visible = true
View all 24 lines...
0
you have to create the gui abnotaddable 920 — 7y
0
you have to create the gui abnotaddable 920 — 7y
0
ok 246810_Herobrine -5 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

its cuz the wiki is outdated but it may change

0
ok 246810_Herobrine -5 — 7y
Ad

Answer this question