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
 

Confusing Client vs. Server Error

Previous Thread :: Next Thread 
Zalthulu is not online. Zalthulu
Joined: 24 Oct 2012
Total Posts: 1451
05 Aug 2016 11:26 PM
I've got one of everyone's favorite types of errors - the ones that don't occur in test mode, but occur in servers (not using filtering enabled.) However, this one's a bit different from the usual.

Essentially, I have a script so that if the player is hit by a projectile, then a script in that projectile fires a BindableEvent inside the target players weapon that causes said target player's custom animations all to stop. These projectiles that are fired are parented to the character of the player who fired them, and are created by cloning a base projectile located in ReplicatedStorage.

My problem is this: If I fire the projectile at myself, everything works fine: all the custom animations loaded in to my humanoid stop both from my perspective and from the perspective of other players. However, if someone else shoots me with the projectile, all custom animations stop *from everyone else's perspective*, but on my screen, my animation is unchanged.

Both the script in the projectile and the script in the weapons that holds the BindableEvent that stops all animations are server scripts, not local scripts. I've tried replacing the script in the weapon with a LocalScript and using a RemoteEvent instead with :FireClient(), but I had the exact same problem.

Does anyone know how or why this is happening?


Report Abuse
TheStalinator is not online. TheStalinator
Joined: 06 Mar 2011
Total Posts: 6936
05 Aug 2016 11:29 PM
You've been a good and faithful servant, Severus.

But only I can live forever.


Report Abuse
Zalthulu is not online. Zalthulu
Joined: 24 Oct 2012
Total Posts: 1451
06 Aug 2016 01:25 AM
Fixed.


Report Abuse
TheStalinator is not online. TheStalinator
Joined: 06 Mar 2011
Total Posts: 6936
06 Aug 2016 02:44 PM
You should tell people how you fixed it instead of just saying "Fixed." so people know how to fix it in the future.


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