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
 

Body velociy lags

Previous Thread :: Next Thread 
Kiriyato is not online. Kiriyato
Joined: 15 Mar 2014
Total Posts: 94
17 Oct 2017 11:47 AM
Hello!

I've been making a lot of tools in which i clone a model (internally welded) and then give to one of it's parts body velocity. In studio it works just fine, in an online server it always lags. I have tested the tools individually in an empty game and they still lag.

Does any one have any idea how i can fix it?

Ps.: Tool uses handle; normal scrip, not local script; the script consists in calling a function when the tool is activated; in the function, i get some variables locally, for example UserName, Character, Torso Cframe; i think i clone the model and do Instance.new(BodyVelocity) with local; besides that, the function has a for - do that renames the tools constantly to represent the cooldown; i do disable the script in the beggining, and enable it in the end; and also, inside the function i have another function that is called when a model's part is touched; that other function just verifies if the part touched is a humanoid, that it wasnt damaged recently(i use folders with a name like "damaged") and that it isnt the player using the tool. Thats all i think, please help
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