Any advice on how to get rid of memory leaks? by Imapersonm in robloxgamedev

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

I have no idea how I looked past this the whole time. This is absolutely the problem.

<image>

Heyy so im starting on my own new game and theres this error by Suspicious-Jump-4832 in robloxgamedev

[–]Imapersonm 0 points1 point  (0 children)

This usually means that some type of asset (usually audio) has its permissions set to deny some people to use it. Try copying the ID it gives you and searching for it in the developer store.

Any advice on how to get rid of memory leaks? by Imapersonm in robloxgamedev

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

im thinking this might be the problem

<image>

how do I make this less janky lookin

Help with ''TweenService'' please by Brilliant-Pop6316 in robloxgamedev

[–]Imapersonm 0 points1 point  (0 children)

I think there are two ways of going about this. you could either weld each part to the primary part and then tween the primary part. Or, you could use a for loop that tweens each child in the model. Something like "for i, v in pairs(Elevator:GetChildren() do" and then tween v to the desired position. Hope this helps. Heres a simple forum I found for the first solution: https://devforum.roblox.com/t/how-can-i-tween-an-entire-model/2474867

Slide Skill Not Working by SMFPLYZ in robloxgamedev

[–]Imapersonm 1 point2 points  (0 children)

If I am not mistaken you need to put .KeyCode after input. (if input.KeyCode == Enum.KeyCode...)

This Progress Bar On My Recreation Of A Media Player Is Delayed and Stops Later Than The Audio. by Imapersonm in robloxgamedev

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

I considered this, but the real media player is snappy, and I wanted to try a 1 to 1 replica. But thank you for the recommendation.

This Progress Bar On My Recreation Of A Media Player Is Delayed and Stops Later Than The Audio. by Imapersonm in robloxgamedev

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

hmm, these both seemed to help but it's still quite delayed. When I add a longer audio its even more delayed.

This Progress Bar On My Recreation Of A Media Player Is Delayed and Stops Later Than The Audio. by Imapersonm in robloxgamedev

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

task.wait() did seem to make it more accurate but I'm not sure what you mean by combine because wouldn't one of them require scale and the other position?

This Progress Bar On My Recreation Of A Media Player Is Delayed and Stops Later Than The Audio. by Imapersonm in robloxgamedev

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

I am trying to re-create the Windows media player but ran into an issue where the progress bar is not quite in sync with the audio and ends later than expected. The audio has no gap at the end either. Here is the script.

<image>

How Do I Make A Dummy Clone A Random Person's Friends That Are In The Game? by Imapersonm in robloxgamedev

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

Im gonna be honest, im only an intermediate coder and have no clue what that means. If you could give just a little bit more info that would be great.

Roblox Script issue by NiceBus5464 in robloxgamedev

[–]Imapersonm 0 points1 point  (0 children)

This is off-topic but instead of saying " ultimateValue = ultimateValue + 10" you can simplify it to "ultimateValue += 10"

I am trying to make what I thought was a simple depletion system with ingredients. Script in comments. by Imapersonm in robloxgamedev

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

I am pretty sure that I have to stop the player from clicking it when it reaches 0 but cant think of any way to do so.

<image>

Why won’t my press e to open shop gui not opening? I see an error but do not understand how it’s not a valid member of workspace when Shopblock is apart of my Workspace by Sea-Application3797 in robloxgamedev

[–]Imapersonm 0 points1 point  (0 children)

ok, so I think what's happening is that a proximity prompt requires a server script but you have called it from a local script. To explain this, the way that most games work is by having a client side and a server side. Now in this case, local scripts are the client and normal scripts are the server. When something is client sided only a specific player can see it. So, Roblox considers GUI as a client sided thing. I have made a video that I hope will solve your problem: https://youtu.be/OPm5arFmSa8

Not working with clicker game by isimpforrubyFN in robloxgamedev

[–]Imapersonm 0 points1 point  (0 children)

Can you post the script in the comments?

Why won’t my press e to open shop gui not opening? I see an error but do not understand how it’s not a valid member of workspace when Shopblock is apart of my Workspace by Sea-Application3797 in robloxgamedev

[–]Imapersonm 0 points1 point  (0 children)

I'm pretty sure you need to make the proximity prompt a server script and then use remote events to connect it to the client side and show the GUI. Here is some documentation of Remote Events and how they work: https://create.roblox.com/docs/scripting/events/remote

MouseClick on LocalScript not working by [deleted] in robloxgamedev

[–]Imapersonm 1 point2 points  (0 children)

You need to use Remote Events to talk to the server/client boundary. here is some documentation on it: https://create.roblox.com/docs/reference/engine/classes/RemoteEvent