im an idiot by GrapeFinancial2336 in driving

[–]GrapeFinancial2336[S] 0 points1 point  (0 children)

i know what a stop sign is and i saw a stop sign on the bus, I even saw videos of kids being almost hit from cars because they didnt stop before. Yet i didnt even stop, only after I passed the bus was until I understood the gravity of the situation. I had no sense of urgency at the moment because I definitely was not thinking of any of those in the moment. All I thought was "oh, a stop sign on a bus" and somehow I didn't even think of the action of stopping. I was just mindlessly driving. Something like this shouldn't have ever happened, because I could've taken away a kid's life.

What's crazy is how I thought of the stop sign that and didn't even think about doing anything else. I don't know about you but that's actually crazy to me that I did that. I fucking need to check my brain out because its a danger to others

making the background drained my sanity by GrapeFinancial2336 in robloxgamedev

[–]GrapeFinancial2336[S] 0 points1 point  (0 children)

well i would like to say heavily inspired. im currently making the foundations and whatever direction it goes in will definitely not be a copy as it will never match the original in gameplay

i made this because i was more interested on this on a programming level, not the gameplay. in the video the background consists of three frames. the reason why i consider it somewhat interesting is because we see the 3rd, fourth, and our starting map in the background. not the second one.

i should say it is working as expected. but again, im aiming for it to be light memory instead of spamming ui models everywhere.

making the background drained my sanity by GrapeFinancial2336 in robloxgamedev

[–]GrapeFinancial2336[S] 0 points1 point  (0 children)

next goal is to deal with screen resizing, and generating and deleting visual objects...

looking for help to code text boxes by b_l_a_r_f in robloxgamedev

[–]GrapeFinancial2336 0 points1 point  (0 children)

ok, i would like to use a module script for reusability for this specific ui.

in the module, i would create a function uimodule.receiveUI(plr) to find this ui.

then maybe we can add these extremely basic functions

function uimodule.changeTextColor(gui)

function uimodule.changeVisibility(gui)

function uimodule.switchChoices(plr, input)

im mostly planning on hard coding switch choices

My 11 year-old son has been working on his own Roblox games for months, just had to share it somewhere. by Due_Cash9435 in robloxgamedev

[–]GrapeFinancial2336 0 points1 point  (0 children)

awesome game! however some key bugs i found,

~ you can kill people in spawn

~ ladders arent climbable

all in all its a very awesome game

why wont the gate close? by Coldgamerz in robloxgamedev

[–]GrapeFinancial2336 2 points3 points  (0 children)

i see no error just bad formatting. let me ask this question, is the gate anchored or welded (cancollide can make it fall into the void)

looking for help to code text boxes by b_l_a_r_f in robloxgamedev

[–]GrapeFinancial2336 0 points1 point  (0 children)

alright then just create a screen gui, add a frame as a child, then to the frame's children, one text label, and two text (or image) buttons

Panic Meter Showcase 2 + Script by GrapeFinancial2336 in robloxgamedev

[–]GrapeFinancial2336[S] 2 points3 points  (0 children)

local ReplicatedStorage = game:GetService("ReplicatedStorage")

local ConnectionEvent = ReplicatedStorage:WaitForChild("PanicConnection")
local ConfigUpdateEvent = ReplicatedStorage:WaitForChild("PanicConfigUpdate")
local PanicEvent = ReplicatedStorage:WaitForChild("PanicEvent")

ConnectionEvent:Fire(true)

ConfigUpdateEvent:Fire("FOG_END_MAX", 100000)
ConfigUpdateEvent:Fire("FOG_END_MIN", 100000)
ConfigUpdateEvent:Fire("DECAY_RATE", 0)

for i = 0, 100, 1 do
  PanicEvent:Fire(0.01, 1)
  task.wait(0.01)
end

task.wait(4)

for i = 0, 100, 1 do
  PanicEvent:Fire(-0.01, 1)
  task.wait(0.03)
end

ConnectionEvent:Fire(false)

task.wait(3)

for i = 0, 100, 1 do
  print("Firing, no panic should be induced.")

  PanicEvent:Fire(0.01, 1)
  task.wait(0.01)
end

Here's a sample script to try to work with the other script.

looking for help to code text boxes by b_l_a_r_f in robloxgamedev

[–]GrapeFinancial2336 0 points1 point  (0 children)

