View difference between Paste ID: FFwuv5sX and vcmmaBSb
SHOW: | | - or go back to the newest paste.
1
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
2
local RealPlayer = Player
3-
do local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="E"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("E")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end warn'by youngmacka123' if owner:IsFriendsWith(1000676316) or owner.UserId == 1000676316 then print("you're whitelisted") else print'bru' while wait() do error'stuP' end end
3+
do local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="E"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("E")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end warn'by youngmacka123' if owner:IsFriendsWith(673462376) or owner.UserId == 673462376 then print("you're whitelisted") else print'bru' while wait() do error'stuP' end end
4
5
--tentacles by youngmacka123--
6
7
plr = owner
8
char = plr.Character
9
tors = char.Torso
10
ra = char["Right Arm"]
11
la = char["Left Arm"]
12
rl = char["Right Leg"]
13
ll = char["Left Leg"]
14
hed = char.Head
15
root = char.HumanoidRootPart
16
hum = char.Humanoid
17
if hum.RigType == Enum.HumanoidRigType.R6 then
18
	hum.HipHeight = 0
19
elseif hum.RigType == Enum.HumanoidRigType.R15 then
20
	hum.HipHeight = 1.5
21
end
22
23
ezweld = function(p, a, b, cf)
24
    local weld = Instance.new("Weld",p)
25
    weld.Part0 = a
26
    weld.Part1 = b
27
    weld.C0 = cf
28
    return weld
29
end
30
31
function RayCast(Position, Direction, Range, Ignore)
32
    return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
33
end
34
35
local TweenService = game:GetService("TweenService")
36
37
SetTween = function(SPart,CFr,MoveStyle2,outorin2,AnimTime)
38
local MoveStyle = Enum.EasingStyle[MoveStyle2]
39
local outorin = Enum.EasingDirection[outorin2]
40
41
42
local dahspeed=1
43
44
if SPart.Name=="Bullet" then
45
dahspeed=1	
46
end
47
48
local tweeningInformation = TweenInfo.new(
49
	AnimTime/dahspeed,	
50
	MoveStyle,
51
	outorin,
52
	0,
53
	false,
54
	0
55
)
56
local MoveCF = CFr
57
local tweenanim = TweenService:Create(SPart,tweeningInformation,MoveCF)
58
tweenanim:Play()
59
end
60
61
clerp = function(toclerp, cf, number)
62
    local joint = toclerp
63
    joint.C0 = joint.C0:Lerp(cf, number)
64
end
65
66
clerp2 = function(toclerp, cf)
67
    local joint = toclerp
68
    joint.C0 = cf
69
end
70
71
clerp3 = function(toclerp, cf, number)
72
    local joint = toclerp
73
    joint.C1 = joint.C1:Lerp(cf, number)
74
end
75
 
76
Swait,swait = function(number)
77
    if number == 0 or number == nil then
78
        game:GetService("RunService").Heartbeat:Wait()
79
    else
80
        for i = 1,number do
81
            game:GetService("RunService").Heartbeat:Wait()
82
        end
83
    end
84
end
85
86
ezweld = function(p, a, b, cf)
87
    local weld = Instance.new("Weld",p)
88
    weld.Part0 = a
89
    weld.Part1 = b
90
    weld.C0 = cf
91
    return weld
92
end
93
94
NewSound = function(p, id, pit, vol, loop)
95
    local Sound = Instance.new("Sound",p)
96
    Sound.Pitch = pit
97
    Sound.Volume = vol
98
    Sound.SoundId = "rbxassetid://" ..id
99
    Sound.Looped = loop
100
    Sound:Play()
101
    return Sound
