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: Controlling a Fake Character

Previous Thread :: Next Thread 
StackEnd is not online. StackEnd
Joined: 20 Oct 2008
Total Posts: 672
11 Mar 2014 08:34 PM
I posted this in Scripting Helpers and obviously got no replies. You guys are a lot smarter, so I'm hoping you'll be able to figure this out.

I'm creating a fake character through a LocalScript and setting the player's Character property to that character. Everything works fine in offline mode - I make an exact copy of the player's character, set the variable 'fakechar' to the new character, then run game.Players.LocalPlayer.Character = fakechar. I can control the new character fine. However, when I test in online mode, everything works except the controls. I can no longer move the character.

I've tried everything from disabling/re-enabling the Animate script to messing with the Humanoid and adding hopeless wait()s at random intervals. Can any of you figure out what's wrong here?
Report Abuse
CoolioTree is not online. CoolioTree
Joined: 26 Dec 2012
Total Posts: 2509
11 Mar 2014 08:44 PM
ur dummy das y
Report Abuse
MountainSnow is not online. MountainSnow
Joined: 15 Mar 2013
Total Posts: 3324
12 Mar 2014 02:25 AM
I've been in Scripting Helpers before, they're worthless to me.

It's because of the HumanoidController, it was updated not to work with nil characters.

I guess just make your own way of doing a Character Controlling system, as far as I know, there's not much currently to bypass this.
Report Abuse
Fubl is not online. Fubl
Joined: 18 Dec 2009
Total Posts: 4899
12 Mar 2014 06:42 AM
Aye, do way with the humanoids, lad.

Remember you can get key output directly from localscripts (GetMouse), so just do some jurry-rigging and hock up the Key* events to your old script.
Report Abuse
VirgilStar1 is not online. VirgilStar1
Joined: 10 Mar 2013
Total Posts: 2737
12 Mar 2014 07:54 AM
Is everyone Scottish in Roblox now?

~Virgil~
Report Abuse
3dsonicdx is not online. 3dsonicdx
Joined: 06 Jul 2010
Total Posts: 654
12 Mar 2014 10:36 AM
Well, I can only tell you this.

I've wanted a similar system, so I coded one myself.

http://www.roblox.com/Oversoul-Alpha-Bug-Fixes-place?id=107062467

But mine uses mouse-movement and keys to activate commands including basic swinging and attacking and stuff like that.

Like the above said, you can't do it that way without it unable to work properly in online mode. But I can give you a few tips on how to get started.


First of all, you need to direct the player's camera to the targetted character...
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