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 » Scripting Helpers
Home Search
 

OIsnight anf i nerd soone hekop.

Previous Thread :: Next Thread 
lucas301 is not online. 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
18cwatford is not online. 18cwatford
Joined: 08 Oct 2009
Total Posts: 5410
18 Feb 2012 07:57 PM
Your problem?

`*\~-{ Are we there yet T.T? }-~/*`
Report Abuse
lucas301 is not online. 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 is not online. lucas301
Joined: 28 Dec 2008
Total Posts: 1307
18 Feb 2012 08:06 PM
Bupm.
Report Abuse
18cwatford is not online. 18cwatford
Joined: 08 Oct 2009
Total Posts: 5410
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 is not online. 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 is not online. lucas301
Joined: 28 Dec 2008
Total Posts: 1307
18 Feb 2012 09:44 PM
Bump
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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