View difference between Paste ID: f8eUGbqE and e4VxH7U7
SHOW: | | - or go back to the newest paste.
1
wait(3)
2
--random script
3
--by masonsteinmet
4
5
6
7
-- V.1
8
9
10
if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
11
do
12
    script.Parent = owner.Character
13
    local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
14
    local function NewFakeEvent()
15
        local Bind = Instance.new("BindableEvent")
16
        local Fake;Fake = {Connections = {},
17
        fakeEvent=true;
18
        Connect=function(self,Func)
19
            Bind.Event:connect(Func)
20
            self.Connections[Bind] = true
21
            return setmetatable({Connected = true},{
22
            __index = function (self,Index)
23
                if Index:lower() == "disconnect" then
24
                    return function() Fake.Connections[Bind] = false;self.Connected = false end
25
                end
26
                return Fake[Index]
27
            end;
28
            __tostring = function() return "Connection" end;
29
        })
30
        end}
31
        Fake.connect = Fake.Connect;return Fake;
32
    end
33
    local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
34
    local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
35
    local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
36
        self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
37
    end};ContextActionService.UnBindAction = ContextActionService.BindAction
38
    local function TriggerEvent(self,Event,...)
39
        local Trigger = Mouse[Event]
40
        if Trigger and Trigger.fakeEvent and Trigger.Connections then
41
            for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
42
        end
43
    end
44
    Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
45
    Event.OnServerEvent:Connect(function(FiredBy,Input)
46
        if FiredBy.Name ~= owner.Name then return end
47
        if Input.MouseEvent then
48
            Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
49
        else
50
            local Begin = Input.UserInputState == Enum.UserInputState.Begin
51
            if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
52
            for _,Action in pairs(ContextActionService.Actions) do
53
                for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
54
            end
55
            Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
56
            UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
57
        end
58
    end)
59
    InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
60
    Event.Parent = NLS([[
61
        local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
62
        local Input = function(Input,gameProcessedEvent)
63
            if gameProcessedEvent then return end
64
            Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
65
        end
66
        UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
67
        local Hit,Target
68
        while wait(1/30) do
69
            if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
70
                Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
71
            end
72
        end
73
    ]],owner.Character)
74
end
75
RealGame = game;game = setmetatable({},{
76
    __index = function (self,Index)
77
        local Sandbox = function (Thing)
78
            if Thing:IsA("Player") then
79
                local RealPlayer = Thing
80
                return setmetatable({},{
81
                    __index = function (self,Index)
82
                        local Type = type(RealPlayer[Index])
83
                        if Type == "function" then
84
                            if Index:lower() == "getmouse" or Index:lower() == "mouse" then
85
                                return function (self)return InternalData["Mouse"] end
86
                            end
87
                            return function (self,...)return RealPlayer[Index](RealPlayer,...) end
88
                        end
89
                        return RealPlayer[Index]
90
                    end;
91
                    __tostring = function(self) return RealPlayer.Name end
92
                })
93
            end
94
        end
95
        if RealGame[Index] then
96
            local Type = type(RealGame[Index])
97
            if Type == "function" then
98
                if Index:lower() == "getservice" or Index:lower() == "service" then
99
                    return function (self,Service)
100
                        local FakeServices = {
101
                            ["players"] = function()
102
                                return setmetatable({},{
103
                                    __index = function (self2,Index2)
104
                                        local RealService = RealGame:GetService(Service)
105
                                        local Type2 = type(Index2)
106
                                        if Type2 == "function" then
107
                                            return function (self,...) return RealService[Index2](RealService,...)end
108
                                        else
109
                                            if Index2:lower() == "localplayer" then return Sandbox(owner) end
110
                                            return RealService[Index2]
111
                                        end
112
                                    end;
113
                                    __tostring = function(self) return RealGame:GetService(Service).Name end
114
                                })
115
                            end;
116
                            ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
117
                            ["userinputservice"] = function() return InternalData["UserInputService"] end;
118
                            ["runservice"] = function()
119
                                return setmetatable({},{
120
                                    __index = function(self2,Index2)
121
                                        local RealService = RealGame:GetService(Service)
122
                                        local Type2 = type(Index2)
123
                                        if Type2 == "function" then
124
                                            return function (self,...) return RealService[Index2](RealService,...) end
125
                                        else
126
                                            local RunServices = {
127
                                                ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
128
                                                ["renderstepped"] = function() return RealService["Stepped"] end
129
                                            }
130
                                            if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
131
                                            return RealService[Index2]
132
                                        end
133
                                    end
134
                                })
135
                            end
136
                        }
137
                        if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
138
                        return RealGame:GetService(Service)
139
                    end
140
                end
141
                return function (self,...) return RealGame[Index](RealGame,...) end
142
            else
143
                if game:GetService(Index) then return game:GetService(Index) end
144
                return RealGame[Index]
145
            end
146
        end
147
        return nil
148
    end
149
});Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
150
151
152
153
154
local UIS = game:GetService("UserInputService")
155-
local player = game.Players.masonsteinmet
155+
local player = game.Players.TameDoNotClick
156
local RightArm = player.Character["Right Arm"]
157
local LeftArm = player.Character["Left Arm"]
158
local LeftLeg = player.Character["Left Leg"]
159
local RightLeg = player.Character["Right Leg"]
160
161
function tag()
162
		local cool = Instance.new("BillboardGui")
