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
 

I am starting key pressed, and I need help

Previous Thread :: Next Thread 
DevilDefeater is not online. DevilDefeater
Joined: 08 Jul 2013
Total Posts: 756
23 Aug 2013 10:30 PM
Ok, can anyone make me like a basic script that when you click something, it will kill the player (Just a sample). Thanks!
~DevilDefeater

~DevilDefeater - Popped your bubble~
Report Abuse
Usering is not online. Usering
Joined: 18 Aug 2012
Total Posts: 10281
23 Aug 2013 10:32 PM
when key pressed
kill player
Report Abuse
DevilDefeater is not online. DevilDefeater
Joined: 08 Jul 2013
Total Posts: 756
23 Aug 2013 10:33 PM
Um, I mean like a script where it kill the player.

~DevilDefeater - Popped your bubble~
Report Abuse
emporerj is not online. emporerj
Joined: 23 Nov 2010
Total Posts: 39351
23 Aug 2013 10:35 PM
Perhaps you should learn how to write proper english before trying to learn a programming language.

Twitter @emporerjrblx | ctrl + shift + n solves everything - The Dragon of RT
Report Abuse
Usering is not online. Usering
Joined: 18 Aug 2012
Total Posts: 10281
23 Aug 2013 10:35 PM
I know, I'm not dumb.

LOCALSCRIPT INSIDE OF STARTERGUI (CLONES INTO PLAYERGUI)

local player = game.Players.LocalPlayer
local mouse = player:GetMouse()

mouse.KeyDown:connect(function(key)
if key:lower() == "r" then
player.Character:BreakJoints()
end
end)
Report Abuse
laughablehaha is not online. laughablehaha
Joined: 19 Apr 2012
Total Posts: 2495
23 Aug 2013 11:06 PM
Oh, great
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