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
 

wait wait wait.. what?

Previous Thread :: Next Thread 
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
30 Jan 2015 10:10 PM
I'm tying to make ADS (aim down sights) and it almost* works in stuido. So I test it a on separate server and it says render stepped can only be used in a server script.

I check the line, and its in a server script in starterpack.

If I use heartbeat, it looks choppy and ugly. HOW DO I FIX THIS?!
Report Abuse
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
30 Jan 2015 10:12 PM
The renderstepped moved my guns head and moved the bodygyro, now it looks like poo with a heartbeat function
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
30 Jan 2015 10:17 PM
"render stepped can only be used in a server script."

I believe you mean

RenderStepped can only be used in a LocalScript.


Change it to a LocalScript.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
30 Jan 2015 10:19 PM
First of all you have it backwards

RenderStepped only works in local scripts

Second of all use a local script
Report Abuse
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
30 Jan 2015 10:29 PM
So I did all of that extra work thinking I needed a server script for NOTHING?! FDSJSDFJKLDSHFJKSERHFJKLSDJKLFMSDF:WEJKOEFNKSDKL:FKOSDLF
Report Abuse
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
30 Jan 2015 10:32 PM
While you guys are here I have anther problem and that is positioning the "sight" brick.
Right now it just puts it in strange places. Here are the things you can get you can use basically everything there is to position this, just not the mouse.

I have the head in the same cframe as the camera using welds (weird I know) but I cant figure out how to weld the handle to the head, and then make the sightbrick's position be 1 stud in front of the camera.


local function focus()
grip.Part0=head
grip.C0=CFrame.new(0,0,0)
grip.C1= -- here is where I need the sights
focusing=true
end
local function unfocus()
grip.Part0=rarm
grip.C0=CFrame.new(0,0,0)
grip.C1=CFrame.new(0,0,.5)*CFrame.Angles(math.rad(90),0,0)
focusing=false
end
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
30 Jan 2015 10:37 PM
Why not just change the Cursor?

http://wiki.roblox.com/index.php?title=API:Class/Mouse/Icon
Report Abuse
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
30 Jan 2015 10:38 PM
Its ADS, Aim Down sights, where its an actual gun and I'm moving it in front of the camera
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