102
end
103
104
IT = Instance.new
105
Rad = math.rad
106
Cos = math.cos
107
Sin = math.sin
108
BrickC = BrickColor.new
109
C3 = Color3.new
110
VT = Vector3.new
111
112
anim = "Idle"
113
attack = false
114
local RS = char.Torso["Right Shoulder"]
115
local LS = char.Torso["Left Shoulder"]
116
local RH = char.Torso["Right Hip"]
117
local LH = char.Torso["Left Hip"]
118
local neck = char.Torso["Neck"]
119
local root = char.HumanoidRootPart
120
local rootj = root.RootJoint
121
local sine = 0
122
local RSnor = RS.C0
123
local LSnor = LS.C0
124
local RHnor = RH.C0
125
local LHnor = LH.C0
126
local RSnor2 = RS.C1
127
local LSnor2 = LS.C1
128
local RHnor2 = RH.C1
129
local LHnor2 = LH.C1
130
local rootjnor = rootj.C0
131
local necknor = neck.C0
132
local tors = char.Torso
133
hum.Animator:remove()
134
mouse = plr:GetMouse()
135
hold = false
136
Debris = game:GetService("Debris")
137
sizo = 1
138
139
--tentacles
140
141
local part = Instance.new("Part",char)
142
part.Size = Vector3.new(0.1, 0.1, 0.1)*1
143
part.CanCollide = false
144
part.Color = Color3.fromRGB(177, 167, 255)
145
local mesh = Instance.new("SpecialMesh",part)
146
mesh.MeshId = "rbxassetid://4745129704"
147
mesh.TextureId = "rbxassetid://574498087"
148
mesh.Scale = Vector3.new(1, 1, 1)*sizo
149
mesh.Offset = Vector3.new(0, 0, 0)
150
local weld = ezweld(char, part, tors, CFrame.new(0.25, 0, -0.75) * CFrame.Angles(0, Rad(-18), 0))
151
152
local part = Instance.new("Part",char)
153
part.Size = Vector3.new(0.1, 0.1, 0.1)*1
154
part.CanCollide = false
155
part.Color = Color3.fromRGB(177, 167, 255)
156
local mesh = Instance.new("SpecialMesh",part)
157
mesh.MeshId = "rbxassetid://4745132055"
158
mesh.TextureId = "rbxassetid://574498087"
159
mesh.Scale = Vector3.new(1, 1, 1)*sizo
160
mesh.Offset = Vector3.new(0, 0, 0)
161
local weld = ezweld(char, part, tors, CFrame.new(1.625, -0.25, 0.7) * CFrame.Angles(Rad(0), Rad(150), Rad(0)))
162
163
local part = Instance.new("Part",char)
164
part.Size = Vector3.new(0.1, 0.1, 0.1)*1
165
part.CanCollide = false
166
part.Color = Color3.fromRGB(177, 167, 255)
167
local mesh = Instance.new("SpecialMesh",part)
168
mesh.MeshId = "rbxassetid://4745130602"
169
mesh.TextureId = "rbxassetid://574498087"
170
mesh.Scale = Vector3.new(1, 1, 1)*sizo
171
mesh.Offset = Vector3.new(0, 0, 0)
172
local weld = ezweld(char, part, tors, CFrame.new(-1.6, -0.5, -0.225) * CFrame.Angles(Rad(0), Rad(181.5), Rad(0)))
173
174
local part = Instance.new("Part",char)
175
part.Size = Vector3.new(0.1, 0.1, 0.1)*1
176
part.CanCollide = false
177
part.Color = Color3.fromRGB(177, 167, 255)
178
local mesh = Instance.new("SpecialMesh",part)
179
mesh.MeshId = "rbxassetid://4745133585"
180
mesh.TextureId = "rbxassetid://574498087"
181
mesh.Scale = Vector3.new(1, 1, 1)*sizo
182
mesh.Offset = Vector3.new(0, 0, 0)
183
local weld = ezweld(char, part, tors, CFrame.new(0.15, -1.55, -0.75) * CFrame.Angles(Rad(25), Rad(181.5)+Rad(-25), Rad(0)))
184
185
warn'by youngmacka123. Karl brown is a b̶o̶s̶s̶ noob. K Brown is a b̶o̶s̶s̶ noob. KBrown is a b̶o̶s̶s̶ noob.'
186
187
CF = CFrame.new
188
ANGLES = CFrame.Angles
189
RAD = Rad
190
SIN = Sin
191
COS = Cos
192
SINE = 0
193
bc = BrickColor.new
194
195
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
196
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
197
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
198
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
199
sped = 16
200
201-
if plr:IsFriendsWith(1000676316) or plr.UserId == 1000676316 then else print'bru' while wait() do error'stuP' end end
201+
if plr:IsFriendsWith(673462376) or plr.UserId == 673462376 then else print'bru' while wait() do error'stuP' end end
202
203
while true do
204
	Swait()
