So, I’ve Recently Made A Script For My Dice Game. I Wanted To Know If It Works Properly.
Since Im on Chromebook, I Can’t Really Test The Script.
local dice = game.workspace.dice1
wait (5)
dice.anchored=false
game.workspace.dice2
unanchored=true
game.startergui.setCore {
Text='The Die Has Fallen!'
Font= enum.font.cartoon
Color=color3.new(225,50,255)
end
Feedback about this script will be very helpful. Thank You!
-peace,
DevDomIV
It should work, but unanchored is not defined. And I recommend you use the print function instead of using the core gui
Also be sure to unanchor dice 2 by doing game.workspace.dice2.unanchored=true
Instead of what you typed
Also for color3 use color3.fromRGB() instead of color3.new().
Also you have to use the correct syntax or it wont work.
local dice = game.workspace.dice1
wait (5)
dice.anchored=false
game.workspace.dice2
unanchored=true
game.startergui.setCore {
Text='The Die Has Fallen!'
Font= enum.font.cartoon
Color=color3.new(225,50,255)
end
local dice = game.workspace.dice1
wait (5)
dice.Anchored=false
local dice2 = game.workspace.dice2
dice2.unanchored=true
TextLabel = -- textlabel variable
game.StarterGui.setCore{
TextLabel.Text='The Die Has Fallen!'
TextLabel.Font=Enum.Font.Cartoon
TextLabel.TextColor3=Color3.fromRGB(225,50,255) -- or use background or text or stroke color.
end