Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- THIS SCRIPT IS NOT TO FLING PEOPLE IN OTHER GAMES, THIS SCRIPT MADE FOR 1 GAME NAMED "Fling Things And People"
- local bodyvel_Name = "FlingVelocity"
- local userinputs = game:GetService("UserInputService")
- local workspace = game:GetService("Workspace")
- local runservice = game:GetService("RunService")
- local debris = game:GetService("Debris")
- local strength = 350 -- Сила Откида (Не выше 350 или античит будет мешать)
- workspace.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
- debris: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
-
- waoowww
-
- bro this shit is ass
-
- true
-
- Ngl this is pretty good
-
- how to download
-
- new to this can i use fluxus executor?
-
- how to open the script?
Add Comment
Please, Sign In to add comment
Advertisement