Re: Is there a way of detecting a user's GOODBLOX ID in a script?
2/23/2021 1:17:04 PM
(Total replies: 0)
|
You can get a user's ID ingame by checking the player's "userId" property in their instance under Players. For example, you can make a brick that checks the user id when touched:
--
local brick = script.Parent
function OnTouch(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local char = hit.Parent
local player = game.Players:GetPlayerFromCharacter(char)
IDYouWantHere = 108
if player.userId == IDYouWantHere then
char.Humanoid.MaxHealth = 200
char.Humanoid.Health = 200
end
end
end
brick.Touched:connect(OnTouch) |
|
|
I made Tetris in Goodblox
2/2/2021 10:33:07 PM
(Total replies: 3)
|
What the title says. I made tetris in goodblox.
Controls:
A, S, D - Move piece
W - Hard drop piece
C - Hold piece
G - Start game
You can play it here: https://goodblox.xyz/PlaceItem.aspx?ID=606 |
|
|
|
|
|
|
|
|
Re: clickbait is gone :(
12/11/2020 11:47:50 AM
(Total replies: 0)
|
im glad hes banned, he was annoying and constantly shitposting in scripting help and creations gallery |
|
|
Re: How do i make a message at the top or bottom of the screen
12/10/2020 6:55:37 PM
(Total replies: 0)
|
the black bars on top / bottom of the screen are called Hints, and can only be created with a script.
local Hint = Instance.new("Hint")
Hint.Text = "This is the hint's text."
Hint.Parent = workspace
Put that in a script, run it and it'll work |
|
|
|
|
Re: iam back
11/10/2020 10:58:59 AM
(Total replies: 0)
|
nobody missed you |
|
|
Re: Idea : Search Game
11/4/2020 3:02:07 PM
(Total replies: 0)
|
you can search for games. go to Catalog and scroll down to "Places", there will be places and a search bar. searching for games is in catalog because it was like that in 2009 or something |
|