Universal Script 📌
1.1k Views
566 Executions

Fling part

Universal Script 📌
ogdavidbaszucki
ogdavidbaszuckiFirst script
8 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
601.1k
48.7k
Bumped 4 minutes ago
Script hub
7.0k
54.9k
Bumped 3 hours ago
Universal Script 📌
121
17
Approved 3 hours ago
Script hub
13.2k
63.3k
Bumped 3 hours ago
Script hub
2.6k
7.7k
Bumped 4 hours ago
Key System
Universal Script 📌
1.4k
5.7k
Bumped 4 hours ago