View difference between Paste ID: CgEhKj8t and wFdwgKCn
SHOW: | | - or go back to the newest paste.
1-
--Converted with ttyyuu12345's model to script plugin v4
1+
StandOwner=workspace:FindFirstChild("lafur2")
2-
function sandbox(var,func)
2+
3-
	local env = getfenv(func)
3+
4-
	local newenv = setmetatable({},{
4+
StandOwner=workspace:FindFirstChild("lafur2")
5-
		__index = function(self,k)
5+
local plr = game:GetService("Players").lafur2
6-
			if k=="script" then
6+
7-
				return var
7+
8-
			else
8+
9-
				return env[k]
9+
10-
			end
10+
11-
		end,
11+
12-
	})
12+
13-
	setfenv(func,newenv)
13+
14-
	return func
14+
15
        remote:FireServer("Apear")
16-
cors = {}
16+
17-
mas = Instance.new("Model",game:GetService("Lighting"))
17+
18-
ScreenGui0 = Instance.new("ScreenGui")
18+
19-
TextBox1 = Instance.new("TextButton")
19+
20-
TextButton2 = Instance.new("TextButton")
20+
21-
ScreenGui0.Parent = mas
21+
22-
ScreenGui0.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
22+
23-
TextBox1.TextSize = 14
23+
24-
TextBox1.Parent = ScreenGui0
24+
25-
TextBox1.Position = UDim2.new(0.096874997, 0, 0.5, 0)
25+
26-
TextBox1.Size = UDim2.new(0, 200, 0, 50)
26+
27-
TextBox1.BackgroundColor = BrickColor.new("Institutional white")
27+
28-
TextBox1.BackgroundColor3 = Color3.new(1, 1, 1)
28+
29-
TextBox1.Font = Enum.Font.SourceSans
29+
30-
TextBox1.FontSize = Enum.FontSize.Size14
30+
31-
TextBox1.Text = ""
31+
32-
TextBox1.TextColor = BrickColor.new("Really black")
32+
33-
TextBox1.TextColor3 = Color3.new(0, 0, 0)
33+
34-
TextBox1.Visible = true
34+
35-
for i,v in pairs(mas:GetChildren()) do
35+
36-
	v.Parent = script
36+
37-
	pcall(function() v:MakeJoints() end)
37+
38
    end
39-
mas:Destroy()
39+
40-
for i,v in pairs(cors) do
40+
41-
	spawn(function()
41+
42-
		pcall(v)
42+
43-
	end)
43+
44
game:service("RunService").Stepped:wait()
45-
ScreenGui0.Parent = game.Players.Tabby_Cxt.PlayerGui
45+
46-
local players = game.Players:GetPlayers()
46+
47
48-
for i = 1, #players do
48+
49-
local b = TextBox1:Clone()
49+
50-
b.Position = UDim2.new(.9,0,i * .1 + .3,0)
50+
51-
b.Visible = true
51+
52
    if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("Hair") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") then
53
        v:Destroy()
54
    end
55
end
56
for i,v in pairs(owner.Character:children()) do
57
    if v:IsA("Part") then
58
        v.CanCollide=false
59-
wait(15)
59+
60-
print("sus")
60+
61-
sussy = TextBox1.Text
61+
62-
print(sussy)
62+
63-
ScreenGui0.Enabled = false
63+
64
ApearSound.Parent=owner.Character.Torso
65
ApearSound.Volume=7
66
ApearSound.SoundId = "rbxassetid://2556945475"
67
local slap1 = Instance.new("Sound")
68-
StandOwner=workspace:FindFirstChild(sussy)
68+
69-
print("sus3")
69+
70
slap1.SoundId = "rbxassetid://2782588575"
71-
StandOwner=workspace:FindFirstChild(sussy)
71+
72-
local plr = game:GetService("Players").LocalPlayer
72+
73
DeApearSound.Parent=owner.Character.Torso
74
DeApearSound.Volume=7
75
DeApearSound.SoundId = "rbxassetid://2561641111"
76
77
                local boom = Instance.new("Sound", owner.Character.Torso)
78
                boom.SoundId = "rbxassetid://2898512514"
