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 » Scripting Helpers
Home Search
 

IntValue not Changing

Previous Thread :: Next Thread 
Krosskode is not online. Krosskode
Joined: 26 Aug 2010
Total Posts: 11001
25 Oct 2014 02:12 PM
Background Information:
FilteringEnabled is on.
I'm using a RemoveEvent to send Data between the Server and the Client.
The number gets transferred, but the IntValue value doesn't change.
The IntValue is in the Gui with the Client Localscript.
It does not work with FilteringEnabled off.
The Gui does show up, so it is being called.
It is NOT an error with the DoorStop.

Okay, so I have a brick, so that when you do indeed touch it, it sends a Client event to the player, that part works. However, the number transfers, but the IntValue does NOT change. Whether it's from me referencing the IntValue wrong, or it's an issue with it in general.

My script is below:

~~~~~~~~~~~~~~~~~
event = game.ReplicatedStorage.OpenDoors

DoorVal = script.Parent.DoorValue

event.OnClientEvent:connect(function(...)
local tuple = {...}
if tuple[1] == "Door" then
DoorVal.Value = tuple[2]
script.Parent.Label.Visible = true
elseif tuple[1] == "DoorStop" then
DoorVal.Value = 0
script.Parent.Label.Visible = false
end
end)
~~~~~~~~~~~~~~~~~



This is where the error resides, because I've manually changed the value (I.E: Changing the value, saving the game and going in game/Changing it then Play Solo.) and it worked. Please help, and thanks in advance.
Report Abuse
Krosskode is not online. Krosskode
Joined: 26 Aug 2010
Total Posts: 11001
25 Oct 2014 03:06 PM
Bump.
Report Abuse
Krosskode is not online. Krosskode
Joined: 26 Aug 2010
Total Posts: 11001
25 Oct 2014 05:20 PM
Bump
Report Abuse
Krosskode is not online. Krosskode
Joined: 26 Aug 2010
Total Posts: 11001
25 Oct 2014 05:56 PM
Bump.
Report Abuse
Krosskode is not online. Krosskode
Joined: 26 Aug 2010
Total Posts: 11001
26 Oct 2014 01:23 PM
Bump.
Report Abuse
Krosskode is not online. Krosskode
Joined: 26 Aug 2010
Total Posts: 11001
26 Oct 2014 05:09 PM
Bump.
Report Abuse
Krosskode is not online. Krosskode
Joined: 26 Aug 2010
Total Posts: 11001
27 Oct 2014 05:06 PM
Bump.
Report Abuse
TrainingToTroll is not online. TrainingToTroll
Joined: 27 Oct 2012
Total Posts: 1757
27 Oct 2014 05:27 PM
Bump
Report Abuse
TrainingToTroll is not online. TrainingToTroll
Joined: 27 Oct 2012
Total Posts: 1757
27 Oct 2014 05:28 PM
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Bump
Report Abuse
Krosskode is not online. Krosskode
Joined: 26 Aug 2010
Total Posts: 11001
27 Oct 2014 06:25 PM
Bump
Report Abuse
Krosskode is not online. Krosskode
Joined: 26 Aug 2010
Total Posts: 11001
02 Nov 2014 03:57 PM
Bump
Report Abuse
DrMathematica is not online. DrMathematica
Joined: 29 Aug 2008
Total Posts: 27268
02 Nov 2014 04:00 PM
Hi Krosskode,

Do you mind uploading a model of the exact setup you're having problems with for me (I don't need the rest of your game)?

This is an interesting issue and I'd be glad to put some experienced effort into solving your problem.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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