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: MY MUM IS REALLY FAT AND SO IS URS

Previous Thread :: Next Thread 
000killnoobs000 is not online. 000killnoobs000
Joined: 03 Feb 2012
Total Posts: 503
25 Jul 2015 12:52 PM
I DON'T MEAN ANYTHING IN THE TITLE, IT'S JUST SO PEOPLE ACTUALLY LOOK AT MY THREAD SINCE NOBODY EVEN LOOKED AT MY OTHER ONE!


So I've got this weld going on where it welds a part to my characters torso and then it's supposed to make it spin around it's axis, everything works fine except it doesn't spin....


game:GetService("RunService"):BindToRenderStep("Reposition", Enum.RenderPriority.Last.Value, function()
if Character:FindFirstChild("Aura") then
Character.Aura.CFrame = Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0)
end
end)

I've also tried this, but same thing happened

game:GetService("RunService"):BindToRenderStep("Reposition", Enum.RenderPriority.Last.Value, function()
if Character:FindFirstChild("Aura") then
Character.Aura.CFrame = Torso.CFrame * CFrame.Angles(math.rad(0),math.rad(500),math.rad(0))
end
end)
Report Abuse
baldo46 is not online. baldo46
Joined: 28 Jul 2008
Total Posts: 1254
25 Jul 2015 12:53 PM
You need to make the Angles Change. You have it as a constant (1) therefore it is not going to rotate.
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
25 Jul 2015 12:53 PM
Woulda helped, but nope


I don't need a siggy
Report Abuse
000killnoobs000 is not online. 000killnoobs000
Joined: 03 Feb 2012
Total Posts: 503
25 Jul 2015 12:54 PM
How would I do that?
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
25 Jul 2015 12:55 PM
Your mom is fat


"Talk is cheap. Show me the code." - Linus Torvalds
Report Abuse
morash is not online. morash
Joined: 22 May 2010
Total Posts: 5834
25 Jul 2015 12:57 PM
Your mom is fat [2]
Report Abuse
LeitrisArcade is online. LeitrisArcade
Joined: 15 May 2010
Total Posts: 2127
25 Jul 2015 01:11 PM
Your mom is fat [3]

( ͡ಠ ͜ʖಠ)
Report Abuse
000killnoobs000 is not online. 000killnoobs000
Joined: 03 Feb 2012
Total Posts: 503
25 Jul 2015 01:13 PM
So I have this

game:GetService("RunService"):BindToRenderStep("Reposition", Enum.RenderPriority.Last.Value, function()
if Character:FindFirstChild("Aura") then
Character.Aura.CFrame = Character.Torso * CFrame.Angles(math.rad(0),math.rad(10),math.rad(0))
end
end)

And it works, but it only adds 10 to the y once, how do I make it keep adding? I think it's supposed to keep adding, but it doesn't for some reason. pls heeelp
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
25 Jul 2015 01:15 PM
http://wiki.roblox.com/index.php?title=Lua_errors
http://wiki.roblox.com/index.php?title=API:Class/RunService/RenderStepped
http://wiki.roblox.com/index.php?title=Absolute_beginner%27s_guide_to_scripting
http://wiki.roblox.com/index.php?title=CFrame

"Talk is cheap. Show me the code." - Linus Torvalds
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
25 Jul 2015 01:16 PM
http://wiki.roblox.com/index.php?title=Arithmetic_operator


"Talk is cheap. Show me the code." - Linus Torvalds
Report Abuse
000killnoobs000 is not online. 000killnoobs000
Joined: 03 Feb 2012
Total Posts: 503
25 Jul 2015 01:18 PM
@Time that doesn't really help since what I wanted to know is why doesn't the CFrame.Angles thingy add to the Y every 1/60th of a second? It only does it once for some reason....
Report Abuse
DeveloperBlue is not online. DeveloperBlue
Joined: 15 Apr 2009
Total Posts: 1344
25 Jul 2015 01:37 PM
My mother may have her own area code
But your mother is designated as her own solar system.
Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
25 Jul 2015 01:46 PM
Woulda helped, but nope[2]
Report Abuse
baldo46 is not online. baldo46
Joined: 28 Jul 2008
Total Posts: 1254
25 Jul 2015 01:48 PM
Since you didn't take my first advice, I'll just spoon feed you, since that's what you want.

game:GetService("RunService"):BindToRenderStep("Reposition", Enum.RenderPriority.Last.Value, function()
if Character:FindFirstChild("Aura") then
local currentRot = {Character.Aura.CFrame:toEulerAnglesXYZ()};
Character.Aura.CFrame = Torso.CFrame * CFrame.fromEulerAnglesXYZ(0,currentRot[2]+1,0)
end
end)

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