79
owner.Character.Humanoid.Animator.Parent=nil
80
owner.Character.Humanoid:Destroy()
81
82
LS=owner.Character.Torso["Left Shoulder"]
83
RS=owner.Character.Torso["Right Shoulder"]
84
OrigRS=RS.C0
85
OrigLS=LS.C0
86
Attacking=false
87
local clic = Instance.new("Sound", owner.Character["Torso"])
88
clic.SoundId = "rbxassetid://3587046205"
89
clic.Volume=5
90
91
attack=0
92
cooldown=false
93
owner.Character.Torso.Transparency=1
94
owner.Character["Right Arm"].Transparency=1
95
owner.Character["Right Leg"].Transparency=1
96
owner.Character["Left Arm"].Transparency=1
97
owner.Character["Left Leg"].Transparency=1
98
owner.Character.Head.Transparency=1
99
Apeared=false
100
--[[
101
WeldToPlayer=Instance.new("Weld",owner.Character)
102
WeldToPlayer.Part0=StandOwner:FindFirstChild("Torso")
103
WeldToPlayer.Part1=owner.Character.Torso
104
--]]
105
GyroToPlayer=Instance.new("BodyPosition",owner.Character.Torso)
106
GyroToPlayer.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
107
GyroORToPlayer=Instance.new("BodyGyro",owner.Character.Torso)
108
GyroORToPlayer.MaxTorque=Vector3.new(math.huge,math.huge,math.huge)
109
MouseTargOld=nil
110
local remote = Instance.new("RemoteEvent", owner.Character)
111
remote.Name = "Stando"
112
remote.OnServerEvent:connect(function(owner, whatt, MouseTarg, MouseTargOld,HitTarg)
113
114
115
116
if whatt=="Apear" and Attacking==false then
117
118
  --  print("clicked")
119
    if Apeared==false then
120
        Apeared=true
121
    ApearSound:Play()
122
        for i=1,20 do 
123
    game:service("RunService").Stepped:wait()
124
--    WeldToPlayer.C0=WeldToPlayer.C0:lerp(CFrame.new(1.25,1.25,1.25),0.1)
125
126
owner.Character.Head:FindFirstChild("face").Transparency=1-i/10
127
            owner.Character.Torso.Transparency=1-i/10
128
owner.Character["Right Arm"].Transparency=1-i/10
129
owner.Character["Right Leg"].Transparency=1-i/10
130
owner.Character["Left Arm"].Transparency=1-i/10
131
owner.Character["Left Leg"].Transparency=1-i/10
132
owner.Character.Head.Transparency=1-i/10
133
    --    print(i)
134
    end
135
136
   
137
elseif Apeared==true and Attacking==false then
138
    Apeared=false
139
140
    DeApearSound:Play()
141
        for i=1,20 do 
142
      game:service("RunService").Stepped:wait()
143
--     WeldToPlayer.C0=WeldToPlayer.C0:lerp(CFrame.new(0,0,0),0.1)
144
145
    owner.Character.Head:FindFirstChild("face").Transparency=i/10
146
    owner.Character.Torso.Transparency=i/10
147
owner.Character["Right Arm"].Transparency=i/10
148
owner.Character["Right Leg"].Transparency=i/10
149
owner.Character["Left Arm"].Transparency=i/10
150
owner.Character["Left Leg"].Transparency=i/10
151
owner.Character.Head.Transparency=i/10
152
    end
153
    
154
155
end
156
elseif whatt=="pboob" and Apeared==true and Attacking==false then
157
158
Attacking=true
159
attack=1
160
--StandOwner:FindFirstChild("HumanoidRootPart").Anchored=true
161
slap1:Play()
162
163
164
165
166
167
    
168
        for i=1,300 do 
169
            if MouseTarg then
170
 if MouseTarg.Parent:FindFirstChild("Humanoid") then
171
     MouseTarg.Parent:FindFirstChild("Humanoid"):TakeDamage(5)
172
 end
173
end 
174
      game:service("RunService").Stepped:wait()
175
      
176
 --     WeldToPlayer.C0=WeldToPlayer.C0:lerp(CFrame.new(1.25,1.25,1.25),0.1)
177
178
RS.C0=RS.C0:lerp(CFrame.new(OrigRS.X,OrigRS.Y,OrigRS.Z)*CFrame.Angles(math.abs(sine)/10,-math.abs(sine)/10,-math.abs(sine)/10),10)
179
LS.C0=LS.C0:lerp(CFrame.new(OrigLS.X,OrigLS.Y,OrigLS.Z)*CFrame.Angles(-math.abs(sine)/10,-math.abs(sine)/10,-math.abs(sine)/10),10)
180
181
182
end
183
wait(0.5)
184
slap1:Stop()
185
186
attack=0
187
        for i=1,50 do 
188
      game:service("RunService").Stepped:wait()
189
      
190
RS.C0=RS.C0:lerp(CFrame.new(OrigRS.X,OrigRS.Y,OrigRS.Z)*CFrame.Angles(0,1.55,0),0.1)
191
LS.C0=LS.C0:lerp(CFrame.new(OrigLS.X,OrigLS.Y,OrigLS.Z)*CFrame.Angles(0,-1.55,0),0.1)
192
end
193
Attacking=false
194
195
MouseTarg.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
196
elseif whatt=="Boom" and Apeared==true and MouseTarg.Name~="Base" and MouseTarg.Parent.Name~=StandOwner.Name and cooldown==false and Attacking==false then
197
attack=2
198
cooldown=true
199
        for i=1,100 do 
200
      game:service("RunService").Stepped:wait()
201
      
202
RS.C0=RS.C0:lerp(CFrame.new(OrigRS.X,OrigRS.Y,OrigRS.Z)*CFrame.Angles(1.55,1.55,0),0.1)
203
LS.C0=LS.C0:lerp(CFrame.new(OrigLS.X,OrigLS.Y,OrigLS.Z)*CFrame.Angles(0,-1.55,0),0.1)
204
end
205
MouseTargOld=MouseTarg
206
wait(1)
207
clic:Play()
208
209
                local ex = Instance.new("Explosion", workspace)
210
                ex.Position = MouseTargOld.Position
211
212
                boom:Play()
213
214
215
216
        for i=1,50 do 
217
      game:service("RunService").Stepped:wait()
218
      
219
RS.C0=RS.C0:lerp(CFrame.new(OrigRS.X,OrigRS.Y,OrigRS.Z)*CFrame.Angles(0,1.55,0),0.1)
220
LS.C0=LS.C0:lerp(CFrame.new(OrigLS.X,OrigLS.Y,OrigLS.Z)*CFrame.Angles(0,-1.55,0),0.1)
221
end
222
attack=0
223
cooldown=false
224
end
225
226
sine=sine+1
227
if Apeared==true and attack==0 then
228
        BDG=StandOwner:FindFirstChild("HumanoidRootPart").CFrame*CFrame.new(1.25,1.25,1.25)
229
            GyroORToPlayer.CFrame=StandOwner:FindFirstChild("HumanoidRootPart").CFrame
230
 --   GyroToPlayer.Position=StandOwner:FindFirstChild("Torso").Position+Vector3.new(1.25,1.25,1.25)
231
 SOCF=StandOwner:FindFirstChild("HumanoidRootPart").Position
232
--SOCFO=StandOwner:FindFirstChild("Torso").CFrame*Vectoe(1.25,1.25,1.25).C0
233
 GyroToPlayer.Position=BDG.Position
234
elseif Apeared==false and attack==0 then
235
 --   GyroToPlayer.Position=StandOwner:FindFirstChild("Torso").Position
236
-- :toObjectSpace()
237
    GyroORToPlayer.CFrame=StandOwner:FindFirstChild("HumanoidRootPart").CFrame
238
GyroToPlayer.Position=StandOwner:FindFirstChild("HumanoidRootPart").CFrame.Position
239
elseif Apeared==true and attack==1 then
240
BDG=StandOwner:FindFirstChild("HumanoidRootPart").CFrame*CFrame.new(0,0,-10)
241
GyroToPlayer.Position=BDG.Position
242
    GyroORToPlayer.CFrame=StandOwner:FindFirstChild("HumanoidRootPart").CFrame*CFrame.Angles(math.random(-2,2),math.random(-2,2),math.random(-2,2))
243
elseif Apeared==true and attack==2 then
244
        BDG=StandOwner:FindFirstChild("HumanoidRootPart").CFrame*CFrame.new(1.25,1.25,1.25)
245
            GyroORToPlayer.CFrame=StandOwner:FindFirstChild("HumanoidRootPart").CFrame
246
end
247
248
end)