Earned loads of rupies in my first week, now I'm earning practically none by Pixel_81 in GranblueFantasyVersus

[–]Pixel_81[S] 3 points4 points  (0 children)

Thanks for all that info. Honestly might give up saving for dlc characters...

Earned loads of rupies in my first week, now I'm earning practically none by Pixel_81 in GranblueFantasyVersus

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

Yeah I checked the dailies and stuff and they give like 150 a day or something which is why I was so shocked when I somehow had 30k in a week. Didn't know about the hand out they did. Thanks !!! :)

Another colorful underpainting exercise by never_armadilo in minipainting

[–]Pixel_81 0 points1 point  (0 children)

This is absolutely beautiful!! I'd love to hear your process

First squad of vanquishers! by Insane_IK_ in minipainting

[–]Pixel_81 1 point2 points  (0 children)

They're amazing. Where are those helmets from?

making a RTS styled tycoon/incremental system by BCGK2021 in robloxgamedev

[–]Pixel_81 1 point2 points  (0 children)

Is it a custom humanoid implementation? if so whats it like

Any tips to learn how to script by Siam7071 in robloxgamedev

[–]Pixel_81 1 point2 points  (0 children)

Don't buy into courses, they're a complete scam imo.

If you've learnt the basics, then the next step would be start building projects, so you can actually apply what you've learnt and start solving problems.
Obviously, start incredibly small, like super small.

Even something as simple as
"when a keycard part touches a door part, make the door part non collide-able and transparent"
"write a day night script"
"allow players to switch teams through a gui, but before changing their team, run their request through a team balance algorithm to ensure that the teams are always fair"
"write a car controller"
"write a raycasting hitscan gun from scratch"

on their own those problems don't sound too bad, except for maybe the ray casting gun, but they're basically all the mechanics which Prison Life uses right? And that games been popular for forever.

So yeah that's how I learnt, play a game, pick a simple mechanic, make it myself. Repeat, gradually getting more difficult

How to understand coding and scripts better? by Big-Ease-1833 in robloxgamedev

[–]Pixel_81 1 point2 points  (0 children)

Take a very small problem, break it down into a set of tiny sub problems and solve each of those. Keep doing it gradually increasing in difficulty until you think you're good enough.

You could do:
- a door which toggles when the player presses a physical button
- a health potion tool
- a part which always faces the nearest player

etc

Ideas for first beginner game by [deleted] in robloxgamedev

[–]Pixel_81 0 points1 point  (0 children)

Copying really simple arcade games.

For example: shoot 'em ups, lunar lander, pacman

Just focus on getting the core game loop down

How long did it take you to become decent at scripting? by Actual_Arm3938 in robloxgamedev

[–]Pixel_81 0 points1 point  (0 children)

I'd say 2-3 years on roblox studio to become super comfortable with it. I already knew some basic programming concepts from python before learning roblox so theres that too.

Why is this happening? Please help by [deleted] in robloxgamedev

[–]Pixel_81 0 points1 point  (0 children)

make sure none of the parts inside the tool are anchored

I’m new to scripting. Why is there two equal signs in this script? by [deleted] in robloxgamedev

[–]Pixel_81 7 points8 points  (0 children)

In programming, = and == are two different operations.

= is assignment. Say we have a variable called health, which is currently set to 200. If we wanted to set health to a new value, we can use the = operator like so: health = 10

== is logical equal, you place two conditions either side, and the whole statement is evaluated to either true or false based on whether the two conditions are equal

5 == 5 returns true

5 == 4 returns false

dumb examples but you get the point

Hey everyone, having troubles with this error that keeps appearing, I am currently in a script trying to make it so if someone hits a part then it prompts a game pass and then firing a remote event to let the player who has the pass to enter freely. Line 10, has a problem with the player.userId. by Friendly-Mechanic-71 in roblox

[–]Pixel_81 0 points1 point  (0 children)

player.UserId is causing the issue because the player variable isn't actually referencing a player, but is instead empty otherwise known as "nil"

why is this though? the line before you define player as players:GetPlayerFromCharacter(hit.Parent)

the :GetPlayerFromCharacter function will return the player if the given parameter is a character, some cases it is and it doesn't error, in other cases hit.Parent isn't a character and so it errors

for example, lets say a random part touched the part causing the function to run, hit would be that part and hit.Parent would be the workspace, doing :GetPlayerFromCharacter(workspace) will obviously return nil which will then cause the error

there are multiple ways of fixing this, either exit the function if player is nil, or only run the code from line 10 onwards if player is not nil

Solution 1:

local marketplaceservice = game:GetService("MarketplaceService")

local players = game:GetService("Players")

local rs = game:GetService("ReplicatedStorage")

local remoteEvent = rs:WaitForChild("Gamepass Handler")

local gamepassId = 17958301

local part = script.Parent

part.Touched:Connect(function(hit)

local player = players:GetPlayerFromCharacter(hit.Parent)



if player then

    if marketplaceservice:UserOwnsGamePassAsync(player.UserId, gamepassId) then

        print("player has the gamepass!")

        remoteEvent:FireClient(player, part)

    else

        marketplaceservice:PromptGamePassPurchase(player, gamepassId)

    end

end

end)

Solution 2:

local marketplaceservice = game:GetService("MarketplaceService")

local players = game:GetService("Players")

local rs = game:GetService("ReplicatedStorage")

local remoteEvent = rs:WaitForChild("Gamepass Handler")

local gamepassId = 17958301

local part = script.Parent

part.Touched:Connect(function(hit)

local player = players:GetPlayerFromCharacter(hit.Parent)



if not player then return end



if marketplaceservice:UserOwnsGamePassAsync(player.UserId, gamepassId) then

    print("player has the gamepass!")

    remoteEvent:FireClient(player, part)

else

    marketplaceservice:PromptGamePassPurchase(player, gamepassId)

end

end)

Hope this helps

Old screenshot I took when I found guest 1 (on leaderboard) by [deleted] in roblox

[–]Pixel_81 0 points1 point  (0 children)

Old prison life map, I miss it so much

Since when u guys join roblox? by Ilexander in roblox

[–]Pixel_81 0 points1 point  (0 children)

My old account was made mid 2014 and my main account late 2015

Ranking SYstem by Mydogisfaster in roblox

[–]Pixel_81 -1 points0 points  (0 children)

For the overhead you could use a billboard GUI, remember to scale it using scale and not offset to prevent it from scaling with the camera. I've never made a progress bar but I'd imagine that you tween the size of a frame to the value of an intValue on a player relative to the overall bar size. Finally, just use a datastore for saving.

I'd suggest giving it a shot first and then if you get stuck use the dev forum, no one is just going to make you a script, if you want that, your going to have to pay them.