View difference between Paste ID: hH6tx44B and VDnj8RT1
SHOW: | | - or go back to the newest paste.
1
local UserName  = game:GetService('Players').LocalPlayer.Name
2
local Autoride = true
3
4
local Animations = {Shoot = 95383980}
5-
local Icon, Mesh, Texture = 4641765823, 485923096, 4597675617
5+
local Icon, Mesh, Texture = 4854467798, 485923096, 4597675617
6
local Name, ToolTip = "BOOMER", "Ak-44"
7
8
local CE = {}
9
local Variables = {
10
	workspace = game:GetService("Workspace"),
11
	players = game:GetService("Players")
12
}
13
14
local MainUserP, MainUserW = Variables.players.LocalPlayer, Variables.workspace:FindFirstChild(UserName)
15
16
function CE:FireEvent(ItemName, Object, Property, Value)
17
	MainUserW:FindFirstChild(ItemName)["ServerControl"]:InvokeServer("SetProperty",{["Value"]=Value,["Property"]=Property,["Object"]=Object})
18
end
19
20
Variables.workspace.Buy:FireServer(0, "PompousTheCloud")
21
MainUserP["Backpack"]:WaitForChild("PompousTheCloud").Parent = MainUserW
22
23
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"TextureId","rbxassetid://"..Icon)
24
25
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"MeshId","rbxassetid://"..Mesh)
26
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"TextureId","rbxassetid://"..Texture)
27
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Scale",Vector3.new(.1,.1,.1))
28
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Orientation",Vector3.new(0, 0, 0))
29
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Mesh"],"Position",Vector3.new(17, 7.5, 8.999))
30
31
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripForward",Vector3.new(-0.545, -0.089, -0.834))
32
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripPos",Vector3.new(0.2, -0.2, 0.2))
33
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripRight",Vector3.new(1, -0.026, 0))
34
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"GripUp",Vector3.new(-0.027, 5.996, -2))
35
36
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Smoke"],"Enabled",true)
37
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Smoke"],"Color",Color3.new(255,0,0))
38
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Smoke"],"Opacity","5")
39
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Smoke"],"Size","5")
40
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["Handle"]["Smoke"],"RiseVelocity","7")
41
42
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"ToolTip",ToolTip)
43
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"CanBeDropped",true)
44
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"]["LocalScript"],"Disabled",true)
45
CE:FireEvent("PompousTheCloud",MainUserW["PompousTheCloud"],"Name",Name)
46
wait()
47
48
local Luger = MainUserW["BOOMER"]
49
50
MainUserP:GetMouse().Button1Down:Connect(function()
51
	if MainUserW:FindFirstChild("BOOMER") then
52
		if MainUserP:GetMouse().Target.Parent:FindFirstChild("HumanoidRootPart") or MainUserP:GetMouse().Target.Parent.Parent:FindFirstChild("HumanoidRootPart") then
53
			CE:FireEvent("BOOMER",BOOMER,"GripRight",Vector3.new(0.838, -0.026, -0.545))
54
			local Animation = Instance.new("Animation")
55
			Animation.AnimationId = "rbxassetid://95383980"
56
			local AnimationLoader = MainUserP.Character.Humanoid:LoadAnimation(Animation)
57
			AnimationLoader:Play()
58
			AnimationLoader:AdjustSpeed(1)
59
			wait()
60
			Variables.workspace.GuiEvent:FireServer(".")
61
			wait(0.5)
62
			CE:FireEvent("BOOMER",MainUserW["."]:WaitForChild("Head"),"Parent",MainUserP:GetMouse().Target.Parent)
63
			CE:FireEvent("BOOMER",BOOMER,"GripRight",Vector3.new(1, -0.026, 0))
64
		end
65
	end
66
end)