163
	cool.Parent = player.Character.Head
164
	cool.Size = UDim2.new(3, 0,3, 0)
165
	cool.Name = "cool"
166
	cool.MaxDistance = 150
167
	cool.StudsOffset = Vector3.new(0,4,0)
168
	local text = Instance.new("TextLabel")
169
	text.Parent = player.Character.Head.cool
170-
	text.Text = "SCRIPT MADE BY MASONSTEINMET (W.I.P lol)"
170+
	text.Text = "something"
171
	text.Font = "Cartoon"
172
	text.TextStrokeTransparency = 0
173
	text.TextStrokeColor3 = Color3.new(255, 255, 255)
174
	text.Size = UDim2.new(1,0,1,0)
175
	text.BackgroundTransparency = 1
176
	text.TextScaled = true
177
	player.Character.Humanoid.BreakJointsOnDeath = false
178
	player.Character.Humanoid.DisplayDistanceType = "None"
179
end
180
181
function headMesh()
182
	player.Character.Head.Mesh.MeshType = "Brick"
183
	player.Character.Head.Mesh.Scale = Vector3.new(0.7, 1.25, 1.25)
184
	player.Character.Head.Mesh.Offset = Vector3.new(0, 0.125, 0)
185
	player.Character.Head.Material = Enum.Material.SmoothPlastic
186
	player.Character.Head.face.Texture = "rbxassetid://3528788"
187
	local face = Instance.new("Decal")
188
	face.Name = "eye"
189
	face.Parent = player.Character.Head
190
	face.Texture = "rbxassetid://257915800"
191
	while wait() do
192
	player.Character.Head.face.Texture = "rbxassetid://3528788"
193
			wait(7)
194
			player.Character.Head.face.Texture = "rbxassetid://211187842"
195
			wait(0.5)
196
			end
197
end
198
199
function flatbody()
200
	local a = Instance.new("BlockMesh")
201
	a.Parent = LeftArm
202
	LeftArm.Material = Enum.Material.SmoothPlastic
203
		local b = Instance.new("BlockMesh")
204
	b.Parent = RightArm
205
	RightArm.Material = Enum.Material.SmoothPlastic
206
		local c = Instance.new("BlockMesh")
207
	c.Parent = LeftLeg
208
	LeftLeg.Material = Enum.Material.SmoothPlastic
209
		local d = Instance.new("BlockMesh")
210
	d.Parent = RightLeg
211
	RightLeg.Material = Enum.Material.SmoothPlastic
212
		local e = Instance.new("BlockMesh")
213
	e.Parent = player.Character.Torso
214
	e.Scale = Vector3.new(1,0.97,1)
215
	player.Character.Torso.Material = Enum.Material.SmoothPlastic
216
end
217
218
219
220
function hat()
221
local m = Instance.new("Part")
222
m.Name = "Hat"
223
m.Parent = player.Character.Head
224
m.Position = player.Character.Head.Position
225
m.Orientation = Vector3.new(0,180,0)
226
m.BrickColor = BrickColor.new("Electric blue")
227
local weld = Instance.new("Weld")
228
	weld.Parent = player.Character.Torso
229
	weld.Part0 = player.Character.Head
230
	weld.Part1 = player.Character.Head.Hat
231
	weld.C0 = CFrame.new(0, 0.8, -0.2) *CFrame.Angles(0, math.rad(180), 0)
232
local mesh = Instance.new("FileMesh")
233
mesh.Parent = player.Character.Head.Hat
234
mesh.MeshId = "rbxassetid://3669929055"
235
mesh.Scale = Vector3.new(1.04,1.04,1.04)
236
end
237
238
239
function value()
240
 local v = Instance.new("BoolValue")
241
v.Parent = player.Character
242
v.Name = "Bomb"
243
v.Value = true
244
end
245
function explosion()
246
	local a = Instance.new("Part")
247
	a.Parent = workspace
248
	a.Name = "explode"
249
	a.Position = player.Character.Torso.Position
250
	a.Transparency = 1
