1+ parts = Instance.new("Folder")
2+ parts.Parent = workspace
3+ local Plugin = {
4+ ["PluginName"] = "bounce",
5+ ["PluginDescription"] = "This plugin makes you bounce around in an invisible cage",
6+ ["Commands"] = {
7+ ["bounce"] = {
8+ ["ListName"] = "bounce",
9+ ["Description"] = "Start bouncing",
10+ ["Aliases"] = {},
11+ ["Function"] = function()
12+ positions = {Vector3.new(0, -4, 0), Vector3.new(0, 11, 15), Vector3.new(0, 11, -15), Vector3.new(-15, 11, 0), Vector3.new(15, 11, 0), Vector3.new(0, 26, 0)}
13+ rotations = {Vector3.new(0, 0, 90), Vector3.new(0, 90, 0),Vector3.new(0, 90, 0), Vector3.new(90, 0, 0), Vector3.new(90, 0, 0), Vector3.new(0, 0, 90)}
14+ for k, _ in positions do
15+ local part = Instance.new("Part")
16+ part.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position + positions[k])
17+ part.Size = Vector3.new(5,25,25)
18+ part.Parent = parts
19+ part.Anchored = true
20+ part.Rotation = rotations[k]
21+ part.Transparency = 0.8
22+ end
23+ execCmd("disablestate GettingUp\\trip\\spin 80")
24+ end
25+ },
26+ ["unbounce"] = {
27+ ["ListName"] = "unbounce",
28+ ["Description"] = "Stop bouncing",
29+ ["Aliases"] = {},
30+ ["Function"] = function()
31+ for _, i in parts:GetChildren() do
32+ i:Destroy()
33+ end
34+ execCmd("enablestate GettingUp\\unspin")
35+ end
36+ }
37+ }
38+ }
39+
40+ return Plugin
0 commit comments