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
 

HALP!

Previous Thread :: Next Thread 
CDDoggGaming is not online. CDDoggGaming
Joined: 10 Aug 2010
Total Posts: 960
13 Oct 2014 02:23 PM
how do I write a line that connects function melee() when the v key is pressed? how would I keep it from repeating the function when v key is held? please help
Report Abuse
builderman0621 is not online. builderman0621
Joined: 13 Jul 2010
Total Posts: 1612
13 Oct 2014 02:49 PM
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()

Mouse.KeyDown:connect(function(key)
if (key == 'v') then
melee()
end
end)
Report Abuse
tanlord173 is not online. tanlord173
Joined: 25 Nov 2009
Total Posts: 3916
13 Oct 2014 03:04 PM
v = true
while v == true do end
Report Abuse
VanillaLight is not online. VanillaLight
Joined: 02 Nov 2013
Total Posts: 834
13 Oct 2014 03:07 PM
^

Events are handy instead of this.

-Vanilla
Report Abuse
CDDoggGaming is not online. CDDoggGaming
Joined: 10 Aug 2010
Total Posts: 960
13 Oct 2014 03:09 PM
i figured it out by looking at previous on keydown functions in the script thanks though
Report Abuse
iStoleYourMuffins is not online. iStoleYourMuffins
Joined: 21 Jun 2013
Total Posts: 686
13 Oct 2014 06:41 PM
lol

|Muffins are good, and genetically processed foods make your stomach extend for some reason|
Report Abuse
XxCoolcatgonexX is not online. XxCoolcatgonexX
Joined: 12 Nov 2012
Total Posts: 4
13 Oct 2014 11:04 PM
Yup tru dat :3 LOL
Report Abuse
XxCoolcatgonexX is not online. XxCoolcatgonexX
Joined: 12 Nov 2012
Total Posts: 4
13 Oct 2014 11:05 PM
how do u add admin into your game????
Report Abuse
builderman0621 is not online. builderman0621
Joined: 13 Jul 2010
Total Posts: 1612
14 Oct 2014 08:12 AM
^
ya srsly how do u do?!?1//!?1//1
Report Abuse
anaIyze is not online. anaIyze
Joined: 29 May 2014
Total Posts: 2048
14 Oct 2014 12:00 PM
Oh no . . . , Don't give them the kohl DLL, please; They will abuse it.
Report Abuse
CDDoggGaming is not online. CDDoggGaming
Joined: 10 Aug 2010
Total Posts: 960
14 Oct 2014 12:11 PM
this is a simple output script inside value KV value TN is under the same parent as KV but TN's value doesnt change regardless of what tv ='s. If I manually change TN and KV the Values in server.GameInfo do not change at all. Someone tell me where i went wrong.

local server = game.Workspace.Server
local player = script.Parent.Parent.Parent.Parent
local tv = player.Info.Team.Value
local kv = script.Parent.Value
local tn = script.Parent.Parent.TN.Value

if tv == 1 then tn = "Team1Score"
end

if tv == 2 then tn = "Team2Score"
end

function update_output(property)
print("The OutputText has changed value.")
server.GameInfo.tn.Value = server.GameInfo.tn.Value + 1
end

kv.Changed:connect(update_output)
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