of     1   

Rockenite
#149900249Sunday, November 16, 2014 9:22 PM GMT

NOTE: If you are going to message : "We are not going to do this script for you, you lazy person. Get out SH," i'd respect your opinion but ignore it. I tried my hardest to make it and I even made notes on where I need help with. If you simply don't want to help, don't reply. If you want to help on some part of the script, fix only the one part you choose, I'd appreciate that too. Thanks :) = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Ok so in the below I made a client only debounce, it looks for the datastore and the leaderboard, checks if both >= the price and then takes it away. There are many buggs and all help would be appreciated. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = local PartyPoints = game:GetService("DataStoreService"):GetOrderedDataStore("Party Points") function DebounceChange(plr, active) getfenv(0)[plr.Name .. "_Debounce"] = active end function DebounceRetrieve(plr) return getfenv(0)[plr.Name .. "_Debounce"] end game.Players.PlayerAdded:connect(onPlayerEntered) if PartyPoints:GetAsync() == nil then PartyPoints:SetAsync() else --How do I update the stats to the leaderboard? I have a datastore but a leaderboard too. end function onTouch(hit) if DebounceRetrieve(h) == true then DebounceChange() end if hit.Leaderstat > 500 then hit.Leaderstat == hit.Leaderstat - 500 aa = game.ServerStorage.ITEM:clone() aa.Parent = hit -- IK HIT ISN'T THE RIGHT PHRASE SO PLEASE TELL ME WHAT IS --save item in inventory else bb = game.Servestorage.NOTENOUGHGUI:clone() bb.Parent = hit.GUI -- HOW TO MAKE IT A CLIENT ONLY GUI!?!?!??!?! end wait(3) if DebounceRetrieve(h) == false then DebounceChange() end end
Rockenite
#149901598Sunday, November 16, 2014 9:41 PM GMT

Mind if I bump? I am in a hurry, so, sorry.
Rockenite
#149937963Monday, November 17, 2014 8:05 AM GMT

I have to bump as no one has replied in hours.
Kingdomtard
#149938316Monday, November 17, 2014 8:29 AM GMT

I can give you mine from my RPG, Sword of War if you want.
Rockenite
#149938810Monday, November 17, 2014 9:00 AM GMT

That would be greatly appreciated :D Thanks! PM me the script and I shall edit it for my needs. Thanks again!
Happywalker
#149940217Monday, November 17, 2014 11:22 AM GMT

Player.leaderstats .ServerStorage*
Rockenite
#149950399Monday, November 17, 2014 6:13 PM GMT

Bump.
Rockenite
#149951842Monday, November 17, 2014 7:02 PM GMT

Bump.

    of     1