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: Help with vector 3

Previous Thread :: Next Thread 
PresidentRobux is not online. PresidentRobux
Joined: 22 Nov 2015
Total Posts: 481
01 May 2016 10:50 AM
So I put this script inside a union but when I run the script the union goes to the block above it . So there are 4 brick they are laid out like this
[Brick]
[Brick]Door[Brick}
so whenever I run this script
local brick = script.Parent
local debounce = false

brick.Touched:connect(function(hit)
if not debounce then
debounce = true
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
if player.TeamColor == game:GetService("Teams").Cops.TeamColor then

brick.Position = Vector3.new(76.4, 3.7, -11.2)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -11.3)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -11.4)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -11.5)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -11.6)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -11.7)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -11.8)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -11.9)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -12.0)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -12.1)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -12.2)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -12.3)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -12.4)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -12.5)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -12.6)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -12.7)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -12.8)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -12.9)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -13.0)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -13.1)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -13.2)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -13.3)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -13.4)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -13.5)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -13.6)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -13.7)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -13.8)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -13.9)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -14.0)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -14.1)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -14.2)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -14.4)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -14.6)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -14.8)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -14.9)
wait(0.1)
brick.Position = Vector3.new(76.4, 3.7, -15.0)
end
end
wait(1)
debounce = false
end
end)
_

the door goes to this brick on top if it
how do I fix this ?
Report Abuse
PresidentRobux is not online. PresidentRobux
Joined: 22 Nov 2015
Total Posts: 481
01 May 2016 10:52 AM
luck bump
Report Abuse
DayxDreams is not online. DayxDreams
Joined: 08 Jan 2015
Total Posts: 443
01 May 2016 10:52 AM
just like
can collide it while it's moving
then make it solid again when it's done


does not compute
Report Abuse
DayxDreams is not online. DayxDreams
Joined: 08 Jan 2015
Total Posts: 443
01 May 2016 10:54 AM
btw you could just



brick.CanCollide = false
count = 0
while count < 40 do
brick.Position = Brick.Position - Vector3.new(0, 0, 0.1)
count = count+1
wait(0.1)
end
brick.CanCollide = true


does not compute
Report Abuse
PresidentRobux is not online. PresidentRobux
Joined: 22 Nov 2015
Total Posts: 481
01 May 2016 10:56 AM
still not working
Report Abuse
PresidentRobux is not online. PresidentRobux
Joined: 22 Nov 2015
Total Posts: 481
01 May 2016 11:14 AM
bump
Report Abuse
arshiaslaya is not online. arshiaslaya
Joined: 04 Nov 2012
Total Posts: 2670
01 May 2016 11:44 AM
This is cancer. Please fix your code before you post it so there isn't 100 lines of repeated code.


Profit pls.
Report Abuse
arshiaslaya is not online. arshiaslaya
Joined: 04 Nov 2012
Total Posts: 2670
01 May 2016 11:45 AM
use cframe:lerp instead of doing this please. Or at least use a loop.


Profit pls.
Report Abuse
DayxDreams is not online. DayxDreams
Joined: 08 Jan 2015
Total Posts: 443
01 May 2016 12:08 PM
arsh
you're wrong
so very wrong
cancer is cancer
not this
thx
he may be a cancer patient
unevr no


does not compute
Report Abuse
arshiaslaya is not online. arshiaslaya
Joined: 04 Nov 2012
Total Posts: 2670
01 May 2016 12:35 PM
@DayxDreams

Get out you skid.


Profit pls.
Report Abuse
DayxDreams is not online. DayxDreams
Joined: 08 Jan 2015
Total Posts: 443
01 May 2016 12:38 PM
no

get out you Narcissist




does not compute
Report Abuse
ExtremeBuilder15 is not online. ExtremeBuilder15
Joined: 01 May 2012
Total Posts: 3176
01 May 2016 12:40 PM
Using CFrame would probably fix this.
Report Abuse
arshiaslaya is not online. arshiaslaya
Joined: 04 Nov 2012
Total Posts: 2670
01 May 2016 12:51 PM
@DayxDreams

You don't even know what a "Narcissist" is. You don't bring any knowledge either and don't even know how to do anything. Go back to your garbage group on Roblox.


Profit pls.
Report Abuse
DayxDreams is not online. DayxDreams
Joined: 08 Jan 2015
Total Posts: 443
01 May 2016 12:57 PM
Narcissism;

