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 » Game Design
Home Search
 

Re: .RenderStepped HELP

Previous Thread :: Next Thread 
ThisUserSecret is not online. ThisUserSecret
Joined: 29 Sep 2012
Total Posts: 1094
12 Aug 2015 02:51 PM
So, I am trying to use renderstepped in my script but nothing happens when the player joins, nothing appears.

local diamond = game.ServerStorage.Part
local r = game:GetService'RunService'

game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(char)
local clone = diamond:Clone()
clone.Parent = player.Character
clone.CanCollide = false
r.RenderStepped:connect(function()
clone.CFrame = player.Character.Head.CFrame*CFrame.new(0,2,0)
end)
end)
end)
Report Abuse
ThisUserSecret is not online. ThisUserSecret
Joined: 29 Sep 2012
Total Posts: 1094
12 Aug 2015 03:01 PM
Bump[1]
Report Abuse
ThisUserSecret is not online. ThisUserSecret
Joined: 29 Sep 2012
Total Posts: 1094
12 Aug 2015 03:18 PM
Bump[2]
Report Abuse
Deafgift100 is not online. Deafgift100
Joined: 09 May 2010
Total Posts: 3958
12 Aug 2015 03:44 PM
errr you must be new to this
Report Abuse
Voidion is not online. Voidion
Joined: 01 Aug 2011
Total Posts: 2668
12 Aug 2015 03:52 PM
I just tested your code in studio and it worked for me. Are you 100% sure the object in ServerStorage is called Part or this code is in a script in workspace?
Report Abuse
ThisUserSecret is not online. ThisUserSecret
Joined: 29 Sep 2012
Total Posts: 1094
12 Aug 2015 04:07 PM
Yes, it's also a local script, I think it's supposed to be that because you can't call services with a regular script..



Trader/Scripter/Builder/Clothing Designer
Report Abuse
ThisUserSecret is not online. ThisUserSecret
Joined: 29 Sep 2012
Total Posts: 1094
12 Aug 2015 04:09 PM
Nvm, I changed it to regular... sorry.



Trader/Scripter/Builder/Clothing Designer
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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