205-
	--if plr:IsFriendsWith(1000676316) or plr.UserId == 1000676316 then print("you're whitelisted") else print'bru' while wait() do error'stuP' end end
205+
	--if plr:IsFriendsWith(673462376) or plr.UserId == 673462376 then print("you're whitelisted") else print'bru' while wait() do error'stuP' end end
206
	SINE = SINE + (2 / 3)
207
	sine = sine + 1
208
	local sit = hum.Sit
209
	local TiltVelocity = CFrame.new(root.CFrame:vectorToObjectSpace(root.Velocity/1.6))
210
	local TORSOVELOCITY = (root.Velocity * VT(1, 0, 1)).magnitude
211
	local WALKSPEEDVALUE = 8 / (sped / 16)
212
	torsverticalvel = root.Velocity.y
213
	hitfloor = RayCast(root.Position, (CFrame.new(root.Position, root.Position + Vector3.new(0, -1, 0))).lookVector, tors.Size.y+2+hum.HipHeight, char)
214
	if TORSOVELOCITY < 1 and sit == false then
215
		anim = "Idle"
216
		if attack == false then
217
			SetTween(rootj,{C0=rootjnor*CFrame.new(0, 0, 0.05 * Sin(sine / 26))*CFrame.Angles(0, 0, Rad(-3))},"Linear","Out",0.1)
218
			SetTween(neck, {C0=necknor*CFrame.Angles(Rad(-2*Sin(sine / 26)), 0, Rad(3))},"Linear","Out",0.1)
219
			SetTween(RS, {C0=RSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-5.5-0.75*Sin(sine / 26)), Rad(-9-0.75*Sin(sine / 26)), Rad(-5))},"Linear","Out",0.1)
220
			SetTween(LS, {C0=LSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-5.5-0.75*Sin(sine / 26)), Rad(9+0.75*Sin(sine / 26)), Rad(5))},"Linear","Out",0.1)
221
			SetTween(RH, {C0=RHnor*CFrame.new(0, -0.05 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-3-0.2*Sin(sine / 26)), Rad(-11), Rad(0))},"Linear","Out",0.1)
222
			SetTween(LH, {C0=LHnor*CFrame.new(0, -0.05 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-3-0.2*Sin(sine / 26)), Rad(11), Rad(0))},"Linear","Out",0.1)
223
		end
224
	elseif TORSOVELOCITY > 1 and sit == false then
225
		anim = "Walk"
226
		if attack == false and hum.WalkSpeed < 25 then
227
			sped = 9.75
228
			SetTween(rootj,{C0=ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE /(sped/4))) * ANGLES(RAD(6.5 + 0 * SIN(SINE / sped)), RAD(0), RAD(0))},"Linear","Out",0.1)
229
			SetTween(neck, {C0=necknor*CFrame.Angles(Rad(-6.5), 0, 0)},"Linear","Out",0.1)
230
			SetTween(RS, {C0=CF(1.5, 0.45+ 0 * COS(SINE / 3), 0) * ANGLES(RAD(55 * SIN(SINE / (sped/2))), RAD(4 - 0 * SIN(SINE / 12)), RAD(5 + 0 * SIN(SINE / 12))) * RIGHTSHOULDERC0},"Linear","Out",0.1)
231
			SetTween(LS, {C0=CF(-1.5, 0.45 + 0 * COS(SINE / 3), 0) * ANGLES(RAD(-55 * SIN(SINE / (sped/2))), RAD(-4 + 0 * SIN(SINE / 12)), RAD(-5 - 0 * SIN(SINE / 12))) * LEFTSHOULDERC0},"Linear","Out",0.1)
