Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- re = Instance.new("RemoteEvent",game.ReplicatedStorage)
- re.Name = owner.Name
- NLS([[local Tool = Instance.new("Tool",owner.Backpack)
- c = game.ReplicatedStorage:FindFirstChild(owner.Name)
- Tool.Name = "BL"
- local Handle = Instance.new("Part",Tool)
- Handle.Name = "Handle"
- Handle.Transparency = 1
- Char = owner.Character
- Humanoid = Char.Humanoid
- Head = Char.Head
- Player = game.Players.LocalPlayer
- Mouse = Player:GetMouse()
- print(script.Parent)
- print(owner)
- owner.Backpack.BL.Activated:Connect(function()
- print("ok")
- point = Mouse.Hit.Position
- look = (point - Head.Position).Unit
- c:FireServer(look, point, Head.Position)
- end)]], owner.Character)
- re.OnServerEvent:Connect(function(player,Look,point,pos)
- local f = Instance.new("Part",workspace)
- f.Size = Vector3.new(10,10,10)
- f.Position = Look*10
- f.CFrame = CFrame.new(pos, point)
- f.Velocity = Look*160
- NLS([[workspace.Base.CustomPhysicalProperties = PhysicalProperties.new(0.7,0.1,0.5,0.3,1) print(workspace.Base.CustomPhysicalProperties.Friction)]], owner.Character)
- f.CustomPhysicalProperties = PhysicalProperties.new(100, 0, 0.5, 0, 1)
- print(f.CustomPhysicalProperties.Density)
- print(f.CustomPhysicalProperties.Friction)
- print(f.CustomPhysicalProperties.FrictionWeight)
- wait(10)
- f:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement