of     1   

BurritoBash
#139210350Friday, July 04, 2014 2:08 PM GMT

Right now, the gun I have in my place, you must hold the 'e' to run. I want to change it to the 'Shift' key instead. Here it is: --Sprint ,Sprint = true ,SprintSpeed = 22 ,SprintKey = "e" ,SprintSpreadIncrease = 40 ,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0) --Other ,DropHats = true } Thanks
AnonyAnonymous
#139210648Friday, July 04, 2014 2:13 PM GMT

Mouse = game.Players.LocalPlayer:GetMouse() Mouse.KeyDown:connect(function(Key) if Key:byte() == "47" then --Code Here end end) The code above would be the Right-Shift key.
BurritoBash
#139210748Friday, July 04, 2014 2:15 PM GMT

Where would I paste it in the script?
AnonyAnonymous
#139210798Friday, July 04, 2014 2:15 PM GMT

Anywhere based on your current script.
BurritoBash
#139210840Friday, July 04, 2014 2:16 PM GMT

Thanks, what do I do if I want to left-shift key?
AnonyAnonymous
#139210912Friday, July 04, 2014 2:17 PM GMT

Here's the special character key list with corresponding numbers, http://wiki.roblox.com/index.php?title=List_of_special_characters end.
BurritoBash
#139211322Friday, July 04, 2014 2:23 PM GMT

Alright. Should I delete the other sprint and replace it with yours? It doesn't say right-shift on the website
lostend
#139211752Friday, July 04, 2014 2:30 PM GMT

48 is for left shift. Also, you can double tap W: Add a variable at the top, name it last_tick=tick() last_tick=tick() mouse.KeyDown:connect(function(k) if k:lower()=='w' then if (tick()-last_tick()0) then --sprint stuff here else last_tick=tick() end end end) I'm assuming this stuff is defined.

    of     1