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: Filtering enabled help

Previous Thread :: Next Thread 
KodieCorn is not online. KodieCorn
Joined: 23 Jul 2012
Total Posts: 6500
21 Nov 2016 11:59 AM
I have a reset stats GUI for my game but as soon as I switch my game to filtering enabled it no longer works.

Should I try to bother with fixing it I've tried before with no success or should I just find a script that resets your stats to 0 if you say the command !reset stats

I don't know how to make a script that would work on command like admin commands but with the only command being !resets stats

:(


Report Abuse
tum3005050 is online. tum3005050
Joined: 30 Oct 2011
Total Posts: 168
21 Nov 2016 12:25 PM
Is everything in a local script?


Report Abuse
KodieCorn is not online. KodieCorn
Joined: 23 Jul 2012
Total Posts: 6500
21 Nov 2016 12:26 PM
I think so if I switch it to a local script would that fix the problem ?


Report Abuse
tum3005050 is online. tum3005050
Joined: 30 Oct 2011
Total Posts: 168
21 Nov 2016 12:31 PM
You might need to have it set to an event you can put the event in your ReplicatedStorage and you will need to have a script in serverscriptservice and in your script write this

local repStorage = game:GetService("ReplicatedStorage ")
local remote = repStorage:WaitForChild("remote")

remove:OnServerEvent:connect(function))

end)

I will write more just do this for now.


Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
21 Nov 2016 12:32 PM
https://forum.roblox.com/Forum/ShowPost.aspx?PostID=198426552


Report Abuse
tum3005050 is online. tum3005050
Joined: 30 Oct 2011
Total Posts: 168
21 Nov 2016 12:33 PM
okay time to edit the script you have written in alright?

local repStorage = game:GetService("ReplicatedStorage ")
local remote = repStorage:WaitForChild("remote")

remove:OnServerEvent:connect(function(player)

--Find your humanoid

end)


Report Abuse
tum3005050 is online. tum3005050
Joined: 30 Oct 2011
Total Posts: 168
21 Nov 2016 12:37 PM
Only local scripts can really fire or activate any of these functions so you should read about this on the wiki.


Report Abuse
KodieCorn is not online. KodieCorn
Joined: 23 Jul 2012
Total Posts: 6500
21 Nov 2016 12:45 PM
oh also not everything is in a local script its just a gui and the scripts are in the gui so idk what to do


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