generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Need help with VersionDataStore

Previous Thread :: Next Thread 
gogo6104 is not online. gogo6104
Joined: 10 Feb 2010
Total Posts: 326
08 Aug 2016 07:10 PM
I have a script that checks to see if there is a new version of the game, but it will not work. I have noticed that the VersionDataStore part in local versionDataStore = game:GetService("VersionDataStore") is blue underlined.

Here is the script:

-- Warns all players of a possible shutdown once the game get's updated.

local versionDataStore = game:GetService("VersionDataStore")
local serverVersion = 1

guiwarn = game.StarterGui["Warn Players"]

function warnplrs()
guiwarn.Window.Visible = true
guiwarn.Window.Position = guiwarn.Window:TweenPosition(UDim2.new(0.5,-135,0.5,-84))
end

versionDataStore:OnUpdate("Version", function(newValue)
if newValue > serverVersion then
warnplrs()
end
end)


- Seth (gogo6104) || Developer || GFX Designer || Developer @ Barcelo Hotels And Resorts || Vice Chairman @ King's Cafe
Report Abuse
gogo6104 is not online. gogo6104
Joined: 10 Feb 2010
Total Posts: 326
08 Aug 2016 07:13 PM
Apparently VersionDataStore is not even a type of DataStore?


- Seth (gogo6104) || Developer || GFX Designer || Developer @ Barcelo Hotels And Resorts || Vice Chairman @ King's Cafe
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
08 Aug 2016 07:36 PM
*FP*
You make a version datastore with datastore..... duh.........................
Report Abuse
gogo6104 is not online. gogo6104
Joined: 10 Feb 2010
Total Posts: 326
08 Aug 2016 07:37 PM
I would appreciate an elaboration and not a rude attitude.

Thank you.


- Seth (gogo6104) || Developer || GFX Designer || Executive Manager @ Barcelo Hotels And Resorts || Vice Chairman @ King's Cafe
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
08 Aug 2016 07:40 PM
Just said how.......... *FP* for days......
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
08 Aug 2016 07:42 PM
please learn how to use data stores

http://wiki.roblox.com/index.php?title=Data_store
Report Abuse
gogo6104 is not online. gogo6104
Joined: 10 Feb 2010
Total Posts: 326
08 Aug 2016 07:45 PM
#DevVince you did not say how. You brief said what the title of what to do is. I would like you to specify the script. #Unintelligent


- Seth (gogo6104) || Developer || GFX Designer || Executive Manager @ Barcelo Hotels And Resorts || Vice Chairman @ King's Cafe
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
08 Aug 2016 07:47 PM
are u really using hashtags

im sleeeep
Report Abuse
ReynnSolaris is not online. ReynnSolaris
Joined: 16 Jun 2013
Total Posts: 1345
08 Aug 2016 07:47 PM
XDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD save a version u noob XD


Report Abuse
gogo6104 is not online. gogo6104
Joined: 10 Feb 2010
Total Posts: 326
08 Aug 2016 07:50 PM
Well, I shall untrack this thread, as it is filling with rude morons. Good day to you all, and I sincerely hope that you eventually learn the art of kindness.

C:


- Seth (gogo6104) || Developer || GFX Designer || Executive Manager @ Barcelo Hotels And Resorts || Vice Chairman @ King's Cafe
Report Abuse
AggressiveCatch is not online. AggressiveCatch
Joined: 17 Jul 2011
Total Posts: 5840
08 Aug 2016 07:51 PM
"with rude morons"

>says the guy trying to use "VersionDataStore" lol



and you can't lock an unlocked thread here buddy
Report Abuse
Maplen is not online. Maplen
Joined: 19 Sep 2012
Total Posts: 545
08 Aug 2016 07:51 PM
Good riddance.
Report Abuse
ReynnSolaris is not online. ReynnSolaris
Joined: 16 Jun 2013
Total Posts: 1345
08 Aug 2016 07:52 PM
"rude morons"
ok then

for i,plr in pairs(game.Players:getChildren()) do
plr.Chatted:connect(function(msg))
local unedit = string.lower(msg)
if string.match(unedit,"rude morons") then
plr:Kick('Get out noob')
end
end)
end


Report Abuse
gogo6104 is not online. gogo6104
Joined: 10 Feb 2010
Total Posts: 326
08 Aug 2016 07:52 PM
It appears you're also too stupid to understand the meaning of my statement earlier.

#Roblox+ = Forum Notifier Blacklist



- Seth (gogo6104) || Developer || GFX Designer || Executive Manager @ Barcelo Hotels And Resorts || Vice Chairman @ King's Cafe
Report Abuse
ReynnSolaris is not online. ReynnSolaris
Joined: 16 Jun 2013
Total Posts: 1345
08 Aug 2016 07:53 PM
game:GetService("VersionDataStore") <-- AHAHAHAHHAHAHAHHAHAHAHAHA


just use A datastore to grab the version with update async kid


Report Abuse
Maplen is not online. Maplen
Joined: 19 Sep 2012
Total Posts: 545
08 Aug 2016 07:58 PM
getService VersionDataStora, I didn't even see that until somone pointed that out LMFAO
Report Abuse
DevVince is not online. DevVince
Joined: 08 Nov 2008
Total Posts: 9245
08 Aug 2016 08:05 PM
"#Unintelligent"
Indeed you are, moron. I gave you the answer. >_< Idiot..
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image