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
 

Will Pay 25-50 robux to Improve Script

Previous Thread :: Next Thread 
cxcharlie is not online. cxcharlie
Joined: 26 Aug 2009
Total Posts: 1414
06 May 2013 10:06 PM
I made a local script for making kill streaks. It doesn't work too well. Will pay from 25 - 50 robux depending on how much better you made it. (BC Required)
If I approve please make a shirt priced on how much I say. Thanks, cxcharlie.
(This is a local script)
-------------
------------------
local plr = game.Players.LocalPlayer
pl = script.Parent.Parent
plm = pl:GetMouse()
local mouse = plr:GetMouse()

function buttonDown(key)
if key == "g" then --CHANGE G TO BUTTON YOU PRESS TO CALL STREAK
return;
else
bc = plr:findFirstChild("USED1")
local en = script:findFirstChild("Enabled")
local Streak = plr:findFirstChild("RobloxAdvancedKillstreak")--CHANGE ROBLOXAD.. TO YOUR LEADERSTARS, EX:KILLS
local character = game.Players.LocalPlayer.Character
if plr ~= nil and Streak.Value>2 and character ~= nil and key == "g" and bc == nil then--CHANGE 2 TO THE REQUIRED AMOUNT +1 EX: REQUIRED:1 WHAT I PUT:2
if en.Value ~= false then
en.Value = false
l = script.ShopGUI:Clone()
a = Instance.new("StringValue")
a.Name = "USED1"
a.Parent = plr
l.Parent = plr:findFirstChild("PlayerGui")
l.Shop:TweenPosition(UDim2.new(0.5,0,0.4,0),"In","Quad",0.6,true)
wait(.5)
l.Shop.Text = "CALLING IN KILLSTREAK...." --CHANGE IF YOU WANT
wait(.5)
l.Shop.Text = "CALLING IN KILLSTREAK....."
wait(.5)
l.Shop.Text = "[DONE]"
--z = game.Lighting:findFirstChild("SHOOOP"):Clone()
--z.Parent = game.Workspace
--z.Position = character.Torso + Vector3.new(0,0,2)
ab = game.Lighting:findFirstChild("SHOOOP"):Clone()--CHANGE SHOOOP TO TOOL YOU PUT IN LIGHTING
ab.Parent = pl:findFirstChild("Backpack")--IF YOU WANT TO INSERT A MODEL OR PART NEXT TO THE PLAYER THEN REMOVE THE DOUBLE LINES IN LINES 29-31 (NOT SURE IF IT WORKS BUT YOU CAN TRY IF YOU WANT)
wait(4)
en.Value = true
elseif en.Value == false or key ~= "g" then
print("HI")
end
elseif plr == nil or Streak.Value<3 or character == nil and key == "g" then--CHANGE G IF YOU CHANGED THE BUTTON U HAVE TO PRESS ALSO CHANGE 3 TO THE REQUIRED TO EARN AWARD
if en.Value ~= false then
en.Value = false
need = 3 - Streak.Value
NOP = script:findFirstChild("ShopGUI"):Clone()
NOP.Parent = plr:findFirstChild("PlayerGui")
not1 = NOP:findFirstChild("Shop")
not1.Text = ("Sorry, You need %s more kill"):format(need)
not1.FontSize = "Size36"
not1:TweenPosition(UDim2.new(0.5,0,0.4,0),"In","Quad",1.5,true)
wait(5)
not1.Text = "Press (e) to close"
wait(3)
en.Value = true
elseif en.Value == false then
print("HI")
end
elseif bc ~= nil and key == "g" then
if en.Value ~= false then
en.Value = false
la = script.ShopGUI:Clone()
aall = la:findFirstChild("Shop")
aall.Text = "You Already Used Your KillStreak Award..."
la.Parent = plr:findFirstChild("PlayerGui")
aall:TweenPosition(UDim2.new(0.5,0,0.4,0),"In","Quad",0.34,true) --DONT EDIT IF YOU DONT KNOW WUT UR DOING...
wait(4)
aall.Text = "Press (e) to close"
aall.FontSize = "Size36"
wait(2)
en.Value = true
elseif en.Value == false then
print("HI")
end
end
end
end




function UnpressedKey(key)
local en = script:findFirstChild("Enabled")
l = plr.PlayerGui:findFirstChild("ShopGUI")
if key == "e" then
if en ~= nil then
if en.Value == true then
if l ~= nil then

wait()
en.Value = false
plr:findFirstChild("PlayerGui").ShopGUI.Shop:TweenPosition(UDim2.new(0.5,-900,0.4,0),"Out","Quad",0.4,true)
wait(2)
l:Destroy()
wait(10)
en.Value = true
elseif key ~= "e" then
print("NOT E")
elseif en == nil then
print("Where is Value? .__.")
elseif en.Value == false then
print("Not ready..")
elseif l == nil then
if key == "e" then
print("Where is GUI? .__.")
end
end
end
end
end
end


plm.KeyDown:connect(buttonDown)
plm.KeyUp:connect(UnpressedKey)

--CXCHARLIE 5/5/13
Report Abuse
KillerKyle is not online. KillerKyle
Joined: 29 Jul 2007
Total Posts: 6371
06 May 2013 10:30 PM
What's wrong with it?
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
06 May 2013 10:43 PM
Judging from skimming it, it seems very inefficient. Is that the problem?
Report Abuse
cxcharlie is not online. cxcharlie
Joined: 26 Aug 2009
Total Posts: 1414
06 May 2013 11:17 PM
Yes
Report Abuse
cxcharlie is not online. cxcharlie
Joined: 26 Aug 2009
Total Posts: 1414
06 May 2013 11:18 PM
and some other stuff
Report Abuse
cxcharlie is not online. cxcharlie
Joined: 26 Aug 2009
Total Posts: 1414
06 May 2013 11:19 PM
also, sometimes it glitches
Report Abuse
KillerKyle is not online. KillerKyle
Joined: 29 Jul 2007
Total Posts: 6371
06 May 2013 11:21 PM
If you want us to fix it, you have to tell us what is happening.
Report Abuse
Usering is not online. Usering
Joined: 18 Aug 2012
Total Posts: 10281
06 May 2013 11:50 PM
Give me the money then I'll script for you.
Report Abuse
KillerKyle is not online. KillerKyle
Joined: 29 Jul 2007
Total Posts: 6371
07 May 2013 12:32 AM
Obvious scam is scam
Report Abuse
cxcharlie is not online. cxcharlie
Joined: 26 Aug 2009
Total Posts: 1414
07 May 2013 09:21 AM
ill give the money first
Report Abuse
cxcharlie is not online. cxcharlie
Joined: 26 Aug 2009
Total Posts: 1414
07 May 2013 09:23 AM
will 30 be fine? make a shirt and pm it to me
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