Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made by PLATINA#3009
- -- https://www.roblox.com/games/11270995869/MinerShaft-Minecraft
- local x = nil
- local y = nil
- local z = nil
- OldNamecall = hookmetamethod(game, "__namecall", function(self, ...)
- local args = {...}
- if getnamecallmethod() == "InvokeServer" and self.Name == "LoadBlock" then
- x = args[1]
- y = args[2]
- z = args[3]
- end
- return OldNamecall(self, unpack(args))
- end)
- game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(key)
- if key == "z" then
- local args = {
- [1] = 36
- }
- game:GetService("ReplicatedStorage").GameRemotes.SortItem:InvokeServer(unpack(args))
- game:GetService("ReplicatedStorage").GameRemotes.ExitBlock:InvokeServer()
- local args = {
- [1] = x,
- [2] = y,
- [3] = z
- }
- game:GetService("ReplicatedStorage").GameRemotes.LoadBlock:InvokeServer(unpack(args))
- end
- wait()
- end)
Add Comment
Please, Sign In to add comment