lucas301
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 1307 |
|
|
| 18 Feb 2012 07:55 PM |
local short = script.Parent.Parent.Parent
function OnClick(mousedown) if script.Parent.Toggle == false then script.Parent.Toggle = true game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 24 repeat if game.Players.LocalPlayer.Character.Torso.Velocity >= (1, 1, 1) then --prpoblem short.ParadigmShift.Regen = false short.ParadigmShift.Values.ATBValue = short.ParadigmShift.Values.ATBValue -1 wait(0.1) end
if game.Players.LocalPlayer.Character.Torso.Velocity == (0, 0, 0) then --prokpblem short.ParadigmShift.Regen = true end until (script.Parent.Toggle == false) or (short.ParadigmShift.Values.ATBValue <= 0) short.ParadigmShift.Regen == true end
end
script.Parent.MouseButton1Down:connect(OnClick)
Prpoblem
pPlwease help.
~Luccae |
|
|
| Report Abuse |
|
|
|
| 18 Feb 2012 07:57 PM |
Your problem?
`*\~-{ Are we there yet T.T? }-~/*` |
|
|
| Report Abuse |
|
|
lucas301
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 1307 |
|
|
| 18 Feb 2012 08:00 PM |
Sorry.. almost fell asleep typing thia >.< 1:58AM
local short = script.Parent.Parent.Parent
function OnClick(mousedown) if script.Parent.Toggle == false then script.Parent.Toggle = true game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 24 repeat if game.Players.LocalPlayer.Character.Torso.Velocity >= (1, 1, 1) then --Problem short.ParadigmShift.Regen = false short.ParadigmShift.Values.ATBValue = short.ParadigmShift.Values.ATBValue -1 wait(0.1) end
if game.Players.LocalPlayer.Character.Torso.Velocity == (0, 0, 0) then --Problem(Probably) short.ParadigmShift.Regen = true end until (script.Parent.Toggle == false) or (short.ParadigmShift.Values.ATBValue <= 0) short.ParadigmShift.Regen == true end
end
script.Parent.MouseButton1Down:connect(OnClick)
Output problem: Players.Player.PlayerGui.Abilities.Run.LocalScript:8: ')' expected near ','
It could be a s miple problem.. Just tired.. |
|
|
| Report Abuse |
|
|
lucas301
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 1307 |
|
| |
|
|
| 18 Feb 2012 08:17 PM |
if game.Players.LocalPlayer.Character.Torso.Velocity >= (1, 1, 1) then
HOW DO YOU NOT SEE THE PROBLEM???
if game.Players.LocalPlayer.Character.Torso.Velocity >= (1, 1, 1) then
to
if game.Players.LocalPlayer.Character.Torso.Velocity >= Vector3.new(1, 1, 1) then -- Vector3 Ftw
`*\~-{ Are we there yet T.T? }-~/*` |
|
|
| Report Abuse |
|
|
lucas301
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 1307 |
|
|
| 18 Feb 2012 08:44 PM |
Still no worky... I'm sleepy you know :P Heres da problem:
wait(1) local short = script.Parent.Parent.Parent
function OnClick(mousedown) if script.Parent.Toggle.Value == false then script.Parent.Toggle.Value = true game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 24 repeat if game.Players.LocalPlayer.Character.Torso.Velocity >= Vector3.new(1, 1, 1) then --Problem! short.ParadigmShift.Regen.Value = false short.ParadigmShift.Values.ATBValue.Value = short.ParadigmShift.Values.ATBValue.Value -1 wait(0.1) if short.ParadigmShift.Values.ATBValue.Vale <= 0 then script.Parent.Toggle.Value = false end end
if game.Players.LocalPlayer.Character.Torso.Velocity == Vector3.new(0, 0, 0) then short.ParadigmShift.Regen.Value = true end wait() until (script.Parent.Toggle.Value == false) or (short.ParadigmShift.Values.ATBValue.Value <= 0) script.Parent.Toggle.Value = false short.ParadigmShift.Regen.Value = true end
end
script.Parent.MouseButton1Down:connect(OnClick)
Output: Attempt to compare two userdate values
|
|
|
| Report Abuse |
|
|
lucas301
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 1307 |
|
| |
|