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
 

FPS SCRIPTER?

Previous Thread :: Next Thread 
SwordKiller64 is not online. SwordKiller64
Joined: 15 Feb 2013
Total Posts: 80
25 Apr 2014 07:10 PM
If you are one please reply
Report Abuse
SwordKiller64 is not online. SwordKiller64
Joined: 15 Feb 2013
Total Posts: 80
25 Apr 2014 07:12 PM
--[[Halpar]]
plrs = game.Players:GetPlayers()
maps = game.Lighting:GetChildren()
numplrs = #plrs
function selectMAP()
local selectedMap = maps[math.random(1,#maps)]
selectedMap.Parent = Workspace
selectedMap.Name = "Map"
game.Workspace.Timer.Value = 301
print('1')
repeat
wait(1)
game.Workspace.Timer.Value = game.Workspace.Timer.Value - 1
until
game.Workspace.Timer.Value == 1 or numplrs == 1
print'2'
----
m = Instance.new("Message", Workspace)
if numplrs == 1 then
m.Text = "The winner was: "..plrs[1]
wait(5)
m:Destroy()
selectedMap:Destroy()
script.Disabled = true
end
if game.Workspace.Timer.Value == 1 then
m.Text = "Game is finished"
wait(3)
m:Destroy()
selectedMap:Destroy()
script.Disabled = true
end
print'3'
end
function tp()
local spawns = Workspace.Map.Spawns
for i = 1, numplrs do
plrs[i]:MoveTo(spawns[i].Position)
print'5'
sword = game.ServerStorage["Sword"]:clone()
sword.Parent = plrs[i].Character
end
end
if Workspace.GoReady.Value == true then
selectMAP()
print'6'
tp()
print'7'
Workspace.GoReady.Value = false
end
while wait() do
for i,v in pairs(game.Players:GetPlayers()) do
if v.Character.Humanoid.Health == 0 then
table.remove(plrs,i)
print'4'
end
end
end
Report Abuse
ibranext is not online. ibranext
Joined: 08 Aug 2012
Total Posts: 361
25 Apr 2014 07:16 PM
just force an anti mouse zoom out, so its a mouse lock...
NOTE: I'm pretty sure ROBLOX dose not permitted because you can't use the Escape button...
Report Abuse
JoshuaKempfert is not online. JoshuaKempfert
Joined: 16 Feb 2013
Total Posts: 2407
25 Apr 2014 07:19 PM
I have some gun models in my inventory released if you want to use those.
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