Jump to content

Having this weird bug with accessing a datastore part

Recommended Posts

  • 1 month later...

Hey RuukasuDev,

First of all, your script is getting the stringvalue object, not its value. So make sure to fix that or it won't work.

Try these steps below to solve your error if you still have it.

1 - Is your script a localscript? Otherwise you will not be able to use LocalPlayer

2 - Try to set LocalPlayer up as a variable at the start of the script.

3 - If that still doesn't work use game:GetService("Players").LocalPlayer:WaitForChild("leaderstats"):WaitForChild("Rank).Value

 If that still doesn't work then Shrek is my middle name.

Best of luck,

Darth :)

Share this post

Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.