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: Farming System

Previous Thread :: Next Thread 
UncleBenss is not online. UncleBenss
Joined: 23 Mar 2016
Total Posts: 105
28 Aug 2017 01:55 AM
Goals: Make a land that you can shovel it with a special tool. With this script i can shovel it with a tool and my mouse (bare hands), how do i edit this script so i can only shovel that land with a special tool?

local player = game.Players.LocalPlayer
local mouse = player:GetMouse()


mouse.Button1Down:connect(function()
if mouse.Target.Name == "ChangePart" then
mouse.Target.BrickColor = BrickColor.new("Dirt brown")
mouse.Target.Material = "Grass"
end
end)


Report Abuse
UncleBenss is not online. UncleBenss
Joined: 23 Mar 2016
Total Posts: 105
28 Aug 2017 02:01 AM
Bump! Need urgent help!


Report Abuse
UncleBenss is not online. UncleBenss
Joined: 23 Mar 2016
Total Posts: 105
28 Aug 2017 02:12 AM
Bump!!


Report Abuse
UncleBenss is not online. UncleBenss
Joined: 23 Mar 2016
Total Posts: 105
28 Aug 2017 02:28 AM
BUmp!!


Report Abuse
UncleBenss is not online. UncleBenss
Joined: 23 Mar 2016
Total Posts: 105
28 Aug 2017 02:47 AM
BUPMpinaiwdmp


Report Abuse
UncleBenss is not online. UncleBenss
Joined: 23 Mar 2016
Total Posts: 105
28 Aug 2017 02:54 AM
bump1


Report Abuse
seshimazi is not online. seshimazi
Joined: 03 Jun 2007
Total Posts: 177
28 Aug 2017 03:00 AM
I would use mouse.target.
Report Abuse
UncleBenss is not online. UncleBenss
Joined: 23 Mar 2016
Total Posts: 105
28 Aug 2017 03:01 AM
i am using it, but i want to make it so you cant shovel it with your hand, only with a tool. Like in lumber tycoon 2, you can't chop down trees with a hand, you need an axe.


Report Abuse
UncleBenss is not online. UncleBenss
Joined: 23 Mar 2016
Total Posts: 105
28 Aug 2017 03:39 AM
UP!


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