daily pastebin goal
32%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local item = game:GetService("ReplicatedStorage"):WaitForChild("Dual Darkhearts")
  2. local db = true
  3.  
  4. script.Parent.Touched:connect(function(part)
  5.  if part.Parent:FindFirstChild("Humanoid") ~= nil then
  6.   local player = game.Players:GetPlayerFromCharacter(part.Parent)
  7.   if player ~= nil then
  8.    if player.Backpack ~= nil then
  9.     if db == true then
  10.      db = false
  11.      item:Clone().Parent = player.Backpack
  12.      wait(1)
  13.      db = true
  14.     end
  15.    end
  16.   end
  17.  end
  18. end)
  19.  
  20. Rotation Animation Script:
  21. while wait() do
  22.  script.Parent.CFrame = script.Parent.CFrame * CFrame.Angles(0,0,0.05) -- Angle depends in the angle of the Item.
  23. 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