Advertisement
eea

Untitled

eea
Aug 1st, 2021
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. re = Instance.new("RemoteEvent",game.ReplicatedStorage)
  2. re.Name = owner.Name
  3.  
  4. NLS([[local Tool = Instance.new("Tool",owner.Backpack)
  5. c = game.ReplicatedStorage:FindFirstChild(owner.Name)
  6. Tool.Name = "BL"
  7.  
  8. local Handle = Instance.new("Part",Tool)
  9. Handle.Name = "Handle"
  10. Handle.Transparency = 1
  11.  
  12. Char = owner.Character
  13. Humanoid = Char.Humanoid
  14. Head = Char.Head
  15.  
  16. Player = game.Players.LocalPlayer
  17. Mouse = Player:GetMouse()
  18. print(script.Parent)
  19. print(owner)
  20.  
  21. owner.Backpack.BL.Activated:Connect(function()
  22. print("ok")
  23. point = Mouse.Hit.Position
  24. look = (point - Head.Position).Unit
  25. c:FireServer(look, point, Head.Position)
  26. end)]], owner.Character)
  27.  
  28. re.OnServerEvent:Connect(function(player,Look,point,pos)
  29. local f = Instance.new("Part",workspace)
  30. f.Size = Vector3.new(10,10,10)
  31. f.Position = Look*10
  32. f.CFrame = CFrame.new(pos, point)
  33. f.Velocity = Look*160
  34. NLS([[workspace.Base.CustomPhysicalProperties = PhysicalProperties.new(0.7,0.1,0.5,0.3,1) print(workspace.Base.CustomPhysicalProperties.Friction)]], owner.Character)
  35. f.CustomPhysicalProperties = PhysicalProperties.new(100, 0, 0.5, 0, 1)
  36. print(f.CustomPhysicalProperties.Density)
  37. print(f.CustomPhysicalProperties.Friction)
  38. print(f.CustomPhysicalProperties.FrictionWeight)
  39. wait(10)
  40. f:Destroy()
  41. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement