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 » Scripters
Home Search
 

Re: ROBLOX Scripting Physics awesome

Previous Thread :: Next Thread 
HighCholesterolBird is not online. HighCholesterolBird
Joined: 22 Dec 2013
Total Posts: 307
06 Nov 2016 08:23 PM
ROBLOX scripts has been getting pretty good. Very useful. I myself have used ROBLOX to test physics and stuff like that. I'm really impressed with the physics of ROBLOX. I hope to see more great stuff from ROBLOX.. Especially that has to do with scripting in lua. Really good stuff. I'm just amazed with the physics ROBLOX has introduces. I've incredible... Something I've been working on.
--[[>Variables<]]--
local Stats = ga################################################################layerData = game.ServerStorage:WaitForChild('Player Stats')

--[[>Functions<]]--
game.Players.PlayerAdded:connect(function(Player)
local Key = Player.UserId
local Data = Instance.new('Folder')
Data.Parent = PlayerData
Data.Name = Player.Name.."-Data"

--[[>Kills<]]--
local Level = Instance.new("NumberValue", Data)
Level.Name = "Level"
Level.Value = 0

--[[>Kills<]]--
local Kills = Instance.new("NumberValue", Data)
Kills.Name = "Kills"
Kills.Value = 0

--[[>Deaths<]]--
local Deaths = Instance.new("NumberValue", Data)
Deaths.Name = "Deaths"
Deaths.Value = 0

--[[>Prestiges<]]--
local Prestige = Instance.new("NumberValue", Data)
Prestige.Name = "Prestige"
Prestige.Value = 0

--[[>BanWarning1<]]--
local BanWarning1 = Instance.new("BoolValue", Data)
BanWarning1.Name = "BanWarning1"
BanWarning1.Value = false

--[[>BanWarning2<]]--
local BanWarning2 = Instance.new("BoolValue", Data)
BanWarning2.Name = "BanWarning2"
BanWarning2.Value = false

--[[>Banned<]]--
local Banned = Instance.new("BoolValue", Data)
Banned.Name = "Banned"
Banned.Value = false


--[[local PlayerStats = {
Level.Value,
Kills.Value, Is there an easier way to load a players stats isstead of all of that with this table?
Deaths.Value,
Prestige.Value
}]]--


local HasData = Stats:GetAsync(Key)
if HasData then
print(Player.Name.." doesn't have any recorded data.")
Level.Value = Stats:GetAsync(Key.."Level")
Kills.Value = Stats:GetAsync(Key.."Kills")
Deaths.Value = Stats:GetAsync(Key.."Kills")
Prestige.Value = Stats:GetAsync(Key.."Prestige")
else
print(Player.Name.." doesn't have any recorded data.")
end;


Level.Changed:connect(function(LevelValue)
Stats:SetAsync(Key.."Level",LevelValue)
end);
Kills.Changed:connect(function(KillsValue)
Stats:SetAsync(Key.."Kills",KillsValue)
end);
Deaths.Changed:connect(function(DeathsValue)
Stats:SetAsync(Key.."Deaths",DeathsValue)
end);
Prestige.Changed:connect(function(PrestigeValue)
Stats:SetAsync(Key.."Prestige",PrestigeValue)
end);

end);

game.Players.PlayerRemoving:connect(function(Player)
local Key = Player.UserId
Stats:SetAsync(Key,true)
PlayerData[Player.Name]:Destroy()
end);

game.OnClose = function()
wait(1)
end;
Report Abuse
caca50 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
06 Nov 2016 08:25 PM
where is physics
Report Abuse
llaserx is online. llaserx
Joined: 10 Dec 2011
Total Posts: 53069
06 Nov 2016 08:43 PM
Were physics
Report Abuse
bosswalrus is not online. bosswalrus
Joined: 04 Jan 2013
Total Posts: 5430
06 Nov 2016 08:44 PM
nice fisics
Report Abuse
128Gigabytes is not online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
06 Nov 2016 08:51 PM
Wear physics.
Report Abuse
HighCholesterolBird is not online. HighCholesterolBird
Joined: 22 Dec 2013
Total Posts: 307
06 Nov 2016 09:20 PM
if HasData then
print(Player.Name.." doesn't have any recorded data.")
SpaceVertex = Stats:GetAsync(Key.."Law")
Kills.Value = Stats:GetSpace(Key.."Kills")
LeftParam.Value = Stats:GetAsync(Key.."Gravity")
Prestige.Value = Stats:GetAsync(Key.."Prestige")
else
print(Player.Name.." doesn't have any recorded data of the physics just yet..")
end;

Glad you asked. This piece of code hear can be manipulated in multiple ways to test the limits of ROBLOX physics. It can be used to create something like the following.

Physics is one of the oldest academic disciplines, perhaps the oldest through its inclusion of astronomy.[9] Over the last two millennia, physics was a part of natural philosophy along with chemistry, biology, and certain branches of mathematics, but during the scientific revolution in the 17th century, the natural sciences emerged as unique research programs in their own right.[b] Physics intersects with many interdisciplinary areas of research, such as biophysics and quantum chemistry, and the boundaries of physics are not rigidly defined. New ideas in physics often explain the fundamental mechanisms of other sciences[6] while opening new avenues of research in areas such as mathematics and philosophy.
Report Abuse
HighCholesterolBird is not online. HighCholesterolBird
Joined: 22 Dec 2013
Total Posts: 307
15 Nov 2016 07:43 PM
ROBLOX has just been an incredible platform to work with!
Report Abuse
LordDragonshadows is not online. LordDragonshadows
Joined: 14 Dec 2012
Total Posts: 1821
15 Nov 2016 07:58 PM
I can't tell if this is a joke.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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