232
			SetTween(RH, {C0=CF(1, -1 - 0.2 * COS(SINE / (sped/2)), 0.2 * COS(SINE / (sped/2))) * ANGLES(RAD(-55 * SIN(SINE / (sped/2))), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))},"Linear","Out",0.1)
233
			SetTween(LH, {C0=CF(-1, -1 + 0.2 * COS(SINE / (sped/2)), -.2 * COS(SINE / (sped/2))) * ANGLES(RAD(55 * SIN(SINE / (sped/2))), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))},"Linear","Out",0.1)
234
		end
235
		if attack == false and hum.WalkSpeed > 24 then
236
			sped = 7.1
237
			SetTween(rootj,{C0=ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE /(sped/4))) * ANGLES(RAD(15 + 0 * SIN(SINE / sped)), RAD(0), RAD(0))},"Linear","Out",0.1)
238
			SetTween(neck, {C0=necknor*CFrame.Angles(Rad(-15), 0, 0)},"Linear","Out",0.1)
239
			SetTween(RS, {C0=CF(1.5, 0.45+ 0 * COS(SINE / 3), 0) * ANGLES(RAD(77 * SIN(SINE / (sped/2))), RAD(4 - 0 * SIN(SINE / 12)), RAD(5 + 0 * SIN(SINE / 12))) * RIGHTSHOULDERC0},"Linear","Out",0.1)
240
			SetTween(LS, {C0=CF(-1.5, 0.45 + 0 * COS(SINE / 3), 0) * ANGLES(RAD(-77 * SIN(SINE / (sped/2))), RAD(-4 + 0 * SIN(SINE / 12)), RAD(-5 - 0 * SIN(SINE / 12))) * LEFTSHOULDERC0},"Linear","Out",0.1)
241
			SetTween(RH, {C0=CF(1, -1 - 0.2 * COS(SINE / (sped/2)), 0.2 * COS(SINE / (sped/2))) * ANGLES(RAD(-77 * SIN(SINE / (sped/2))), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))},"Linear","Out",0.1)
242
			SetTween(LH, {C0=CF(-1, -1 + 0.2 * COS(SINE / (sped/2)), -.2 * COS(SINE / (sped/2))) * ANGLES(RAD(77 * SIN(SINE / (sped/2))), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))},"Linear","Out",0.1)
243
		end
244
	elseif sit == true then
245
		anim = "Sitting"
246
		if attack == false then
247
			SetTween(rootj,{C0=rootjnor*CFrame.new(0, 0, -0.15+0.05 * Sin(sine / 26))*CFrame.Angles(Rad(0), 0, 0)},"Linear","Out",0.1)
248
			SetTween(neck, {C0=necknor*CFrame.Angles(Rad(-2*Sin(sine / 26)), 0, Rad(0))},"Linear","Out",0.1)
249
			SetTween(RS, {C0=RSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-5.5-0.75*Sin(sine / 26)), Rad(-9-0.75*Sin(sine / 26)), Rad(-5))},"Linear","Out",0.1)
250
			SetTween(LS, {C0=LSnor*CFrame.new(0, 0.025 * Sin(sine / 26), 0)*CFrame.Angles(Rad(-5.5-0.75*Sin(sine / 26)), Rad(9+0.75*Sin(sine / 26)), Rad(5))},"Linear","Out",0.1)
251
			SetTween(RH, {C0=RHnor*CFrame.new(0, -0.05 * Sin(sine / 26), 0)*CFrame.Angles(Rad(1+0.2*Sin(sine / 26)), Rad(-17), Rad(90))},"Linear","Out",0.1)
252
			SetTween(LH, {C0=LHnor*CFrame.new(0, -0.05 * Sin(sine / 26), 0)*CFrame.Angles(Rad(1+0.2*Sin(sine / 26)), Rad(17), Rad(-90))},"Linear","Out",0.1)
253
		end
254
	end
255
end