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: Stats with FE

Previous Thread :: Next Thread 
Bulvyte is not online. Bulvyte
Joined: 21 May 2014
Total Posts: 716
31 Jul 2016 07:42 AM
So i have a custom health bar, xp bar and damage bar, basically if FE is on they won't work.

And i don't know how can u use the remoteevents or remotefunctions to get them to work ?

Like what do i need to do i'm really confused at using remotefunctions also like returning stats getting stats from the server...

If someone could help me with TeamCreate or something i would really appreciate !

Thanks


Report Abuse
BothAngles is not online. BothAngles
Joined: 01 Dec 2011
Total Posts: 9604
31 Jul 2016 08:26 AM
Stop using FE
Report Abuse
2JJ1 is not online. 2JJ1
Joined: 15 Mar 2012
Total Posts: 1571
31 Jul 2016 08:44 AM
I can give you a lil idea of what to do with remotes.

Create a remote event instance and place it in Workspace(For my example, name it, "Remote").
Create a server script and put it in ServerScriptService.
Create a local script and put it in starterpack.


To have the client communicate with with the server, you would call on the remote with something similiar to
datatopass = "Data"
game.Workspace.Remote:FireServer(datatopass)

The remote will send a signal to the server when it has been fired. Use the server script to receive the signal using code similar to
game.Workspace.Remote.OnClientEvent:connect(function(plr, passeddata)
print("Data receive: " .. passeddata .. "from " .. plr.Name)
end)
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
31 Jul 2016 09:12 AM
You can just save all the stats in values, write them in server, read them in local script.
Report Abuse
Bulvyte is not online. Bulvyte
Joined: 21 May 2014
Total Posts: 716
31 Jul 2016 11:03 AM
Please no i don't want to instance RemoteFunctions or Events into workspace, everything is 1 placed nicely into ReplicatedStorage.


Report Abuse
Bulvyte is not online. Bulvyte
Joined: 21 May 2014
Total Posts: 716
31 Jul 2016 11:06 AM
I never understand what do u have to put in the 2nd place of brackets and how does it work. Wiki is confusing as hell for me

And no i want my game to be secure with FE.


Report Abuse
pyth_n is not online. pyth_n
Joined: 21 Jun 2016
Total Posts: 1322
31 Jul 2016 11:16 AM
Stop using FE [2]


- pyth_n
Report Abuse
Client_Replicated is not online. Client_Replicated
Joined: 18 Jul 2011
Total Posts: 1567
31 Jul 2016 11:19 AM
It irks me when people tick FE without understanding how to use it properly
Report Abuse
Real_Edgy is not online. Real_Edgy
Joined: 23 Oct 2013
Total Posts: 1212
31 Jul 2016 11:19 AM
If you can't understand a simple client-server model...



stop using FE. [3]
Report Abuse
Wowgnomes is not online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
31 Jul 2016 11:55 AM
basically anytime the world interacts with player, or player interacts with another player, it needs to be done thru a script and transmitted to a localscript
Report Abuse
leomesa is not online. leomesa
Joined: 11 Apr 2014
Total Posts: 1029
31 Jul 2016 12:00 PM
Unless you just want to protect your game from exploiters then use FE but your going to need RemoteEvents but if exploiters isn't a big deal for you then untick FE.
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
31 Jul 2016 12:08 PM
https://forum.roblox.com/Forum/ShowPost.aspx?PostID=193565057

Anyways. Here is the basic idea:

Remember most of the character is replicated on the server. So that means you won't have to do anything tricky to make sure the guis are working.

You would handle the representation on the client. What this means is all you have to do is keep track of the stats that the server changes. Thats easy. If you want other players to see these stats, all they have to do is retrieve the stats of the player the same way the client would. Just make sure the server will verify the values.


Report Abuse
LuaDeveloped is not online. LuaDeveloped
Joined: 28 Jan 2016
Total Posts: 439
31 Jul 2016 12:14 PM
You don't need to use remote events to get those
for health just do
Humanoid.HealthChanged:connect()
for the stats put them in replicated Storage and they will be readable to the client
Report Abuse
Bulvyte is not online. Bulvyte
Joined: 21 May 2014
Total Posts: 716
31 Jul 2016 05:33 PM
Listen, i know how to make guis work please don't tell me u that u don't need functions for that if the gui isnt working in FE means it requires remotes to get it work

My gui uses stats which u can upgrade

Example u start with 20 hp upgrade the stat now u have 30 hp this is how it works. Thats why the GUI won't work because this is done in a localscript and i dont know how to use the remotefunction to get stats from server and return it to the player i watched tutorials about remotefunctions none helped me it's very very confusing, not about remoteevents tho i understand em perfectly but when i try to do something with remote functions i fail. EVERYTIME. Would be nice if someone could help a lil' bit via TeamCreate!

And yes i checked the wikis.
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
31 Jul 2016 05:38 PM
Use values then and get the values of what you want from the client and have the server control it

More vulnerable to exploits but it is an easier method since you clearly don't understand anything about remote events, remote functions.

And no, you don't understand something if you obviously can't get it to work.
Report Abuse
eRanged is not online. eRanged
Joined: 15 Jun 2013
Total Posts: 9746
31 Jul 2016 05:42 PM
You don't need any remotes to get stats with FE :l
Report Abuse
Bulvyte is not online. Bulvyte
Joined: 21 May 2014
Total Posts: 716
31 Jul 2016 05:45 PM
AS I SAID i know how REMOTE EVENTS work

I dont know how REMOTE FUNCTIONS work theres 2 type of remotes

REMOTE EVENT
REMOTE FUNCTION

REMOTE FUNCTION is harder to understand for me. U get it ? And people say u dont need remotes to get stats ? How so then how can i do it ? xD
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
31 Jul 2016 05:46 PM
VALUES

I stated it pretty clearly at the beginning of my statements

you can get the health pretty easily by just reading the Health and MaxHealth of your humanoid

Thinks like XP you can store in IntValues
Report Abuse
Bulvyte is not online. Bulvyte
Joined: 21 May 2014
Total Posts: 716
31 Jul 2016 05:48 PM
If u can't help me on teamcreate please don't post because i just don't get it how it works by reading i'm not that good at english i just need a video to see or a player guiding, let's me understand better...
Report Abuse
Lua_Basics is not online. Lua_Basics
Joined: 04 Jun 2012
Total Posts: 9977
31 Jul 2016 05:49 PM
If you don't understand it, try to learn how to. stop using FE. [4]
Report Abuse
Bulvyte is not online. Bulvyte
Joined: 21 May 2014
Total Posts: 716
31 Jul 2016 06:02 PM
So there aren't any kind people who can help? Lol.... K then
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
31 Jul 2016 06:02 PM
Not in any way that you can physically understand apparently because we tried you know.
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