|
| 12 May 2014 11:47 PM |
How would I end this? The only way to actually make the camera spin is to use a loop...
for i,v in pairs(Game.Players:GetPlayers()) do v.Character.Humanoid.WalkSpeed = 0 local Target = v.Character.Head local Camera = Game.Workspace.CurrentCamera Camera.CameraSubject = Target Angle = 0 while true do Camera.CoordinateFrame = CFrame.new(Target.Position) * CFrame.Angles(0,Angle,0) * CFrame.new(30,15,9) Angle = Angle + math.rad(1) wait(10)
end end
|
|
|
| Report Abuse |
|
|
MettaurSp
|
  |
| Joined: 20 Mar 2010 |
| Total Posts: 3179 |
|
|
| 12 May 2014 11:58 PM |
| Have you tried the group? This section is not for help requests under any circumstances. |
|
|
| Report Abuse |
|
|
|
| 13 May 2014 01:14 AM |
http://www.roblox.com/Forum/ShowPost.aspx?PostID=133992730 Nice title name. There is a reason you did not receive help and it`s not because SH "doesn't function right." It's also probably due to the fact that you're too stuck up to receive help. |
|
|
| Report Abuse |
|
|
Oysi
|
  |
| Joined: 06 Jul 2009 |
| Total Posts: 9058 |
|
|
| 13 May 2014 03:39 AM |
| Haha, that script of yours is amusing. c: |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 13 May 2014 03:17 PM |
And then there's this rude inclusion into an irrelevant thread: http://www.roblox.com/Forum/ShowPost.aspx?PostID=133992344
|
|
|
| Report Abuse |
|
|
|
| 13 May 2014 09:12 PM |
| I fixed this using the repeat loop, lol |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 14 May 2014 01:10 AM |
Get out accomplish, island or whatever used the repeat loop and you are just taking credit.
No wonder why no one likes you, stupid thief |
|
|
| Report Abuse |
|
|
|
| 14 May 2014 01:25 AM |
@cnt yep, I fixed it earlier, and hes trying to take credit :P
whats more,he said it didn't work XD |
|
|
| Report Abuse |
|
|
|
| 14 May 2014 01:27 AM |
Ummm... I actually went to free mods, and did this method:
local stop = 0 repeat stop = stop + 1 wait(0.000000001) until stop == 200
His script didn't help. I deleted his, because it didn't stop the function. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 14 May 2014 01:30 AM |
His script would of worked fine if you knew how to add it. Instead of repeat you could just use a numeric for if you really want.
for i = 1, 200 do --etc wait() end
It might be easier to understand if you do not know what repeat is. |
|
|
| Report Abuse |
|
|
|
| 14 May 2014 01:33 AM |
| Quit treating me like a newbie. Visit my first place. If not, quit judging me. And how am I a thief for saying I used a repeat loop? He doesn't own lua. |
|
|
| Report Abuse |
|
|
|
| 14 May 2014 01:34 AM |
| My first place has a script that loops itself by calling other functions in order, when the functions themselves aren't put in order. Not a cheap "while true do". |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 14 May 2014 01:34 AM |
I'm not judging you, I'm saying his would of worked fine and it appeared to me you stole it from him since he used the same method.
And I am not going to view your first place because I couldn't care less |
|
|
| Report Abuse |
|
|
|
| 14 May 2014 01:37 AM |
| If not, quit accusing me of being a "thief", just because I found a different way to use repeat than he did. And, this was moved from "Scripters" to scripting helpers by a mod. |
|
|
| Report Abuse |
|
|
|
| 14 May 2014 01:38 AM |
different way to use repeat than I did?
stop = 0 repeat wait() stop = stop+0.1 until stop>200
Time = 0 repeat wait() Time = Time+1 until Time>=NUMBERHERE
wow..you think im stupid or..?
|
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 14 May 2014 01:39 AM |
I can still call you a thief if this implies you did it yourself: 'I fixed this using the repeat loop, lol'
And then later say 'Ummm... I actually went to free mods, and did this method:' |
|
|
| Report Abuse |
|
|
|
| 14 May 2014 01:42 AM |
| I went to free models, and got the "stop = 0" method. I would of never thought to quickly add onto a variable using the repeat loop. And island posted it with the full script, and it didn't even work. So I made my own. I've re-scripted it about 2-3 times. |
|
|
| Report Abuse |
|
|
|
| 14 May 2014 01:43 AM |
| And, island is making it wait before it adds one. automatic break. |
|
|
| Report Abuse |
|
|
|
| 14 May 2014 01:46 AM |
break because I waited first? lol,wut?
a = 0 repeat wait() a = a+1 print(a) until a>2
a = 0 repeat a = a+1 print(a) wait() until a>2
does the same thing,almost
but doesn't break
BTW
I just rememebered XDXD
for i,v in pairs(Game.Players:GetPlayers()) do v.Character.Humanoid.WalkSpeed = 0 local Target = v.Character.Head local Camera = Game.Workspace.CurrentCamera Camera.CameraSubject = Target Angle = 0 repeat Camera.CoordinateFrame = CFrame.new(Target.Position) * CFrame.Angles(0,Angle,0) * CFrame.new(30,15,9) Angle = Angle + math.rad(1) wait(10) until Angle>=NUMBERHERE end
|
|
|
| Report Abuse |
|
|
|
| 14 May 2014 01:48 AM |
| Yes, break. Because I want it to add one on every second, not make it wait nothing and then add one on. Where's your brain? Has being stranded on that island of yours consumed it? |
|
|
| Report Abuse |
|
|
|
| 14 May 2014 01:49 AM |
XD
dude
while wait() do print("ive waited exactly "..wait().." seconds") end
you fool,wait() works fine |
|
|
| Report Abuse |
|
|
smiley599
|
  |
| Joined: 23 Jan 2010 |
| Total Posts: 21869 |
|
|
| 14 May 2014 01:50 AM |
| How do we not function right? Because no one wants to fix your free models? |
|
|
| Report Abuse |
|
|
|
| 14 May 2014 01:50 AM |
| I'm going. Just remember, I didn't use your method. |
|
|
| Report Abuse |
|
|
Nyxis
|
  |
| Joined: 15 Nov 2012 |
| Total Posts: 3374 |
|
| |
|
|
| 14 May 2014 01:50 AM |
@smiley
oooooooh,BURN -highfives smiley-
anyways.. @OP,i don't generally lose an argument.. |
|
|
| Report Abuse |
|
|