Universal Script 📌
1.1k Views
785 Executions

Fling part

Universal Script 📌
ogdavidbaszucki
ogdavidbaszuckiFirst script
9 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Its a part that will fling you, if you touch it. Use this to test out your anti-fling or whatever. It will spawn next to you.

View Raw
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local root = character:WaitForChild("HumanoidRootPart")

local testPart = Instance.new("Part")
testPart.Name = "FlingTester"
testPart.Size = Vector3.new(5, 1, 5)
testPart.Color = Color3.fromRGB(255, 0, 0)
testPart.Material = Enum.Material.Neon
testPart.Parent = workspace
testPart.CanCollide = true
testPart.Anchored = false

testPart.CFrame = root.CFrame * CFrame.new(0, 0, -5)

local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = Vector3.new(0, 0, 0) -- Keep it in place
bodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
bodyVelocity.Parent = testPart

local bodyAngularVelocity = Instance.new("BodyAngularVelocity")

bodyAngularVelocity.AngularVelocity = Vector3.new(0, 99999, 0) 
bodyAngularVelocity.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
bodyAngularVelocity.P = 1250
bodyAngularVelocity.Parent = testPart

print("Fling Part Spawned! Touch it to test your Anti-Fling.")

task.wait(20)
testPart:Destroy()


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Script hub
164
719
10 hours ago
Key System
Script hub
74
76
Approved 3 hours ago
Script hub
40
38
Approved 3 hours ago
Universal Script 📌
56
43
Approved 3 hours ago
Script hub
30
36
Approved 4 hours ago
Key System

Script hub

mobile support