Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How Do I Make An Automine Pickaxe?

Asked by 5 years ago

Okay, I I Have A Mining Script For A Pickaxe That I Made, So How Do I Make It Go Automatic Without Wrecking The Script?

001local tType = script.Parent:FindFirstChild("TType")
002local count = tType:FindFirstChild("Count").Value
003local range = tType:FindFirstChild("Range").Value
004local damage = tType:FindFirstChild("Damage").Value
005local coolDown = tType:FindFirstChild("coolDown").Value
006 
007--------------------------------------------------------
008 
009local plr = game.Players.LocalPlayer
010repeat wait() until plr.Character ~= nil
011local mouse = plr:GetMouse()
012local rs = game:GetService('ReplicatedStorage')
013local events = rs.Events
014local st = plr:WaitForChild("Settings")
015local blocks = st:WaitForChild("Blocks")
View all 206 lines...
0
I am a small scripter who can't figure this out ;-; hasanchik 49 — 5y

Answer this question