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: Best way to go about making a custom rig?

Previous Thread :: Next Thread 
Isosta is not online. Isosta
Joined: 10 May 2015
Total Posts: 14729
16 Oct 2016 12:41 AM
default roblox one i made causes problems for me, and this one i made does too because when it bumps into stuff the player jerks.




print('Required Character Module')
do
Character.Direction = Vector3.new(0,0,0)
Character.ClientHead = nil
--############################# nil

Character.ConnectedEvents = {}

function Ch########################## local tableVector = vector.vectorToTable(Character.Direction)

for i,v in next, tableVector do
if v > 1 then
tableVector[i] = 1
elseif v < -1 then
tableVector[i] = -1
end
end

Character.Direction = vector.tableToVector(tableVector)
local StartDir = Character.Direction
if game.Players.LocalPlayer.Character then
--local mover = Instance.new('BodyPosition',game.Players.LocalPlayer.Character.HumanoidRootPart)
local translation
repeat
if Camera.Type == 'FirstPerson' then
translation = vector.vec2World(game.Players.LocalPlayer.Character:FindFirstChild('HumanoidRootPart').CFrame, Character.Direction)
elseif Camera.Type == 'TPS' then
translation = vector.vec2World(Camera.CameraObject.CFrame, Character.Direction)
translation = Vector3.new(translation.X,0,translation.Y)
end
--if Character.Direction == Vector3.new(0,0,0) then
--translation = game.Players.LocalPlayer.Character:FindFirstChild('HumanoidRootPart').CFrame.p
--end
--mover.Position = translation * 20########################################################################################################################################################### translation * 2000) -- literally sh##########################haracter.Direction ~= St##########################################################haracter:Spawn()
Character.ClientHead = Instance.new('Part',game.Workspace.CurrentCamera)
Character.ClientHead.Transparency = 1
Character.ClientHead.CanCollide = false
RenderHolder = game:GetService('RunService').RenderStepped:connect(function()
Character.ClientHead.CFrame = game.Workspace.CurrentCamera.CFrame
if not Character.ClientHead then
RenderHolder:disconnect()
end
end)
end

function Character:Despawn()
Character.ClientHead = nil
end

function Character:EnableController()
game.Players.LocalPlayer.Character.Humanoid.AutoRotate = false
local KeyCodeDirections = {
['W'] = {
['Vector'] = Vector3.new(0,0,-1),
['KeyCode'] = Enum.KeyCode.W
},
['A'] = {
['Vector'] = Vector3.new(-1,0,0),
['KeyCode'] = En##################### ['S'] = {
['Vector'] = Vector3.new(0,0,1),
['KeyCode'] = Enum.KeyCode.S
},
['D'] = {
['Vector'] = Vector3.new(1,0,0),
['KeyCode'] = Enum.KeyCode.D
},
}

Character.ConnectedEvents['Started'] = Input.Began:connect(function(inputObject,gameProcessedEvent)
for i,v in next, KeyCodeDirections do
if v.KeyCode == inputObject.KeyCode then
Character.Direction = Character.Direction + v.Vector
end
end
Character.UpdateMovement()
end)


Character.ConnectedEvents['Ended'] = Input.Ended:connect(function(inputObject,gameProcessedEvent)
for i,v in next, KeyCodeDirections do
if v.KeyCode == inputObject.KeyCode then
Character.Direction = Character.Direction - v.Vector
en#########################################################################h############################# for i,v in next,Character.ConnectedEvents do
v:disconnect()
end
end

end


$.get('gud')
Report Abuse
Isosta is not online. Isosta
Joined: 10 May 2015
Total Posts: 14729
16 Oct 2016 12:42 AM
e.e


bin/STZbWmN1


$.get('gud')
Report Abuse
Stereotypical_Nerd is not online. Stereotypical_Nerd
Joined: 08 Feb 2012
Total Posts: 2088
16 Oct 2016 12:45 AM
tl;dr


game.Players:findFirstChild("Stereotypical_Nerd"):WaitForChild("leaderstats")['Whiteness and Nerdiness'].Value=math.huge
Report Abuse
Wowgnomes is online. Wowgnomes
Joined: 27 Sep 2009
Total Posts: 26255
16 Oct 2016 02:08 AM
https://www.roblox.com/library/188486042/Model-Rigger-Plugin

now fix mine

https://forum.roblox.com/Forum/ShowPost.aspx?PostID=200160564


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