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: Simple move script

Previous Thread :: Next Thread 
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
13 Sep 2017 02:34 PM
local randomm = math.random(1,3)

if script.Parent.Parent.Workspace.TEST.Value > 1 then
if randomm == 1 then
game.Lighting.Spectre.Parent = game.Workspace
if randomm == 2 then
game.Lighting.Krabe.Parent.Parent = game.Workspace
if randomm == 3 then
game.Lighting.Biker.Parent.Parent = game.Workspace
end
end
end
end

I just want how to move spectre, krabe or biker (lightning) into workspace ?
Report Abuse
iiNemo is online. iiNemo
Joined: 22 Jul 2013
Total Posts: 2380
13 Sep 2017 02:35 PM
game.Lighting.Krabe.Parent = game.Workspace
Report Abuse
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
13 Sep 2017 02:40 PM
Don't work :/
Report Abuse
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
13 Sep 2017 02:52 PM
bump
Report Abuse
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
13 Sep 2017 03:02 PM
up
Report Abuse
NexanianStudios is online. NexanianStudios
Joined: 16 Jul 2016
Total Posts: 1109
13 Sep 2017 03:12 PM
You should store it in ReplicatedStorage, and just set its parent

local a = game:GetService("ReplicatedStorage"):WaitForChild("Biker"):Clone()
a.Parent = workspace
Report Abuse
CyberDarrkYT is not online. CyberDarrkYT
Joined: 11 Apr 2016
Total Posts: 106
13 Sep 2017 03:30 PM
doesn't work
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