Free Roblox Studio Ship Script

May 30th, 2016

LocalScript: my Discord! Saber simulator roblox hack / script new click here to get the script. Murder mystery 2 roblox hack / script. Click here to get the script. Grow simulator roblox.

Lua Script Executor. Our exploits are the one of the best Roblox lua script executor ever made! Can execute almost all script. It can run scripts like 'Infinite Yield', 'c00lkidd gui', 'Ro-Xploit' & more.

Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
  1. --Script made by Fiterpilot. All rights reserved to Nova Studio
  2. --Variables
  3. local tycoon = script.Parent.Tycoon --Variable for Tycoon object (inside of tycoon)
  4. local ownerName = tycoon.OwnerName --Variable for OwnerName object
  5. local cash = tycoon.Cash --Variable for cash object
  6. local essentials = tycoon.Essentials -- Variable for Essentials object
  7. local purchases = tycoon.Purchases
  8. local claim = tycoon['Become Owner'].Head --Variable for claim part
  9. local collector = essentials.Collector -- Variable for collector part
  10. local giver = essentials.Giver --Varaible for giver part
  11. local display = essentials.Display --Variable for display
  12. local PCash --Variable for player's cash
  13. --Variable for Regen
  14. local Backup = Model:clone()--Clones Model
  15. claim.Touched:connect(function(hit)--Function for claiming
  16. if ownerName.Value 'then--If ownerName.Value is '
  17. player = game.Players:GetPlayerFromCharacter(hit.Parent)--Find the player that touched it
  18. print('player exists')
  19. PCash = player.leaderstats:FindFirstChild('Cash')--Find his cash
  20. print('PCash exists')
  21. local owns = player:FindFirstChild('Owns')--Find his owns
  22. print('Owns exists')
  23. if hit.Parent:FindFirstChild('Humanoid')then--Now, is he a human?
  24. if hit.Parent.Humanoid.Health >0then--Is he alive?!
  25. ownerName.Value = player.Name --Change ownerName to his name
  26. claim.Parent.Name = player.Name..'s kitchen'--Show ownership
  27. claim.CanCollide =false--Make sure we can walk through
  28. player.TeamColor = claim.BrickColor --Set his team to the color of the brick
  29. end
  30. end
  31. end
  32. end
  33. collector.Touched:connect(function(hit)--When the collector is touched
  34. if hit.Name 'Food'then--If it was touched by 'Food'
  35. local val = hit:FindFirstChild('Value')--Find how much it's worth
  36. cash.Value = cash.Value + val.Value --Add the value of the food to cash
  37. end
  38. end)
  39. --Give player money
  40. giver.Touched:connect(function(hit)--When the giver is touched
  41. if cash.Value >0then
  42. if hit.Parent.Name ownerName.Value then--If hit's name is = to ownerName
  43. PCash.Value = PCash.Value + cash.Value --Give the player the money
  44. buySound:Play()--Plays sound
  45. end
  46. end)
  47. --Updating display
  48. cash.Changed:connect(function()--When cash is changed
  49. display.SG.Frame.Money.Text =tostring(cash.Value)--Update display
  50. for i,v inpairs(buttons:GetChildren())do--Look through all the buttons and get their children
  51. if v:FindFirstChild('Head')then--Find the children's heads
  52. local object = purchases:FindFirstChild(v.Object.Value)--Hold the value for objects
  53. objects[object.Name]= object:Clone()--Clone it
  54. else
  55. print('Button: '..v.Name..' is missing its object and has been removed.')
  56. v.Head.Transparency =1
  57. if v:FindFirstChild('Dependency')then--Find the dependency
  58. v.Head.Transparency =1
  59. if purchasedO:WaitForChild(v.Dependency.Value)then--Wait for that object to be purchased
  60. v.Head.Transparency =0
  61. end))
  62. v.Head.Touched:connect(function(hit)--If the head of a button is touched
  63. local player = game.Players:GetPlayerFromCharacter(hit.Parent)--Find the player
  64. if v.Head.CanCollide truethen--See if the button can collide
  65. print('Player exists')
  66. if ownerName.Value player.Name then--See if the player owns the tycoon
  67. if hit.Parent:FindFirstChild('Humanoid')then--See if the player has a humanoid
  68. if hit.Parent.Humanoid.Health >0then--See if the humanoid is alive
  69. if PCash ~=nilthen--See if PCash exists
  70. if PCash.Value >= v.Price.Value then--If PCash is greater than price
  71. PCash.Value = PCash.Value - v.Price.Value --Purchase the object
  72. objects[v.Object.Value].Parent = purchasedO --Move it into puchasedobjects
  73. v.Head.Transparency =1
  74. end
  75. end
  76. end
  77. end
  78. end
  79. game.Players.PlayerRemoving:connect(function(player)--Function for player removal
  80. if ownerName.Value ~='then--If ownerName isn't equal to nothing then
  81. if ownerName.Value player.Name then--If the leaving player has the same name as ownerName
  82. Model:remove()--Removes Model
  83. Model.Parent = script.Parent --Sets Models Parent To The Tycoon
  84. end
  85. end)
Mar 26th, 2020
Never
ScriptsRoblox
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!

Roblox Studio Script List

  1. mouse = player:GetMouse()
  2. ammo = maxAmmo
  3. firing=false
  4. reload =2
  5. script.Parent.Activated:Connect(function()
  6. firing =true
  7. repeatlocal bullet= Instance.new('Part', workspace)
  8. bullet.Shape ='Ball'
  9. bullet.BrickColor = BrickColor.new('Bright red')
  10. local Axis = CFrame.new(script.Parent.Handle.Position, mouse.Hit.p)
  11. local Theta =math.random()*math.pi*2
  12. local x =math.cos(Theta)*math.sin(Phi)
  13. local z =math.cos(Phi)
  14. local Coordinate = Axis * CFrame.fromEulerAnglesXYZ(x,y,z)
  15. local vel = Instance.new('BodyVelocity')
  16. game.Debris:AddItem(bullet,15)
  17. if hit.Parent ~= player.Character and hit.Parent:FindFirstChild('Humanoid')then
  18. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - damage
  19. end
  20. wait(rate)
  21. end
  22. script.Parent.Deactivated:Connect(function()
  23. firing =false
  24. end)
  25. ifstring.lower(k)'r'and ammo < maxAmmo and firing falsethen
  26. wait(reload)
  27. canFire =true
  28. end)

Free Roblox Studio Ship Script Pastebin