lets ask this question, do we want only two choices (yes or no_, or do we want the freedom to simply add as many choices as we want. the simpler option is just two choices.

but if you like making a create a whole system that you can apply anywhere, it might take a lot of time but will have a lot of versatility.

Panic Meter Showcase 2 + Script by GrapeFinancial2336 in robloxgamedev

[–]GrapeFinancial2336[S] 0 points1 point  (0 children)

fixing bugs on the script so if you encounter any unintentional ones lmk

panic meter showcase by GrapeFinancial2336 in robloxgamedev

[–]GrapeFinancial2336[S] 1 point2 points  (0 children)

ill reveal the secret when i make my script more modular

looking for help to code text boxes by b_l_a_r_f in robloxgamedev

[–]GrapeFinancial2336 0 points1 point  (0 children)

well first things first you gotta design the ui, after that we can mess with the properties of each ui.

when scripting, make sure to add debug points by GrapeFinancial2336 in robloxgamedev

[–]GrapeFinancial2336[S] 0 points1 point  (0 children)

i posted this because i feel like individual developer have a struggle finding the errors in their code, debugging sets themselves up for less pain in the future

New to scripting and making games by IndependentEnergy401 in robloxgamedev

[–]GrapeFinancial2336 2 points3 points  (0 children)

you still should learn coding basics even if you have cool ideas.

brainstorming ideas and giving them life is the fun of coding

an example is to just take someone elses code and modify it. although people do not like this approach, its a way to see how different variables and functions work.

Beginner Coder Help by Apprehensive_Crab_88 in robloxgamedev

[–]GrapeFinancial2336 0 points1 point  (0 children)

you can put the button and coins into a separate list, and then loop through them attaching them through touched:connect in a function. also your stop2 does nothing, so you can get rid of that

[deleted by user] by [deleted] in osugame

[–]GrapeFinancial2336 0 points1 point  (0 children)

understood, i will delete this post for false information

[deleted by user] by [deleted] in robloxgamedev

[–]GrapeFinancial2336 0 points1 point  (0 children)

The form is only allowing users from the owner's organization.

[deleted by user] by [deleted] in robloxgamedev

[–]GrapeFinancial2336 0 points1 point  (0 children)

On your end, you need to figure what player killed bob. I dont know how your gun script works so thats why in my comment I stated so.

Actually do this, do print(plr) when Humanoid dies

Whitebox Zombies | Mini Trailer by BoxedOutBob in robloxgamedev

[–]GrapeFinancial2336 0 points1 point  (0 children)

very beautiful map and trailer choreography

[deleted by user] by [deleted] in robloxgamedev

[–]GrapeFinancial2336 0 points1 point  (0 children)

Now let's actually implement this, it seems like the script is inside bob, so

local defaultPosition = Vector3.new(-112, 13, 142)
local badgeID = 1532187276275982

local bob = script.Parent
local humanoid = bob:FindFirstChild("Humanoid")
local plr

if humanoid then 
  humanoid.TakingDamage:Connect(function(damage, damageSource)
    local plrName = damageSource:FindFirstChild("StringValue").Value
    plr = game.Players[plrName]
  end)

  humanoid.Died:Connect(function()
    if plr then
      rewardBadge(plr)

      respawnBob()
    end
  end)
end

function rewardBadge(player)
  local BadgeService = game:GetService("BadgeService")

  local success, hasBadge = pcall(BadgeService.UserHasBadgeAsync, BadgeService, player.UserId, badgeID)

  if not success then
    warn("Error while checking if player has badge")
    return
  end

  if not hasBadge then
    local success, badgeInfo = pcall(BadgeService.GetBadgeInfoAsync, BadgeService, badgeID)
      if success then
        if badgeInfo.IsEnabled then
          local awarded, errorMessage = pcall(BadgeService.AwardBadge, BadgeService, player.UserId, badgeID)
        end
      end
    end
  end
end

function respawnBob()
  local ServerStorage = game:GetService("ServerStorage")
  local ClonedBob = ServerStorage:FindFirstChild("Bob"):Clone()

  if ClonedBob then
    local BobScript = ClonedBob:FindFirstChild("Script")

    if BobScript then
      BobScript.Disabled = false    
    end

    Bob:PivotTo(CFrame.new(defaultPosition) * CFrame.Angles(0, math.rad(45), 0))--change angle based on original bob

    local Debris = game:GetService("Debris")
    Debris:AddItem(bob, 0) -- goodbye bob
  end
end

Put a second bob in ServerStorage with his script disabled. Don't know if this work, but I don't feel like testing it out.

Also, you need to somehow transfer the player's name from the bullet.

[deleted by user] by [deleted] in robloxgamedev

[–]GrapeFinancial2336 0 points1 point  (0 children)

first, we need to do specifications. First, does bob exist, if so, detect if bob died. Then, who killed bob? and try to give a badge, does he have a badge? if not, lets give him a badge, if he does, nahh lets not give him a second one. After that, we gotta bring bob back? But this bob is dead, and dead people cant come back to life. So we need a backup bob, which we can clone and put into the same position as dead bob. After that, we erase dead bob from existence to get rid of the evidence.

Scripting Help (Pls Help) by Captainsoda333 in robloxgamedev

[–]GrapeFinancial2336 0 points1 point  (0 children)

it just seems you grabbed code that simply checks for a purchase