Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
|
| 03 Sep 2017 11:23 AM |
(some locals) local clicks = plr:WaitForChild("stat")
SCRIPT 1 game.ReplicatedStorage.Remotes.a.1.OnClientEvent:connect(function(eggad) if plr:WaitForChild("Backpack"):WaitForChild("WhichOn").Value < 1 then plr:Kick("stop") -- kicks if not on anything else clicks.Value = clicks.Value + 1 -- adds to stats end end)
SCRIPT 2 game.ReplicatedStorage.Remotes.a.1:FireClient(game.Players.LocalPlayer, 1)
So basically i've been trying to use remote functions / events (mainly events) to change stats inside of my game, the stats on the leaderboard change everytime the remoteevent is called in studio, but when called in an actual game it wont work. I've picked out the main lines of code that I believe are causing the problems, if you can reply with help it'll be greatly appreciated ;D
|
|
|
| Report Abuse |
|
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
|
| 03 Sep 2017 11:25 AM |
Oh gosh the new way of scam botting ._.
|
|
|
| Report Abuse |
|
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
| |
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
|
| 03 Sep 2017 11:32 AM |
i have to bump like every 2 mins wth
|
|
|
| Report Abuse |
|
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
| |
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
|
| 03 Sep 2017 11:37 AM |
ding dong thats another 2 minutes gone
|
|
|
| Report Abuse |
|
|
Ben10Tam
|
  |
| Joined: 02 Apr 2013 |
| Total Posts: 415 |
|
|
| 03 Sep 2017 11:39 AM |
yaaaa
Looking to hire a gui designer/builder? Contact me on discord at CTahmid#5491! |
|
|
| Report Abuse |
|
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
| |
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
|
| 03 Sep 2017 11:41 AM |
tell you what nevermind the scam bots have beaten me ._.
|
|
|
| Report Abuse |
|
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
|
| 03 Sep 2017 11:44 AM |
last bump gonna check back in like 1hr
|
|
|
| Report Abuse |
|
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
|
| 03 Sep 2017 01:51 PM |
oh hey it looks like the bots stopped
|
|
|
| Report Abuse |
|
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
|
| 03 Sep 2017 02:08 PM |
if it helps, the first script is in a server script, and the second one is in a local and they're both located in the StarterGui / PlayerGui
|
|
|
| Report Abuse |
|
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
|
| 03 Sep 2017 02:15 PM |
or just another way to do something like this in an FE place 3:
|
|
|
| Report Abuse |
|
|
|
| 03 Sep 2017 02:16 PM |
| Wrong, wrong, and wrong. FireClient? Are you using Server to Server or Server to Client? FireClient are for server to only one client, FireServer are for a specific client to server, ########lients are for server to ALL the clients in game. |
|
|
| Report Abuse |
|
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
|
| 03 Sep 2017 02:21 PM |
I've tried doing :FireServer() instead of :FireClient() before and it had the exact same outcome as doing :FireClient(). How would using :FireServer() help specifically?
|
|
|
| Report Abuse |
|
|
Happ_yy
|
  |
| Joined: 06 Jan 2012 |
| Total Posts: 9600 |
|
| |
|
|
| 03 Sep 2017 02:24 PM |
script 2:
game.ReplicatedStorage.REmotes.a.i.OnServerEvent:connect(function(plr, eggad)
script 1:
game.ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("a"):WaitForChild("1"):FireServer(1)
|
|
|
| Report Abuse |
|
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
|
| 03 Sep 2017 02:36 PM |
Hmm, I replaced the lines with those 2 lines but it still has the same outcome as before, it works on studio but not the actual game. idk if its the placement of the script, the :FireServer() one being in the local and the OnServerEvent one in the Server script both in the player gui, im not sure.
|
|
|
| Report Abuse |
|
|
|
| 03 Sep 2017 02:38 PM |
| This is so easy, but for you it's hard. Ask this question in scriptinghelpers. [org], they'll help you there. |
|
|
| Report Abuse |
|
|
Baseness
|
  |
| Joined: 07 Oct 2015 |
| Total Posts: 1001 |
|
|
| 03 Sep 2017 02:50 PM |
I can help you if you do Team Create with me right now.
|
|
|
| Report Abuse |
|
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
|
| 04 Sep 2017 02:48 AM |
I might need help again, i'm still stuck ;-;
|
|
|
| Report Abuse |
|
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
|
| 04 Sep 2017 04:21 AM |
Ok i'm kinda desperate now cus I can't continue the game unless I do this. 50R$ is on the table if anyone wants it
|
|
|
| Report Abuse |
|
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
|
| 04 Sep 2017 05:56 AM |
Upping that to 250R$ for whoever gives me a solution, i've been trying to fix it for hours and im so damn desperate ._.
|
|
|
| Report Abuse |
|
|
amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
|
| 04 Sep 2017 05:59 AM |
message me all ur scripts on discord
amanda #0103 |
|
|
| Report Abuse |
|
|
Axtanvic
|
  |
| Joined: 16 Jul 2015 |
| Total Posts: 549 |
|
|
| 04 Sep 2017 06:01 AM |
@! ! ! Axtanvic ! ! !#9097 cant find you
|
|
|
| Report Abuse |
|
|