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 » Game Design
Home Search
 

Re: Check out this little place I'm building!

Previous Thread :: Next Thread 
zakarq is not online. zakarq
Joined: 10 Oct 2010
Total Posts: 883
11 Jan 2014 07:33 PM
http://www.roblox.com/Building-ting-place?id=141773628

Rate from 1-10!

And, if you want... Give suggestions/ideas.
Report Abuse
LOADING321 is not online. LOADING321
Joined: 01 Apr 2011
Total Posts: 8210
11 Jan 2014 07:46 PM
9/10

CameraLock Script please?

ᴸᴼᴬᴰᴵᴺᴳ³²¹⋅ᵉˣᵉ ᴴᵃˢ ˢᵗᵒᵖᵖᵉᵈ ʷᵒʳᵏᶦᶰᵍ
ᴸᴼᴬᴰᴵᴺᴳ ᵃ ᶰᵉʷ ⋅ᵉˣᵉ ᶠᶦᶫᵉ
Report Abuse
cookiedude42 is not online. cookiedude42
Joined: 09 Jun 2010
Total Posts: 2158
11 Jan 2014 07:53 PM
9.3
Very serene and peaceful
Report Abuse
zakarq is not online. zakarq
Joined: 10 Oct 2010
Total Posts: 883
11 Jan 2014 07:56 PM
This is the camera lock script


repeat wait(1) until game.Players.LocalPlayer.Character.Head
local mouse = game.Players.LocalPlayer:GetMouse()
local energy = script.energy
local running = script.running
local plr = game.Players.LocalPlayer.Character.Head:GetChildren()

for i = 1,#plr do
if plr[i]:IsA ("Sound") then
print("zomg")
if plr[i].SoundId == "rbxasset://sounds/bfsl-minifigfoots1.mp3" then
plr[i].SoundId = "http://www.roblox.com/asset/?id=131436155"
plr[i].Pitch = 0.3
plr[i].Name = "walk"
end
end
end
game.Players.LocalPlayer.CameraMode = "LockFirstPerson"
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 10
walksound = game.Players.LocalPlayer.Character.Head.walk

function onKeyDown(key)
key = key:lower()
if key:byte() == 48 and running.Value == false then
running.Value = true
while running.Value == true do
if energy.Value == 0 then
wait(0.1)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 10
walksound.Pitch = 0.3
else
energy.Value = energy.Value - 1
print(energy.Value)
wait(0.1)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 20
walksound.Pitch = 0.45
end
end
end
end

function onKeyUp(key)
key = key:lower()
if key:byte() == 48 and running.Value == true then
running.Value = false
while running.Value == false and energy.Value < 100 do
wait(0.05)
energy.Value = energy.Value + 1
print(energy.Value)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 10
walksound.Pitch = 0.3
end
end
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 10
walksound.Pitch = 0.3
end


mouse.KeyDown:connect(onKeyDown)
mouse.KeyUp:connect(onKeyUp)
Report Abuse
LOADING321 is not online. LOADING321
Joined: 01 Apr 2011
Total Posts: 8210
11 Jan 2014 07:59 PM
Thank you!


ᴸᴼᴬᴰᴵᴺᴳ³²¹⋅ᵉˣᵉ ᴴᵃˢ ˢᵗᵒᵖᵖᵉᵈ ʷᵒʳᵏᶦᶰᵍ
ᴸᴼᴬᴰᴵᴺᴳ ᵃ ᶰᵉʷ ⋅ᵉˣᵉ ᶠᶦᶫᵉ
Report Abuse
zakarq is not online. zakarq
Joined: 10 Oct 2010
Total Posts: 883
11 Jan 2014 08:01 PM
By the way, it's inside StartGui with an int value and a bool value inside(energy(int) and running(bool))
Report Abuse
LOADING321 is not online. LOADING321
Joined: 01 Apr 2011
Total Posts: 8210
11 Jan 2014 08:01 PM
I am just curious is it a LocalScript or a Normal Script?

Where to put?

Workspace??
Etc?


ᴸᴼᴬᴰᴵᴺᴳ³²¹⋅ᵉˣᵉ ᴴᵃˢ ˢᵗᵒᵖᵖᵉᵈ ʷᵒʳᵏᶦᶰᵍ
ᴸᴼᴬᴰᴵᴺᴳ ᵃ ᶰᵉʷ ⋅ᵉˣᵉ ᶠᶦᶫᵉ
Report Abuse
zakarq is not online. zakarq
Joined: 10 Oct 2010
Total Posts: 883
11 Jan 2014 08:13 PM
Local, StarterGui
Report Abuse
zakarq is not online. zakarq
Joined: 10 Oct 2010
Total Posts: 883
11 Jan 2014 08:14 PM
That script also includes the running.3.
Report Abuse
LOADING321 is not online. LOADING321
Joined: 01 Apr 2011
Total Posts: 8210
11 Jan 2014 08:17 PM
Kay.


ᴸᴼᴬᴰᴵᴺᴳ³²¹⋅ᵉˣᵉ ᴴᵃˢ ˢᵗᵒᵖᵖᵉᵈ ʷᵒʳᵏᶦᶰᵍ
ᴸᴼᴬᴰᴵᴺᴳ ᵃ ᶰᵉʷ ⋅ᵉˣᵉ ᶠᶦᶫᵉ
Report Abuse
zakarq is not online. zakarq
Joined: 10 Oct 2010
Total Posts: 883
12 Jan 2014 02:09 AM
bump
Report Abuse
Aetha is not online. Aetha
Joined: 26 May 2007
Total Posts: 69
12 Jan 2014 04:04 AM
Nice place, 9/10.
Report Abuse
zakarq is not online. zakarq
Joined: 10 Oct 2010
Total Posts: 883
12 Jan 2014 01:33 PM
bump
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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