wherestc3
(wherestc3)
January 12, 2025, 10:08am
#1
What do you want to achieve? I’m trying to access “Studio Service” from a plugin
What is the issue? I keep getting an error “singleton Studio already exists”
What solutions have you tried so far? From what i have seen nobody else has this issue after searching on the forums
If anybody could help that would be appreciated.
1 Like
I don’t think that you should be using StudioService like that.
I believe that everything you would want to use Studio Service for should be doable using settings()
in one way or another
wherestc3
(wherestc3)
January 12, 2025, 10:26am
#3
I’m trying to access the plugin user’s id using a server script is there a way to do that with settings()?
For that case, I found the following bit of code online:
game:GetService("StudioService"):GetUserId()
which should do the trick.
I think you just had gotten Studio
and StudioService
mixed up.
wherestc3
(wherestc3)
January 12, 2025, 10:27am
#5
that’s what I’m using and its causing an error.
No, that’s not what you are doing currently. Read the last line of my previous post.
You are doing :GetService("Studio")
when you should do :GetStudio("StudioService")
wherestc3
(wherestc3)
January 12, 2025, 10:28am
#7
Oh yeah thanks let me try that
wherestc3
(wherestc3)
January 12, 2025, 10:29am
#8
The error is gone now i think its because roblox studio only suggested “Studio” when getting the service and not “StudioService” thanks
system
(system)
Closed
January 26, 2025, 10:30am
#9
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.