SHARE
TWEET

Untitled

a guest Jul 20th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  storage = game:GetService("ServerStorage")
  2.  part1 = storage["Water"]:clone()
  3.   CO = true
  4.  part = storage["Grimo"]:clone()
  5. game.ReplicatedStorage.Throw.OnServerEvent:Connect(function(Player,Debouce)
  6.    
  7.     if CO then
  8.         part1.Parent = game.Workspace
  9.     part1.CFrame = CFrame.new(0,0,0)
  10. local Character = Player.Character or Player.Character:wait()
  11.  
  12. local weld = Instance.new("Weld", part1)
  13. weld.Part0 = part1
  14. weld.Part1 = Character["LowerTorso"]
  15.  
  16. weld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(0,0,33)
  17. if workspace:FindFirstChild("part1")~= nil then
  18.     part:destroy()
  19. end
  20.  
  21.    
  22.  
  23.    
  24.  
  25.  
  26. else
  27.     part.Parent = game.Workspace
  28.     part.CFrame = CFrame.new(0,0,0)
  29. local Character = Player.Character or Player.Character:wait()
  30.  
  31. local weld = Instance.new("Weld", part)
  32. weld.Part0 = part
  33. weld.Part1 = Character.HumanoidRootPart
  34.  
  35. weld.C0 = CFrame.new(0,-1,3)
  36. part1:destroy()
  37.  
  38. CO= true
  39. end
  40. CO = false
  41.  
  42.  
  43. 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