"the pursuit of gratification from vanity or egotistic admiration of one's own attributes."

When you called me a skid, you didn't even consider if I knew how to script at least decently, which I do, you admired your own deduction based on influences and personal experiences in your life to insult someone without even bothering to take a little bit of time to find out who the person is or their own capabilities. You can tell someone "You don't know what this is", but in reality, you just didn't see the relation I personally made between you and Narcissism.


or something like that
i'm too lazy to read what i put
thx




does not compute
Report Abuse
arshiaslaya is not online. arshiaslaya
Joined: 04 Nov 2012
Total Posts: 2670
01 May 2016 12:58 PM
Dude so sad. You took your time to write that, whilst being a hypocrite. Sure I might have wrote something, but so did you. Look at your garbage before you type buddy.


Profit pls.
Report Abuse
DayxDreams is not online. DayxDreams
Joined: 08 Jan 2015
Total Posts: 443
01 May 2016 01:01 PM
I never told you that I took time to think about it, also, you don't know how fast I type.
Nice assumption though.

You can call me a hypocrite all you want, it really doesn't matter, I'm not denying any flaws in myself.

You're entertaining, not much, at most I could only get a bit.
I enjoy arguments tbh

and using grammar in them because ya


does not compute
Report Abuse
arshiaslaya is not online. arshiaslaya
Joined: 04 Nov 2012
Total Posts: 2670
01 May 2016 01:06 PM
@DayxDreams

"I never told you that i took time to think about it". Sure, but never have I either.

"You can call me a hypocrite all you want, it really doesn't matter, I'm not denying any flaws in myself.". Sure never am I.

"and using grammar in them because ya". Nice grammar.(sarcasm)

"also, you don't know how fast I type.". Sure tell me. Like I really care.


Profit pls.
Report Abuse
DayxDreams is not online. DayxDreams
Joined: 08 Jan 2015
Total Posts: 443
01 May 2016 01:09 PM
@DayxDreams

"I never told you that i took time to think about it". Sure, but never have I either.

"You can call me a hypocrite all you want, it really doesn't matter, I'm not denying any flaws in myself.". Sure never am I.

"and using grammar in them because ya". Nice grammar.(sarcasm)

"also, you don't know how fast I type.". Sure tell me. Like I really care.



here
https://en.wikipedia.org/wiki/Narcissistic_personality_disorder

you are displaying a lot of traits within narcissistic personality disorder
it's implied in your msgs
thx

you have bored me
so if you want to continue this conversation
i wont use much grammar
kthxdad






does not compute
Report Abuse
arshiaslaya is not online. arshiaslaya
Joined: 04 Nov 2012
Total Posts: 2670
01 May 2016 01:24 PM
https://en.wikipedia.org/wiki/Narcissistic_personality_disorder

you are displaying a lot of traits within narcissistic personality disorder
it's implied in your msgs
thx

Here. Maybe you can go with me.


Profit pls.
Report Abuse
DayxDreams is not online. DayxDreams
Joined: 08 Jan 2015
Total Posts: 443
01 May 2016 01:30 PM
i alrdy read it
thx

mb you should talk 2 som1 and get diagnosed or cleared


does not compute
Report Abuse
arshiaslaya is not online. arshiaslaya
Joined: 04 Nov 2012
Total Posts: 2670
01 May 2016 01:36 PM
thx

i already did talk 2 som1 and i got clrd


Profit pls.
Report Abuse
DayxDreams is not online. DayxDreams
Joined: 08 Jan 2015
Total Posts: 443
01 May 2016 01:43 PM
cngrats on 12 years sober
kidding love me pls


does not compute
Report Abuse
arshiaslaya is not online. arshiaslaya
Joined: 04 Nov 2012
Total Posts: 2670
01 May 2016 02:01 PM
what I forgot to say is that. I asked them about you, and they said to come over and get checked.


Profit pls.
Report Abuse
RobuxLife is not online. RobuxLife
Joined: 19 Sep 2012
Total Posts: 13336
01 May 2016 02:03 PM
It's sad, how you two keep fighting. Use PM's, or just stop it.


Report Abuse
Lua_Basics is not online. Lua_Basics
Joined: 04 Jun 2012
Total Posts: 9977
01 May 2016 02:05 PM
just do a loop with a cframe...
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