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: Character creation help

Previous Thread :: Next Thread 
32luigi is not online. 32luigi
Joined: 16 Jan 2010
Total Posts: 83
20 Jul 2016 08:22 PM
Im making a char creation and I want the character to sort of have movement in place
I also want to have the camera effects focused on the player. Problem is I dont know how to do this so do any of you have scripts for reference or could help me. I know the second one is called camera manipulation but idk what the first one is. Help!!



Report Abuse
32luigi is not online. 32luigi
Joined: 16 Jan 2010
Total Posts: 83
20 Jul 2016 09:56 PM
bumper to bumper


Report Abuse
robloxnoobguy is not online. robloxnoobguy
Joined: 09 Aug 2010
Total Posts: 18
20 Jul 2016 10:38 PM
Use animations for the first. (ex:
local animId=180426354
local plr=game.Players.LocalPlayer
local chr=workspace:WaitForChild(plr.Name)
local anim=Instance.new('Animation',chr.Humanoid)
anim.AnimationId='rbxassetid://'..animId
chr.Humanoid:LoadAnimation(anim):Play())

Make sure no other animations are playing if you only want that one though.

For the second you can set the CFrame property of the camera to be in a certain place and use lookvector to change where the camera is pointing. (ex:
local pos=Vector3.new(0,0,0)
local lookv=Vector3.new(1,1,1)
workspace.CurrentCamera.CFrame=CFrame.new(pos,lookv))
Report Abuse
32luigi is not online. 32luigi
Joined: 16 Jan 2010
Total Posts: 83
20 Jul 2016 10:58 PM
So when I tested the animation script in play solo nothing worked

I just copied and pasted the script. How can I fix?


Report Abuse
robloxnoobguy is not online. robloxnoobguy
Joined: 09 Aug 2010
Total Posts: 18
20 Jul 2016 11:02 PM
Are you sure the default animation script didn't play any animations? By default theres a localscript in a player's character called 'Animate'. Try removing it or disabling it, then run the animation script.
Report Abuse
32luigi is not online. 32luigi
Joined: 16 Jan 2010
Total Posts: 83
20 Jul 2016 11:05 PM
Alright there we go thx


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