Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local bodyvel_Name = "FlingVelocity"
- local userinputs = game:GetService("UserInputService")
- local w = game:GetService("Workspace")
- local r = game:GetService("RunService")
- local d = game:GetService("Debris")
- local strength = 850
- w.ChildAdded:Connect(function(model)
- if model.Name == "GrabParts" then
- local part_to_impulse = model["GrabPart"]["WeldConstraint"].Part1
- if part_to_impulse then
- print("Part found!")
- local inputObj
- local velocityObj = Instance.new("BodyVelocity", part_to_impulse)
- model:GetPropertyChangedSignal("Parent"):Connect(function()
- if not model.Parent then
- if userinputs:GetLastInputType() == Enum.UserInputType.MouseButton2 then
- print("Launched!")
- velocityObj.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- velocityObj.Velocity = workspace.CurrentCamera.CFrame.lookVector * strength
- d:AddItem(velocityObj, 1)
- elseif userinputs:GetLastInputType() == Enum.UserInputType.MouseButton1 then
- velocityObj:Destroy()
- print("Cancel Launch!")
- else
- velocityObj:Destroy()
- print("No two keys pressed!")
- end
- end
- end)
- end
- end
- end)
Advertisement
Comments
-
- how do you paste this into the game
-
- how can i paste it into the game now?
-
- I can’t find any good gui for fling things and people
-
- --// Get Key: https://gabescripts.com/getkey.php
- getgenv().Key = "putkeyhere";
- loadstring(game:HttpGet("https://gabescripts.com/access.lua"))()
- this script is not mine
Add Comment
Please, Sign In to add comment
Advertisement