View difference between Paste ID: etFvJQTD and 84qbrBbU
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Your fucking script is assholic use h/ dumbass") end
2
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3
local RealPlayer = Player
4
do print("Execute the c00l Kidd stuff")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"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("UserInput_Event")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
5
-- input
6
function GetRecursiveChildren(Part, Children)
7
       for _, Part in pairs(Part:GetChildren()) do
8
               pcall(function()
9
                       table.insert(Children, Part)
10
                       GetRecursiveChildren(Part, Children)
11
               end)
12
       end
13
       return Children
14
end
15
16
17
18
19
Textures = {
20
       "http://www.roblox.com/Asset/?id=59515602",
21
       "http://www.roblox.com/Asset/?id=48308661",
22
       "http://www.roblox.com/Asset/?id=42198984",
23
       "http://www.roblox.com/Asset/?id=59421095",
24
       "http://www.roblox.com/Asset/?id=59454680",
25
       "http://www.roblox.com/Asset/?id=59784967",
26
       "http://www.roblox.com/Asset/?id=45791014",
27
       "http://www.roblox.com/Asset/?id=58492970",
28
       "http://www.roblox.com/Asset/?id=59278856"
29
}
30
31
32
Instance.new("Sky", game:GetService("Lighting")).CelestialBodiesShown = false
33
Instance.new("Message", Workspace)
34
Instance.new("Hint", Workspace)
35
36
37
while true do
38
       for _, Part in pairs(GetRecursiveChildren(game, {})) do
39
               pcall(function()
40
                       if not Part:IsA("Player")then
41
                               pcall(function() Part.Name = Phrases[math.random(1, #Phrases)] end)
42
                               pcall(function() Part.Text = Phrases[math.random(1, #Phrases)] end)
43
                               pcall(function() Part.Image = Textures[math.random(1, #Textures)] end)
44
                               pcall(function() Part.TextureId = Textures[math.random(1, #Textures)] end)
45
                               pcall(function() Part.Texture = Textures[math.random(1, #Textures)] end)
46
                               pcall(function() Part.ShirtTemplate = Textures[math.random(1, #Textures)] end)
47
                               pcall(function() Part.PantsTemplate = Textures[math.random(1, #Textures)] end)
48
                               pcall(function() Part.Graphic = Textures[math.random(1, #Textures)] end)
49
                               pcall(function() Part.Color = Color3.new(math.random(), math.random(), math.random()) end)
50
                               pcall(function() Part.Color3 = Color3.new(math.random(), math.random(), math.random()) end)
51
                               pcall(function()
52
                                       Part.SkyboxUp = Textures[math.random(1, #Textures)]
53
                                       Part.SkyboxDn = Textures[math.random(1, #Textures)]
54
                                       Part.SkyboxLf = Textures[math.random(1, #Textures)]
55
                                       Part.SkyboxRt = Textures[math.random(1, #Textures)]
56
                                       Part.SkyboxFt = Textures[math.random(1, #Textures)]
57
                                       Part.SkyboxBk = Textures[math.random(1, #Textures)]
58
                               end)
59
                               pcall(function()
60
                                       Part.TextColor3 = Color3.new(math.random(), math.random(), math.random())
61
                                       Part.BackgroundColor3 = Color3.new(math.random(), math.random(), math.random())
62
                                       Part.BorderColor3 = Color3.new(math.random(), math.random(), math.random())
63
                               end)
64
                               pcall(function()
65
                                       Part.Pitch = math.random() * 5
66
                                       Part.Volume = 1
67
                                       Part.Looped = true
68
                                       Part:Play()
69
                               end)
70
                               pcall(function()
71
                                       if math.random(1, 5) == 1 then Part.Anchored = false end
72
                                       if Part.Anchored == false then
73
                                               Part.Velocity = Vector3.new(math.random(-10, 10), math.random(0, 50), math.random(-10, 10))
74
                                               Part.RotVelocity = Vector3.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
75
                                       end
76
                                       Part.Locked = false
77
                                       Part.BrickColor = BrickColor.random()
78
                                       Part.TopSurface = "Weld"
79
                                       Part.BottomSurface = "Weld"
80
                                       Part.FrontSurface = "Weld"
81
                                       Part.BackSurface = "Weld"
82
                                       Part.LeftSurface = "Weld"
83
                                       Part.RightSurface = "Weld"
84
                                       Part:BreakJoints()
85
                               end)
86
                       end
87
               end)
88
               if math.random(1, 50) == 1 then wait() end
89
       end
90
end
91
s.Parent = game.workspace