SHARE
TWEET

Untitled

a guest Oct 10th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Module Script:
  2. local module = {}
  3. local.replicatedStorage = game:GetService("ReplicatedStorage") 
  4.  
  5. function module.lift ()
  6.    
  7.     replicatedStorage:Remotes:Lift:Fireserver
  8.      
  9. end
  10.  
  11. return module
  12.  
  13. Local Script:
  14. local module = require (script.parent:WaitForChild("ModuleScript"))
  15. local player = game.Players.LocalPlayer
  16. local mouse = player:GetMouse()
  17.  
  18. script.Parent.Activated:Connect(function()
  19.     module.lift()
  20. end)
  21.  
  22. Remotes:
  23. local replicatedStorage - game:GetService("ReplicatedStorage")
  24. local remoteData - game:GetService("ScriptService"):WaitForChild("RemoteData")
  25.  
  26. local cooldown - 0.04
  27.  
  28. replicatedStorage.Remotes.Lift.OnServerEvent:Connect (function(player)
  29.    
  30.    
  31.    
  32. end)
  33.  
  34. Script:
  35. local.serverStorage = game.GetService("ServerStorage")
  36.  
  37. game:Player.PlayerAdded:Connect(function(Player)
  38.    
  39.    
  40.     local dataFolder - Instance.new("Folder")
  41.     dataFolder.Name - player.Name
  42.     dataFolder.Parent = ServerStorage.RemoteData       
  43.    
  44.     local debounce = Instance.net("BoolValue")
  45.     debounce.Name = ("Debounce")
  46.     debounce.Parent = DataFolder
  47.    
  48. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top