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: Works with FE off

Previous Thread :: Next Thread 
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
03 Sep 2017 02:51 PM
for i,v in pairs (plrInv:GetChildren()) do

print'98798789' -- with FE on stops here

v.Exp.Changed:connect(function(Exp)
print 'start1'

game.ReplicatedStorage.Events.XP:FireClient(player)

end
)
end
end
)



its in a server script works in studio and when fe is off
Report Abuse
Baseness is not online. Baseness
Joined: 07 Oct 2015
Total Posts: 1001
03 Sep 2017 02:53 PM
Tell us the location of the parent of Exp.


Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
03 Sep 2017 02:58 PM
local plrInv = player.Stats

it gets all of the values in stats and if they change then if one is changed it should work and see if you have enough exp to level up
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
03 Sep 2017 03:09 PM
b
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
03 Sep 2017 03:19 PM
b
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
03 Sep 2017 03:26 PM
b
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
03 Sep 2017 03:28 PM
g
Report Abuse
jonesj627 is not online. jonesj627
Joined: 06 Oct 2010
Total Posts: 1496
03 Sep 2017 03:30 PM
are you trying to change values from a local script?
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
03 Sep 2017 03:33 PM
im trying to get it to work .. the value changes for sure , it should run this function but it only runs with fe off. it doesn't print start1 with it on


after it does that its supposed to do the rest in a local script
Report Abuse
jonesj627 is not online. jonesj627
Joined: 06 Oct 2010
Total Posts: 1496
03 Sep 2017 03:37 PM
that's what i'm asking, if you're trying to update values from a local script, with fe on, it won't replicate the updated value to the server, and the function would never call. what is supposed to be changing your values in player stats?
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
03 Sep 2017 03:39 PM
i took out because of chat filtering this is in it too


if v.Exp.Value >= v.ExpNeeded.Value and v.Exp.Value ~= 0 then
if Enl then
Enl = false
v.Exp.Value = nil

v.Level.Value = ((v.Level.Value) + 1)
v.ExpNeeded.Value = (calculateLevel(v.Level.Value))
Report Abuse
jonesj627 is not online. jonesj627
Joined: 06 Oct 2010
Total Posts: 1496
03 Sep 2017 03:43 PM
where's the script when v.EXP.Value is changed
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
03 Sep 2017 03:46 PM
that works with fe on its in the woodcutting local script. its just that when u finally get the amount exp needed to level up nothing happens and u dont
Report Abuse
LilPrincesses123 is not online. LilPrincesses123
Joined: 26 Sep 2015
Total Posts: 393
03 Sep 2017 03:47 PM
why are you using '' on the print when youre printing numbers the '' is for printing strings. do print(Numbers)
Report Abuse
jonesj627 is not online. jonesj627
Joined: 06 Oct 2010
Total Posts: 1496
03 Sep 2017 03:48 PM
Firstly, I know nothing about your game or how you have your scripts organized. But by your response, it sounds like you're trying to change player stats from a local script which I told you would not work because if you tried to change values from local scripts with filtering enabled on, it would not change on the sever. You need to figure out a way to replicate to the server using remote events or something
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
03 Sep 2017 03:49 PM
that dont matter lol
Report Abuse
jonesj627 is not online. jonesj627
Joined: 06 Oct 2010
Total Posts: 1496
03 Sep 2017 03:49 PM
ugh, i'm done ################## good luck
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
03 Sep 2017 03:52 PM
but in the local script it does change the woodcutting xp for sure ? then its supposed run this in the server script everytime any xp is changed but it doesn't
Report Abuse
LilPrincesses123 is not online. LilPrincesses123
Joined: 26 Sep 2015
Total Posts: 393
03 Sep 2017 03:53 PM
THERES A REASON ITS ERRORING ON THE PRINT


YOURE PRINTING WRONG


INSTEAD OF DOING


print'123456'

DO

print(123456)

you're printing a value not a string
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
03 Sep 2017 03:53 PM
i wasnt talking to u haha i was talking about the print()

so what ur saying is if i change my data values in the local script.. i wont beable to check if they changed in the server script?
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
03 Sep 2017 03:55 PM
changing the print still didnt work
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
03 Sep 2017 04:00 PM
g
Report Abuse
jonesj627 is not online. jonesj627
Joined: 06 Oct 2010
Total Posts: 1496
03 Sep 2017 04:01 PM
That's exactly what I'm saying.

With Filtering Enabled on,

Say for Example I tried to set a player stat value from 10 to 90.
It'd be 90 on your computer(client)

But it would not replicate to the server and so It'd still be 10. The function would not call because to the server, it would be like nothing has changed.
Report Abuse
GreedTaka is not online. GreedTaka
Joined: 12 Dec 2014
Total Posts: 1503
03 Sep 2017 04:07 PM
ok coo that fixed it it bro thank u
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