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: Scripting Needs

Previous Thread :: Next Thread 
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
11 Apr 2015 08:44 PM
Ive gone dumb someone give me a simply script to move a block back and forth in a motion?
Report Abuse
gerov is not online. gerov
Joined: 05 Feb 2011
Total Posts: 5504
11 Apr 2015 08:57 PM
Like, what kind of motion though?


You can't just spew out an order with no details and expect someone to just hand something to you.
Report Abuse
MattDominator is not online. MattDominator
Joined: 20 Oct 2008
Total Posts: 3981
11 Apr 2015 09:05 PM
"You can't just spew out an order with no details and expect someone to just hand something to you."

What are you talking about? My math teacher does that all the time :P
Report Abuse
Seattlantis is not online. Seattlantis
Joined: 24 Jul 2013
Total Posts: 5560
11 Apr 2015 09:08 PM
http://wiki.roblox.com/index.php?title=Vector3#Methods

>lerp
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
11 Apr 2015 09:08 PM
while true do
wait(1)
block.CFrame = block.CFrame*CFrame.new(block.Size.X,0,0)
wait(1)
block.CFrame = block.CFrame*CFrame.new(-block.Size.X,0,0)
end

I script -~ chimmihc
Report Abuse
gerov is not online. gerov
Joined: 05 Feb 2011
Total Posts: 5504
11 Apr 2015 09:38 PM
@Matt

Well, your math teacher is special.
Report Abuse
fishguy100 is not online. fishguy100
Joined: 16 Feb 2013
Total Posts: 3679
11 Apr 2015 10:40 PM
function Tween(part,position,frames)
for i = 1,frames do
part.CFrame:lerp(position,i/frames)
wait()
end
end
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
12 Apr 2015 05:24 PM
@sett i tried vector3 it just teleported ._.
Report Abuse
Frostsaken is not online. Frostsaken
Joined: 22 Nov 2014
Total Posts: 216
12 Apr 2015 05:29 PM
while true do
for x = 1, 15 do
script.Parent.CFrame = script.Parent.CFrame + Vector3.new(1, 0, 0)
wait(0.1)
end
for y = 1, 15 do
script.Parent.CFrame = script.Parent.CFrame + Vector3.new(-1, 0, 0)
wait(0.1)
end
end

If this isn't satisfying I have another one.
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
12 Apr 2015 05:33 PM
TY for that help
Report Abuse
Frostsaken is not online. Frostsaken
Joined: 22 Nov 2014
Total Posts: 216
12 Apr 2015 05:33 PM
np
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
12 Apr 2015 05:34 PM
Frost i need velocity to increase it?
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
12 Apr 2015 05:35 PM
The speed?
Report Abuse
CloneTrooper1019 is not online. CloneTrooper1019
Joined: 19 Jan 2009
Total Posts: 6227
12 Apr 2015 05:36 PM
local original = script.Parent.CFrame

while wait() do
script.Parent.CFrame = original * CFrame.new(math.sin(tick()*3),0,0)
end
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
12 Apr 2015 05:56 PM
^ makes the brick move like hell
Report Abuse
Frostsaken is not online. Frostsaken
Joined: 22 Nov 2014
Total Posts: 216
12 Apr 2015 06:06 PM
clonetrooper
replied




*dies*
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
12 Apr 2015 06:16 PM
:3
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
12 Apr 2015 09:16 PM
I know this is alot i just need a simple way to make models(From lighting) appear in the workspace(kind of like loading maps)
Report Abuse
9draco is not online. 9draco
Joined: 13 Nov 2010
Total Posts: 5841
12 Apr 2015 11:54 PM
thats got nothing to do with "moving" a block. You should just clone the model to your workspace in a certain position.
Report Abuse
xlaser23 is not online. xlaser23
Joined: 10 Dec 2011
Total Posts: 20341
13 Apr 2015 06:10 AM
^My thread name

And u gave me a idea on how to work it
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