251
	a.Anchored = true
252
	local b = Instance.new("ParticleEmitter")
253
	b.Parent = workspace.explode
254
	b.Enabled = true
255
	b.Texture = "rbxassetid://1946917526"
256
	b.Color = ColorSequence.new(Color3.fromRGB(255,140,0))
257
	b.Lifetime = NumberRange.new(3)
258
	b.Rate = 35
259
	b.RotSpeed = NumberRange.new(30)
260
	b.Speed = NumberRange.new(5, 5)
261
	b.SpreadAngle = Vector2.new(100,100)
262
	b.Size = NumberSequence.new(7)
263
	b.LightEmission = 0.55
264
	b.Transparency = NumberSequence.new(0.7)
265
	local sound = Instance.new("Sound")
266
	sound.Parent = workspace.explode
267
	sound.SoundId = "rbxassetid://2648563122"
268
	sound.Volume = 0.5
269
	sound.PlaybackSpeed = 1.5
270
	sound:Play()
271
	wait(4)
272
	a:Destroy()
273
end
274
275
function grenadeexplode()
276
		local t = Instance.new("Part")
277
	t.Parent = workspace
278
	t.Name = "explode"
279
	t.Position = workspace.Grenade.Position
280
	t.Transparency = 1
281
	t.Anchored = true
282
	local y = Instance.new("ParticleEmitter")
283
	y.Parent = workspace.explode
284
	y.Enabled = true
285
	y.Texture = "rbxassetid://1946917526"
286
	y.Color = ColorSequence.new(Color3.fromRGB(255,140,0))
287
	y.Lifetime = NumberRange.new(3)
288
	y.Rate = 35
289
	y.RotSpeed = NumberRange.new(30)
290
	y.Speed = NumberRange.new(5, 5)
291
	y.SpreadAngle = Vector2.new(100,100)
292
	y.Size = NumberSequence.new(7)
293
	y.LightEmission = 0.55
294
	y.Transparency = NumberSequence.new(0.7)
295
	local sound = Instance.new("Sound")
296
	sound.Parent = workspace.explode
297
	sound.SoundId = "rbxassetid://2648563122"
298
	sound.Volume = 0.5
299
	sound.PlaybackSpeed = 1.5
300
	sound:Play()
301
	delay(8,function()
302
	t:Destroy()
303
	end)
304
end
305
306
local UIS = game:GetService("UserInputService")
307
308
UIS.InputBegan:connect(function(input)
309
	if input.KeyCode == Enum.KeyCode.B then
310
		print("Hello world!")
311
	repeat
312
		wait(2)
313
		local a = Instance.new("Part")
314
		a.Parent = workspace
315
		a.Position = player.Character.Head.Position + (player.Character.Head.CFrame.lookVector * 4)
316
		a.Name = "Grenade"
317
		a.Size = Vector3.new(1.27, 1, 1.38)
318
		a.Transparency = 0
319
		local b = Instance.new("BodyForce")
320
		b.Parent = a
321
		b.Force = player.Character.Head.CFrame.lookVector * 80 + Vector3.new(0,225,0)
322
		a.CanCollide = true
323
		wait(.4)
324
		b:Destroy()
325
		wait(0.8)
326
		a.Transparency = 1
327
		a.Anchored = true
328
			local t = Instance.new("Part")
329
	t.Parent = workspace
330
	t.Name = "explode"
331
	t.Position = a.Position
332
	t.Transparency = 1
333
	t.Anchored = true
334
	local y = Instance.new("ParticleEmitter")
335
	y.Parent = workspace.explode
336
	y.Enabled = true
337
	y.Texture = "rbxassetid://1946917526"
338
	y.Color = ColorSequence.new(Color3.fromRGB(255,140,0))
339
	y.Lifetime = NumberRange.new(3)
340
	y.Rate = 35
341
	y.RotSpeed = NumberRange.new(30)
342
	y.Speed = NumberRange.new(8, 8)
343
	y.SpreadAngle = Vector2.new(100,100)
344
	y.Size = NumberSequence.new(7)
345
	y.LightEmission = 0.55
346
	y.Transparency = NumberSequence.new(0.7)
347
	local sound = Instance.new("Sound")
348
	sound.Parent = player.Character.Torso
349
	sound.SoundId = "rbxassetid://2648563122"
350
	sound.Volume = 0.5
351
	sound.PlaybackSpeed = 1.5
352
	sound:Play()
353
	delay(1,function()
354
	t:Destroy()
355
	a:Destroy()
356
	end)
357
	until player.Character.Bomb.Value == false
358
end
359
end)
360
361
value()
362
hat()
363
tag()
364
flatbody()
365
headMesh()